From 5559a7b5639e700c1ed34e75352821799835ab3d Mon Sep 17 00:00:00 2001 From: Colin Dellow Date: Sun, 11 Mar 2018 15:04:38 -0400 Subject: [PATCH] Fix when last rowgroup is not same size as first ...change test data to use 99 rows, so that when we have rowgroup size 10 we exercise this code. --- parquet-generator/100-rows-1.parquet | Bin 7724 -> 0 bytes parquet-generator/100-rows-10.parquet | Bin 27230 -> 0 bytes parquet-generator/100-rows-nulls.parquet | Bin 23692 -> 0 bytes parquet-generator/99-rows-1.parquet | Bin 0 -> 7676 bytes parquet-generator/99-rows-10.parquet | Bin 0 -> 27152 bytes parquet-generator/99-rows-nulls.parquet | Bin 0 -> 23654 bytes parquet-generator/create-pg-db | 2 +- parquet-generator/no-nulls.csv | 199 +++++++++-------- parquet-generator/nulls.csv | 99 +++++---- parquet-generator/parquets.py | 22 +- parquet/parquet_cursor.cc | 2 +- tests/queries/001-table-scan-1-rowgroup.sql | 201 +++++++++--------- tests/queries/002-table-scan-10-rowgroups.sql | 201 +++++++++--------- .../003-cross-join-count-1-rowgroup.sql | 2 +- tests/queries/004-cross-join-10-rowgroups.sql | 2 +- tests/queries/008-nulls.sql | 2 +- tests/queries/009-rowid-group-by.sql | 2 +- tests/queries/010-order-by-string7.sql | 1 - tests/queries/011-order-by-string8.sql | 1 - tests/queries/012-string-7-is-null.sql | 1 - tests/queries/016-nulls-like-percent-end.sql | 1 - tests/queries/032-int64-lt.sql | 4 +- tests/queries/033-int64-lte.sql | 4 +- tests/queries/036-double-eq.sql | 4 +- tests/queries/037-double-gt.sql | 4 +- tests/queries/038-double-gte.sql | 6 +- tests/queries/039-double-lt.sql | 4 +- tests/queries/040-double-lte.sql | 4 +- .../queries/041-double-rowid-and-field-ne.sql | 2 +- .../042-double-rowid-and-field-ne2.sql | 4 +- tests/queries/047-binary-gt.sql | 4 +- tests/queries/048-binary-gte.sql | 4 +- tests/test-queries | 6 +- 33 files changed, 390 insertions(+), 398 deletions(-) delete mode 100644 parquet-generator/100-rows-1.parquet delete mode 100644 parquet-generator/100-rows-10.parquet delete mode 100644 parquet-generator/100-rows-nulls.parquet create mode 100644 parquet-generator/99-rows-1.parquet create mode 100644 parquet-generator/99-rows-10.parquet create mode 100644 parquet-generator/99-rows-nulls.parquet diff --git a/parquet-generator/100-rows-1.parquet b/parquet-generator/100-rows-1.parquet deleted file mode 100644 index 152ae7f251575f8819ab2a53e2ef013adffff3b6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7724 zcmchc3sh5AzQ*@SPC^0+0&+rt08v6rC`y135~ZFazMzVN;Ik?Zp@S{O2eh@ewW-=E z?RYJ>LoMTIOI_A-D`UCd-j;gN#wk@w9mHqRGFGis>T3`|5J@uM2?)4`&Um{z?8Wa- z_W#>C+2`zU@AFETG$)E7jE;$jVCpD*5;J0zlA@FpQ4kd0nL@-mikds9h_v}ChWLjO zvAL^8~B1bDxkcj&m(785*4KOrQE@nOw&*XoE_93K1*#0IJ4J8T~ zKqMFk#)1g&2nYvypaWxo7K8x}2nD0TD4+%*AQ%Jz6$k_Yz#k}qAK>?h0lr`)KtG5# z@B$-%Cy)af@Br>W3M9Y{h=B;ufIln(KmoouQ5?VydcZx<4eo+2&O;DYA0#Es%fsrrZN3ApbA#)mOc~LGZTDLr*lwQ(Y&W=r zxEnA0+Jdguz4y3)+1s8_eLj05?d&n=nQ53@@tBFWgkV@-IT58kCb)aCW>40 z5=Be}l9%+71t8m(I<)ZKOQICjG0&gA0@U!V~KTRFyRvTWfD_of2-5_!UZR1IqoE# ze|FkF`5&is^-d>ec-u*CzUs8?e%5JS{u?JZW`UFZnCP_ausE%m;Z80%&`Fv-oVGvo zIIQz;I5_5|9Hwo$T6fw=LUjw~l(*&V9eaPPS*- zZHrRvR%L>nI~{E&rJ;6Ps;_-W+wp^>q26s?5 zsD?p-?QAmUs<3}f%~ zT0cUuSEk*e$Mo6~qC)rj=F8xY>W0X|)0l4OeVDp|OWG=&@8y)_|I)(b?l|4o1j)#L zZ~%M(Y~UdH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Clson`;LHND08JiX=f{NfkD`%lUn`eN6(^9(FV=b2bN z&NH;soA=Q2Yo4jK(7dM>C-ZdI5%cs{`|`Bci_t2UXo~Z>O zyr))V@N^eX@bs5B@U#~p@U)f@#BcaCRtoUUeAed~`UcN4^ue6>&_`^ZsV~aBr@ry> zbU(-P^go*Nv_EU|v_4FV*NK5^ADKS)(Z^=ZAAbKMj|}?Kthw`MKm5?3k`ZMiN{3IL VIHqRu_&cVs7W`L-HTZwX{{u-IHxB>+ diff --git a/parquet-generator/99-rows-1.parquet b/parquet-generator/99-rows-1.parquet new file mode 100644 index 0000000000000000000000000000000000000000..073af6a7b6bc5183b682d1175accb30a5f2cac49 GIT binary patch literal 7676 zcmchc3tSUdzQ@mmNti%_fJ_JwFiMC4K?8)4RO*aq6%`Z|t5qwAQqfYM)LOUoPJ8K= z-Ev*G<#wsITh?X0?v-o3^s#K$+St03Dz&VyqGc^UsuUj^5qU|H{Y}ElyX;=KpDyQ< z@1M;7cQTwg=XcJ$GN;auX9;UyV`JG`3g2X`OrxeKHAPeeB`Dnsv6iA14k=Q7p@t

BVs`i7!A-4 z5&-kDm;sB{>QFfbQm3?KO8@$5=A(uC({Yr}SjucoTc9yJ4 z{q5q3<)u%2`rXzk6*~*2$GkCjU)kC}uKoS;gXM)Y_Mcl<^X9tGu6J*@RcuI$4gFbN z<)+UIA9}lCU(xLUS@KR})t2Kow|(4vP#h_u-{+%YB_T<)+h1$e6wpbIzYKI?_{)G1)WZe^fCd$?LkehwC5nJQsDd@p zz!lg-02)vOn`8q!tWpXL;3zDU3wmLja$o`tuumaiKqYL%gCk2>vYGC1PV26!MfdL$aopV7i zEL{#vpaIq{1PrKz#d$ESfJeYuth|FM+tbJDT$Jxpx1aYQJNAbhI0JYw2>WOoTay6EDqCtalT6PNA1 zcU{7!N*8bZPZzoMlFPP#i%VFu+QpAw>>}T$xomr^E+IF@#Ycp>NRzM2_C~K$Saj3L zvlpD?)Cs3;=f_TA?m;K7_?43!`?=Hh@{3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.parquet b/parquet-generator/99-rows-10.parquet new file mode 100644 index 0000000000000000000000000000000000000000..35826ddc56c46f87729acff5cbda3bf212341644 GIT binary patch literal 27152 zcmcJY4SW>E`NwBBci|EOgqS-H2oOjZ59Hqi>Q(z8;WJ?jTO%`qu_{0=D>p76c z_H@S1o=t{Geezg1wIng-dMy*jGGK1laM&=| zP}mUI6|ljuK`>}YwWpI9iz3ECXF4sECre5kp-8e=6Ei0-F2`YB5|d&Vd*)bVarZs6 zD1SzVEN-9RI4JOSqJufM2r14so?MzeDmFxJ$z_bC!+a1w4c6G5u~jfPY;PiCb72;k zUM`*Kv{0Uz+~d}u+)j|2kvk((qt|PN-ZBgHYF)WBdj@*Fbr(fx)Au5qS1bAkeI$Cn zeNU9$+$6HQ-VlAMWuo`6SCn3RMAYl0Go2R7Gt*mTYpXXab4Hd%?~zW>TZh}mqIKoc z>?wNJ3ijnf;D#s~!WLb%zB6*zTWjZ9ZMGxUp;lXhi>8~yrTfnK)7Wj-=P<5SC>=yq$LzR%5JtJEVYK!PtEAor+ z2&y_R1&;hWwJu!-M@f&xUMJWW1!7#nSQo+ew@CxL#M>C#(I0YQ=Q0uPy)oQ5bXB^)Qxt=;Go;> zj_brSV41KiST-yNmK)b8KTr8czVb&eF~;pKaAIRBbFEV^GhdcjB07!>d}j~H-0mQm zsxMXQQuRg|J%lb1qo!IAVubj7QMBN{W00))YY_w?jah{>OKhx=X6w|claS`NAyH-= zCEdlf%7+7BGN8b!-Wuhz?|W$0g2!hR$jX_FwJxRIh3#H*AC)=HYYaE}> z1Tn^9jqPO9OAzA16u+`hioL79e&hVbXDE8`nj&U9KR&+NAL_7B1#R>$6oRK)yNKd?dT z$)(w&Vnf)wwi{z3U^QJCTLeplRd!*l5Oxghl^2!*)61nZofgV7lY2NVDA$0!jRT;! zWB~MPUAZ)S271}l*`lwinwW9Q5w#X(76n$MCqIYksC@nuPu)-69&-%Hb*Gp$Q zEtF@bcPDSFH-x=41EKdsI`nE?xiouUR_DEgN1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zAe=&bZQo0!8q$G zp=V{!9Y1#kvuG?U#-p*;7mvmQT)ZO|yy8(=WQupl%1%6j1($e)s~_=@ z+4DVl6eeNvXv~b{(V4EuJ7{(wkJgMl-ceKEc%-w@c;r*Vc;xf4c!U$G93}qdJAye= zJUSDZc$8)r@hDCC;T<%~hDU2=3-72IBs|hd9X#?G7CiFl4Lrhm367=ydp?4x2Ru6S z0eF-K>GLR!oaY@hQk_R@bU5#*Vc0y*ZU6uP literal 0 HcmV?d00001 diff --git a/parquet-generator/99-rows-nulls.parquet b/parquet-generator/99-rows-nulls.parquet new file mode 100644 index 0000000000000000000000000000000000000000..92c365e8dab4a8dccaac8ccf8f0fa63d0ab48c84 GIT binary patch literal 23654 zcmcJX4SW>E-N$Dyo8%G^W12k|4HyfI2L{aRtnAr z^`Sf|r8W-_MQT$@Q=XKjHno%oDUCFbrIhkeM5;(BQbZe(A|k{Xa?kI-b8|O$I~T)! zF85)Q?9S|Oe)Hek`OfanP(OJ_xy7sktEki}!XG(SPO)tmw!wT1A8)Y-KZ}f;4L+mT zV#7wWoMCp(yaygwIH%0=_=nsZIkj+`F+Wo=(nro$_1OeqOPa6K$Zm_@Oz~PV1Iu`Br-P z`k`pus&k72%pcRDdJ~mVCt8Hl7LK1b#tg&TaZ8<%>t!8N^SoxbF3(%g5v=?34#QxT zc?F}wWpz)Fx)%RR^9sxkf1cORICAMTvd+~o1O^`n+Fn^E)fwAUSZw7-8|1zFfiKTn zIDbw+p0X7le&BpGYD)o~GL0rqnQJe0pn-Q=v*j79C@`?E%*bZtNEJwxNL5JHM)t%2 zW!BJ-ApNLyHO8p5jj~kscU#5Q5NZFR#fui)f6ts6$NpZ!x7*;|MX(<(qI2Ttpaz(0 zG_21{cT?;v>?|uQ%gbfuNEJwxNL5JHNP)cEV2vme6u;aSv&zb9ZTv`Sv)Ojr3_3QK zczj0;zU2bg+~gyhF|C-@Cu3ifDWw!5MqRaGWEuHEkH^H{S@>k*w`my0NS1AkG;?x{ zk>1?g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Xk=8aG6tLf<;a&F*e;6Yh3;-I$W_GsQ}x z&~4;o_Uze2p*x}!y7Nw=&^&zH-6id{joWl#+W(PiOrcPr506VQ&%5CxGS=MVgvpF5 z3141oh>Vjtok6Wy1{L}q^gY76d#Tc0y-qY75vtKMY)3V- za~`_u-ud^}D8bPXS~FzbtU#JXB6qmS=#dN>?nMoT!0ow1#RZLu~O z8~NCXudBt5A+#elbq4h(?xOFf+!c!?b_}&Vmd93>Kw>i7OUAJE!#1Do{~?fxh5bAe ztL=FvmcaADSaQxYvdo(g%Gzq4#*$~A=K5ov=IURb&az$K;X+>#!}obWD|83G=#~$B z9W5XD(pWz5)vkPi3t0JCtV!i(vCNd8#mZ5B7K=go*{tvMZOIj9_pFz2W@5c1&&1+L zo{5!=d@xoQ@{BC?JT^P^6 zA}*eZ6<0hH%cJ;UELq|iSwF-FWl;}LYyAyRbCnEFZygIi`;{oMFLd)<%>x+mpHk@; zoA3;*4B?qr#=$eO=7JB#ItZSTMG1URmJ0B+X7%$l=ic-5X2PgAkD7knVRa%2W$2*Pj{j)Pk%ZuPkX{GPixAouPgdRPh(ar&&(87 zo}u}sJVTR1`5;Z$pnBTsksAy0pfAWwT1A5Uu@UTmn6##B3=nR#(MLzCEe zhGv}cL7D}|Gc_fP57sOxp6-Mup8m8Wp7z8bp4QZ!SP!4Z>>Zw&sWv=A^I~|0Cb95A znpna!HOqq!*0c+r?hFZ@{yYYr_Dlnw)?5MKvFMN{jp+b9Gw<#*^|qa7=+!tMq_@^Q zQ?HQuV7=Vs>Ar{M>Ay1NX}{FuX}y^AZ5Zk+Wd2V+ICs&PzC3^NxVs*Fu;k(Siym6= g!2KoV<15EkjGH-qa{bJyH_l?6_zw*0@js0JKM7oNx&QzG literal 0 HcmV?d00001 diff --git a/parquet-generator/create-pg-db b/parquet-generator/create-pg-db index 05e23df..be5059e 100755 --- a/parquet-generator/create-pg-db +++ b/parquet-generator/create-pg-db @@ -46,7 +46,7 @@ CREATE OR REPLACE FUNCTION datetime(INT8, TEXT) RETURNS TEXT AS \$\$ CREATE OR REPLACE FUNCTION printf(TEXT, DOUBLE PRECISION) RETURNS TEXT AS \$\$ BEGIN - RETURN CAST(\$2 AS DECIMAL(10, 4))::TEXT; + RETURN CAST(\$2 AS DECIMAL(10, 2))::TEXT; END; \$\$ LANGUAGE 'plpgsql' IMMUTABLE; EOF diff --git a/parquet-generator/no-nulls.csv b/parquet-generator/no-nulls.csv index a68c680..9b1be2c 100644 --- a/parquet-generator/no-nulls.csv +++ b/parquet-generator/no-nulls.csv @@ -1,100 +1,99 @@ -0 1 50 5000 50000000 50000000000 490665600000 100.0 0 000 X'00' X'00' -1 0 49 4900 49000000 49000000000 490752000000 50.0 1 001 X'0101' X'01' -2 1 48 4800 48000000 48000000000 490838400000 33.333333333333336 2 002 X'020202' X'02' -3 0 47 4700 47000000 47000000000 490924800000 25.0 3 003 X'03030303' X'03' -4 1 46 4600 46000000 46000000000 491011200000 20.0 4 004 X'0404040404' X'04' -5 0 45 4500 45000000 45000000000 491097600000 16.666666666666668 5 005 X'05' X'05' -6 1 44 4400 44000000 44000000000 491184000000 14.285714285714286 6 006 X'0606' X'06' -7 0 43 4300 43000000 43000000000 491270400000 12.5 7 007 X'070707' X'07' -8 1 42 4200 42000000 42000000000 491356800000 11.11111111111111 8 008 X'08080808' X'08' -9 0 41 4100 41000000 41000000000 491443200000 10.0 9 009 X'0909090909' X'09' -10 1 40 4000 40000000 40000000000 491529600000 9.090909090909092 10 010 X'0A' X'0A' -11 0 39 3900 39000000 39000000000 491616000000 8.333333333333334 11 011 X'0B0B' X'0B' -12 1 38 3800 38000000 38000000000 491702400000 7.6923076923076925 12 012 X'0C0C0C' X'0C' -13 0 37 3700 37000000 37000000000 491788800000 7.142857142857143 13 013 X'0D0D0D0D' X'0D' -14 1 36 3600 36000000 36000000000 491875200000 6.666666666666667 14 014 X'0E0E0E0E0E' X'0E' -15 0 35 3500 35000000 35000000000 491961600000 6.25 15 015 X'0F' X'0F' -16 1 34 3400 34000000 34000000000 492048000000 5.882352941176471 16 016 X'1010' X'10' -17 0 33 3300 33000000 33000000000 492134400000 5.555555555555555 17 017 X'111111' X'11' -18 1 32 3200 32000000 32000000000 492220800000 5.2631578947368425 18 018 X'12121212' X'12' -19 0 31 3100 31000000 31000000000 492307200000 5.0 19 019 X'1313131313' X'13' -20 1 30 3000 30000000 30000000000 492393600000 4.761904761904762 20 020 X'14' X'14' -21 0 29 2900 29000000 29000000000 492480000000 4.545454545454546 21 021 X'1515' X'15' -22 1 28 2800 28000000 28000000000 492566400000 4.3478260869565215 22 022 X'161616' X'16' -23 0 27 2700 27000000 27000000000 492652800000 4.166666666666667 23 023 X'17171717' X'17' -24 1 26 2600 26000000 26000000000 492739200000 4.0 24 024 X'1818181818' X'18' -25 0 25 2500 25000000 25000000000 492825600000 3.8461538461538463 25 025 X'19' X'19' -26 1 24 2400 24000000 24000000000 492912000000 3.7037037037037037 26 026 X'1A1A' X'1A' -27 0 23 2300 23000000 23000000000 492998400000 3.5714285714285716 27 027 X'1B1B1B' X'1B' -28 1 22 2200 22000000 22000000000 493084800000 3.4482758620689653 28 028 X'1C1C1C1C' X'1C' -29 0 21 2100 21000000 21000000000 493171200000 3.3333333333333335 29 029 X'1D1D1D1D1D' X'1D' -30 1 20 2000 20000000 20000000000 493257600000 3.225806451612903 30 030 X'1E' X'1E' -31 0 19 1900 19000000 19000000000 493344000000 3.125 31 031 X'1F1F' X'1F' -32 1 18 1800 18000000 18000000000 493430400000 3.0303030303030303 32 032 X'202020' X'20' -33 0 17 1700 17000000 17000000000 493516800000 2.9411764705882355 33 033 X'21212121' X'21' -34 1 16 1600 16000000 16000000000 493603200000 2.857142857142857 34 034 X'2222222222' X'22' -35 0 15 1500 15000000 15000000000 493689600000 2.7777777777777777 35 035 X'23' X'23' -36 1 14 1400 14000000 14000000000 493776000000 2.7027027027027026 36 036 X'2424' X'24' -37 0 13 1300 13000000 13000000000 493862400000 2.6315789473684212 37 037 X'252525' X'25' -38 1 12 1200 12000000 12000000000 493948800000 2.5641025641025643 38 038 X'26262626' X'26' -39 0 11 1100 11000000 11000000000 494035200000 2.5 39 039 X'2727272727' X'27' -40 1 10 1000 10000000 10000000000 494121600000 2.4390243902439024 40 040 X'28' X'28' -41 0 9 900 9000000 9000000000 494208000000 2.380952380952381 41 041 X'2929' X'29' -42 1 8 800 8000000 8000000000 494294400000 2.3255813953488373 42 042 X'2A2A2A' X'2A' -43 0 7 700 7000000 7000000000 494380800000 2.272727272727273 43 043 X'2B2B2B2B' X'2B' -44 1 6 600 6000000 6000000000 494467200000 2.2222222222222223 44 044 X'2C2C2C2C2C' X'2C' -45 0 5 500 5000000 5000000000 494553600000 2.1739130434782608 45 045 X'2D' X'2D' -46 1 4 400 4000000 4000000000 494640000000 2.127659574468085 46 046 X'2E2E' X'2E' -47 0 3 300 3000000 3000000000 494726400000 2.0833333333333335 47 047 X'2F2F2F' X'2F' -48 1 2 200 2000000 2000000000 494812800000 2.0408163265306123 48 048 X'30303030' X'30' -49 0 1 100 1000000 1000000000 494899200000 2.0 49 049 X'3131313131' X'31' -50 1 0 0 0 0 494985600000 1.9607843137254901 50 050 X'32' X'32' -51 0 -1 -100 -1000000 -1000000000 495072000000 1.9230769230769231 51 051 X'3333' X'33' -52 1 -2 -200 -2000000 -2000000000 495158400000 1.8867924528301887 52 052 X'343434' X'34' -53 0 -3 -300 -3000000 -3000000000 495244800000 1.8518518518518519 53 053 X'35353535' X'35' -54 1 -4 -400 -4000000 -4000000000 495331200000 1.8181818181818181 54 054 X'3636363636' X'36' -55 0 -5 -500 -5000000 -5000000000 495417600000 1.7857142857142858 55 055 X'37' X'37' -56 1 -6 -600 -6000000 -6000000000 495504000000 1.7543859649122806 56 056 X'3838' X'38' -57 0 -7 -700 -7000000 -7000000000 495590400000 1.7241379310344827 57 057 X'393939' X'39' -58 1 -8 -800 -8000000 -8000000000 495676800000 1.694915254237288 58 058 X'3A3A3A3A' X'3A' -59 0 -9 -900 -9000000 -9000000000 495763200000 1.6666666666666667 59 059 X'3B3B3B3B3B' X'3B' -60 1 -10 -1000 -10000000 -10000000000 495849600000 1.639344262295082 60 060 X'3C' X'3C' -61 0 -11 -1100 -11000000 -11000000000 495936000000 1.6129032258064515 61 061 X'3D3D' X'3D' -62 1 -12 -1200 -12000000 -12000000000 496022400000 1.5873015873015872 62 062 X'3E3E3E' X'3E' -63 0 -13 -1300 -13000000 -13000000000 496108800000 1.5625 63 063 X'3F3F3F3F' X'3F' -64 1 -14 -1400 -14000000 -14000000000 496195200000 1.5384615384615385 64 064 X'4040404040' X'40' -65 0 -15 -1500 -15000000 -15000000000 496281600000 1.5151515151515151 65 065 X'41' X'41' -66 1 -16 -1600 -16000000 -16000000000 496368000000 1.492537313432836 66 066 X'4242' X'42' -67 0 -17 -1700 -17000000 -17000000000 496454400000 1.4705882352941178 67 067 X'434343' X'43' -68 1 -18 -1800 -18000000 -18000000000 496540800000 1.4492753623188406 68 068 X'44444444' X'44' -69 0 -19 -1900 -19000000 -19000000000 496627200000 1.4285714285714286 69 069 X'4545454545' X'45' -70 1 -20 -2000 -20000000 -20000000000 496713600000 1.408450704225352 70 070 X'46' X'46' -71 0 -21 -2100 -21000000 -21000000000 496800000000 1.3888888888888888 71 071 X'4747' X'47' -72 1 -22 -2200 -22000000 -22000000000 496886400000 1.36986301369863 72 072 X'484848' X'48' -73 0 -23 -2300 -23000000 -23000000000 496972800000 1.3513513513513513 73 073 X'49494949' X'49' -74 1 -24 -2400 -24000000 -24000000000 497059200000 1.3333333333333333 74 074 X'4A4A4A4A4A' X'4A' -75 0 -25 -2500 -25000000 -25000000000 497145600000 1.3157894736842106 75 075 X'4B' X'4B' -76 1 -26 -2600 -26000000 -26000000000 497232000000 1.2987012987012987 76 076 X'4C4C' X'4C' -77 0 -27 -2700 -27000000 -27000000000 497318400000 1.2820512820512822 77 077 X'4D4D4D' X'4D' -78 1 -28 -2800 -28000000 -28000000000 497404800000 1.2658227848101267 78 078 X'4E4E4E4E' X'4E' -79 0 -29 -2900 -29000000 -29000000000 497491200000 1.25 79 079 X'4F4F4F4F4F' X'4F' -80 1 -30 -3000 -30000000 -30000000000 497577600000 1.2345679012345678 80 080 X'50' X'50' -81 0 -31 -3100 -31000000 -31000000000 497664000000 1.2195121951219512 81 081 X'5151' X'51' -82 1 -32 -3200 -32000000 -32000000000 497750400000 1.2048192771084338 82 082 X'525252' X'52' -83 0 -33 -3300 -33000000 -33000000000 497836800000 1.1904761904761905 83 083 X'53535353' X'53' -84 1 -34 -3400 -34000000 -34000000000 497923200000 1.1764705882352942 84 084 X'5454545454' X'54' -85 0 -35 -3500 -35000000 -35000000000 498009600000 1.1627906976744187 85 085 X'55' X'55' -86 1 -36 -3600 -36000000 -36000000000 498096000000 1.1494252873563218 86 086 X'5656' X'56' -87 0 -37 -3700 -37000000 -37000000000 498182400000 1.1363636363636365 87 087 X'575757' X'57' -88 1 -38 -3800 -38000000 -38000000000 498268800000 1.1235955056179776 88 088 X'58585858' X'58' -89 0 -39 -3900 -39000000 -39000000000 498355200000 1.1111111111111112 89 089 X'5959595959' X'59' -90 1 -40 -4000 -40000000 -40000000000 498441600000 1.098901098901099 90 090 X'5A' X'5A' -91 0 -41 -4100 -41000000 -41000000000 498528000000 1.0869565217391304 91 091 X'5B5B' X'5B' -92 1 -42 -4200 -42000000 -42000000000 498614400000 1.075268817204301 92 092 X'5C5C5C' X'5C' -93 0 -43 -4300 -43000000 -43000000000 498700800000 1.0638297872340425 93 093 X'5D5D5D5D' X'5D' -94 1 -44 -4400 -44000000 -44000000000 498787200000 1.0526315789473684 94 094 X'5E5E5E5E5E' X'5E' -95 0 -45 -4500 -45000000 -45000000000 498873600000 1.0416666666666667 95 095 X'5F' X'5F' -96 1 -46 -4600 -46000000 -46000000000 498960000000 1.0309278350515463 96 096 X'6060' X'60' -97 0 -47 -4700 -47000000 -47000000000 499046400000 1.0204081632653061 97 097 X'616161' X'61' -98 1 -48 -4800 -48000000 -48000000000 499132800000 1.0101010101010102 98 098 X'62626262' X'62' -99 0 -49 -4900 -49000000 -49000000000 499219200000 1 99 099 X'6363636363' X'63' +0 1 50 5000 50000000 50000000000 490665600000 99.0 0 000 X'00' X'00' +1 0 49 4900 49000000 49000000000 490752000000 49.5 1 001 X'0101' X'01' +2 1 48 4800 48000000 48000000000 490838400000 33.0 2 002 X'020202' X'02' +3 0 47 4700 47000000 47000000000 490924800000 24.75 3 003 X'03030303' X'03' +4 1 46 4600 46000000 46000000000 491011200000 19.8 4 004 X'0404040404' X'04' +5 0 45 4500 45000000 45000000000 491097600000 16.5 5 005 X'05' X'05' +6 1 44 4400 44000000 44000000000 491184000000 14.142857142857142 6 006 X'0606' X'06' +7 0 43 4300 43000000 43000000000 491270400000 12.375 7 007 X'070707' X'07' +8 1 42 4200 42000000 42000000000 491356800000 11.0 8 008 X'08080808' X'08' +9 0 41 4100 41000000 41000000000 491443200000 9.9 9 009 X'0909090909' X'09' +10 1 40 4000 40000000 40000000000 491529600000 9.0 10 010 X'0A' X'0A' +11 0 39 3900 39000000 39000000000 491616000000 8.25 11 011 X'0B0B' X'0B' +12 1 38 3800 38000000 38000000000 491702400000 7.615384615384615 12 012 X'0C0C0C' X'0C' +13 0 37 3700 37000000 37000000000 491788800000 7.071428571428571 13 013 X'0D0D0D0D' X'0D' +14 1 36 3600 36000000 36000000000 491875200000 6.6 14 014 X'0E0E0E0E0E' X'0E' +15 0 35 3500 35000000 35000000000 491961600000 6.1875 15 015 X'0F' X'0F' +16 1 34 3400 34000000 34000000000 492048000000 5.823529411764706 16 016 X'1010' X'10' +17 0 33 3300 33000000 33000000000 492134400000 5.5 17 017 X'111111' X'11' +18 1 32 3200 32000000 32000000000 492220800000 5.2105263157894735 18 018 X'12121212' X'12' +19 0 31 3100 31000000 31000000000 492307200000 4.95 19 019 X'1313131313' X'13' +20 1 30 3000 30000000 30000000000 492393600000 4.714285714285714 20 020 X'14' X'14' +21 0 29 2900 29000000 29000000000 492480000000 4.5 21 021 X'1515' X'15' +22 1 28 2800 28000000 28000000000 492566400000 4.304347826086956 22 022 X'161616' X'16' +23 0 27 2700 27000000 27000000000 492652800000 4.125 23 023 X'17171717' X'17' +24 1 26 2600 26000000 26000000000 492739200000 3.96 24 024 X'1818181818' X'18' +25 0 25 2500 25000000 25000000000 492825600000 3.8076923076923075 25 025 X'19' X'19' +26 1 24 2400 24000000 24000000000 492912000000 3.6666666666666665 26 026 X'1A1A' X'1A' +27 0 23 2300 23000000 23000000000 492998400000 3.5357142857142856 27 027 X'1B1B1B' X'1B' +28 1 22 2200 22000000 22000000000 493084800000 3.413793103448276 28 028 X'1C1C1C1C' X'1C' +29 0 21 2100 21000000 21000000000 493171200000 3.3 29 029 X'1D1D1D1D1D' X'1D' +30 1 20 2000 20000000 20000000000 493257600000 3.193548387096774 30 030 X'1E' X'1E' +31 0 19 1900 19000000 19000000000 493344000000 3.09375 31 031 X'1F1F' X'1F' +32 1 18 1800 18000000 18000000000 493430400000 3.0 32 032 X'202020' X'20' +33 0 17 1700 17000000 17000000000 493516800000 2.911764705882353 33 033 X'21212121' X'21' +34 1 16 1600 16000000 16000000000 493603200000 2.8285714285714287 34 034 X'2222222222' X'22' +35 0 15 1500 15000000 15000000000 493689600000 2.75 35 035 X'23' X'23' +36 1 14 1400 14000000 14000000000 493776000000 2.675675675675676 36 036 X'2424' X'24' +37 0 13 1300 13000000 13000000000 493862400000 2.6052631578947367 37 037 X'252525' X'25' +38 1 12 1200 12000000 12000000000 493948800000 2.5384615384615383 38 038 X'26262626' X'26' +39 0 11 1100 11000000 11000000000 494035200000 2.475 39 039 X'2727272727' X'27' +40 1 10 1000 10000000 10000000000 494121600000 2.4146341463414633 40 040 X'28' X'28' +41 0 9 900 9000000 9000000000 494208000000 2.357142857142857 41 041 X'2929' X'29' +42 1 8 800 8000000 8000000000 494294400000 2.302325581395349 42 042 X'2A2A2A' X'2A' +43 0 7 700 7000000 7000000000 494380800000 2.25 43 043 X'2B2B2B2B' X'2B' +44 1 6 600 6000000 6000000000 494467200000 2.2 44 044 X'2C2C2C2C2C' X'2C' +45 0 5 500 5000000 5000000000 494553600000 2.152173913043478 45 045 X'2D' X'2D' +46 1 4 400 4000000 4000000000 494640000000 2.106382978723404 46 046 X'2E2E' X'2E' +47 0 3 300 3000000 3000000000 494726400000 2.0625 47 047 X'2F2F2F' X'2F' +48 1 2 200 2000000 2000000000 494812800000 2.020408163265306 48 048 X'30303030' X'30' +49 0 1 100 1000000 1000000000 494899200000 1.98 49 049 X'3131313131' X'31' +50 1 0 0 0 0 494985600000 1.9411764705882353 50 050 X'32' X'32' +51 0 -1 -100 -1000000 -1000000000 495072000000 1.9038461538461537 51 051 X'3333' X'33' +52 1 -2 -200 -2000000 -2000000000 495158400000 1.8679245283018868 52 052 X'343434' X'34' +53 0 -3 -300 -3000000 -3000000000 495244800000 1.8333333333333333 53 053 X'35353535' X'35' +54 1 -4 -400 -4000000 -4000000000 495331200000 1.8 54 054 X'3636363636' X'36' +55 0 -5 -500 -5000000 -5000000000 495417600000 1.7678571428571428 55 055 X'37' X'37' +56 1 -6 -600 -6000000 -6000000000 495504000000 1.736842105263158 56 056 X'3838' X'38' +57 0 -7 -700 -7000000 -7000000000 495590400000 1.706896551724138 57 057 X'393939' X'39' +58 1 -8 -800 -8000000 -8000000000 495676800000 1.6779661016949152 58 058 X'3A3A3A3A' X'3A' +59 0 -9 -900 -9000000 -9000000000 495763200000 1.65 59 059 X'3B3B3B3B3B' X'3B' +60 1 -10 -1000 -10000000 -10000000000 495849600000 1.6229508196721312 60 060 X'3C' X'3C' +61 0 -11 -1100 -11000000 -11000000000 495936000000 1.596774193548387 61 061 X'3D3D' X'3D' +62 1 -12 -1200 -12000000 -12000000000 496022400000 1.5714285714285714 62 062 X'3E3E3E' X'3E' +63 0 -13 -1300 -13000000 -13000000000 496108800000 1.546875 63 063 X'3F3F3F3F' X'3F' +64 1 -14 -1400 -14000000 -14000000000 496195200000 1.523076923076923 64 064 X'4040404040' X'40' +65 0 -15 -1500 -15000000 -15000000000 496281600000 1.5 65 065 X'41' X'41' +66 1 -16 -1600 -16000000 -16000000000 496368000000 1.4776119402985075 66 066 X'4242' X'42' +67 0 -17 -1700 -17000000 -17000000000 496454400000 1.4558823529411764 67 067 X'434343' X'43' +68 1 -18 -1800 -18000000 -18000000000 496540800000 1.434782608695652 68 068 X'44444444' X'44' +69 0 -19 -1900 -19000000 -19000000000 496627200000 1.4142857142857144 69 069 X'4545454545' X'45' +70 1 -20 -2000 -20000000 -20000000000 496713600000 1.3943661971830985 70 070 X'46' X'46' +71 0 -21 -2100 -21000000 -21000000000 496800000000 1.375 71 071 X'4747' X'47' +72 1 -22 -2200 -22000000 -22000000000 496886400000 1.356164383561644 72 072 X'484848' X'48' +73 0 -23 -2300 -23000000 -23000000000 496972800000 1.337837837837838 73 073 X'49494949' X'49' +74 1 -24 -2400 -24000000 -24000000000 497059200000 1.32 74 074 X'4A4A4A4A4A' X'4A' +75 0 -25 -2500 -25000000 -25000000000 497145600000 1.3026315789473684 75 075 X'4B' X'4B' +76 1 -26 -2600 -26000000 -26000000000 497232000000 1.2857142857142858 76 076 X'4C4C' X'4C' +77 0 -27 -2700 -27000000 -27000000000 497318400000 1.2692307692307692 77 077 X'4D4D4D' X'4D' +78 1 -28 -2800 -28000000 -28000000000 497404800000 1.2531645569620253 78 078 X'4E4E4E4E' X'4E' +79 0 -29 -2900 -29000000 -29000000000 497491200000 1.2375 79 079 X'4F4F4F4F4F' X'4F' +80 1 -30 -3000 -30000000 -30000000000 497577600000 1.2222222222222223 80 080 X'50' X'50' +81 0 -31 -3100 -31000000 -31000000000 497664000000 1.2073170731707317 81 081 X'5151' X'51' +82 1 -32 -3200 -32000000 -32000000000 497750400000 1.1927710843373494 82 082 X'525252' X'52' +83 0 -33 -3300 -33000000 -33000000000 497836800000 1.1785714285714286 83 083 X'53535353' X'53' +84 1 -34 -3400 -34000000 -34000000000 497923200000 1.1647058823529413 84 084 X'5454545454' X'54' +85 0 -35 -3500 -35000000 -35000000000 498009600000 1.1511627906976745 85 085 X'55' X'55' +86 1 -36 -3600 -36000000 -36000000000 498096000000 1.1379310344827587 86 086 X'5656' X'56' +87 0 -37 -3700 -37000000 -37000000000 498182400000 1.125 87 087 X'575757' X'57' +88 1 -38 -3800 -38000000 -38000000000 498268800000 1.1123595505617978 88 088 X'58585858' X'58' +89 0 -39 -3900 -39000000 -39000000000 498355200000 1.1 89 089 X'5959595959' X'59' +90 1 -40 -4000 -40000000 -40000000000 498441600000 1.0879120879120878 90 090 X'5A' X'5A' +91 0 -41 -4100 -41000000 -41000000000 498528000000 1.076086956521739 91 091 X'5B5B' X'5B' +92 1 -42 -4200 -42000000 -42000000000 498614400000 1.064516129032258 92 092 X'5C5C5C' X'5C' +93 0 -43 -4300 -43000000 -43000000000 498700800000 1.053191489361702 93 093 X'5D5D5D5D' X'5D' +94 1 -44 -4400 -44000000 -44000000000 498787200000 1.0421052631578946 94 094 X'5E5E5E5E5E' X'5E' +95 0 -45 -4500 -45000000 -45000000000 498873600000 1.03125 95 095 X'5F' X'5F' +96 1 -46 -4600 -46000000 -46000000000 498960000000 1.0206185567010309 96 096 X'6060' X'60' +97 0 -47 -4700 -47000000 -47000000000 499046400000 1.010204081632653 97 097 X'616161' X'61' +98 1 -48 -4800 -48000000 -48000000000 499132800000 1 98 098 X'62626262' X'62' diff --git a/parquet-generator/nulls.csv b/parquet-generator/nulls.csv index 233a357..5ec75ec 100644 --- a/parquet-generator/nulls.csv +++ b/parquet-generator/nulls.csv @@ -1,13 +1,13 @@ -0 1 50 5000 50000000 50000000000 490665600000 100.0 0 000 X'00' X'00' -1 0 49 4900 49000000 49000000000 490752000000 50.0 1 001 X'0101' X'01' -2 1 48 4800 48000000 48000000000 490838400000 33.333333333333336 2 002 X'020202' X'02' -3 0 47 4700 47000000 47000000000 490924800000 25.0 3 003 X'03030303' X'03' -4 1 46 4600 46000000 46000000000 491011200000 20.0 4 004 X'0404040404' X'04' -5 0 45 4500 45000000 45000000000 491097600000 16.666666666666668 5 005 X'05' X'05' -6 1 44 4400 44000000 44000000000 491184000000 14.285714285714286 6 006 X'0606' X'06' -7 0 43 4300 43000000 43000000000 491270400000 12.5 7 007 X'070707' X'07' -8 1 42 4200 42000000 42000000000 491356800000 11.11111111111111 8 008 X'08080808' X'08' -9 0 41 4100 41000000 41000000000 491443200000 10.0 9 009 X'0909090909' X'09' +0 1 50 5000 50000000 50000000000 490665600000 99.0 0 000 X'00' X'00' +1 0 49 4900 49000000 49000000000 490752000000 49.5 1 001 X'0101' X'01' +2 1 48 4800 48000000 48000000000 490838400000 33.0 2 002 X'020202' X'02' +3 0 47 4700 47000000 47000000000 490924800000 24.75 3 003 X'03030303' X'03' +4 1 46 4600 46000000 46000000000 491011200000 19.8 4 004 X'0404040404' X'04' +5 0 45 4500 45000000 45000000000 491097600000 16.5 5 005 X'05' X'05' +6 1 44 4400 44000000 44000000000 491184000000 14.142857142857142 6 006 X'0606' X'06' +7 0 43 4300 43000000 43000000000 491270400000 12.375 7 007 X'070707' X'07' +8 1 42 4200 42000000 42000000000 491356800000 11.0 8 008 X'08080808' X'08' +9 0 41 4100 41000000 41000000000 491443200000 9.9 9 009 X'0909090909' X'09' 10 \N \N \N \N \N \N \N \N \N \N \N 11 \N \N \N \N \N \N \N \N \N \N \N 12 \N \N \N \N \N \N \N \N \N \N \N @@ -19,82 +19,81 @@ 18 \N \N \N \N \N \N \N \N \N \N \N 19 \N \N \N \N \N \N \N \N \N \N \N 20 \N 30 \N 30000000 \N 492393600000 \N 20 \N X'14' \N -21 0 \N 2900 \N 29000000000 \N 4.545454545454546 \N 021 \N X'15' +21 0 \N 2900 \N 29000000000 \N 4.5 \N 021 \N X'15' 22 \N 28 \N 28000000 \N 492566400000 \N 22 \N X'161616' \N -23 0 \N 2700 \N 27000000000 \N 4.166666666666667 \N 023 \N X'17' +23 0 \N 2700 \N 27000000000 \N 4.125 \N 023 \N X'17' 24 \N 26 \N 26000000 \N 492739200000 \N 24 \N X'1818181818' \N -25 0 \N 2500 \N 25000000000 \N 3.8461538461538463 \N 025 \N X'19' +25 0 \N 2500 \N 25000000000 \N 3.8076923076923075 \N 025 \N X'19' 26 \N 24 \N 24000000 \N 492912000000 \N 26 \N X'1A1A' \N -27 0 \N 2300 \N 23000000000 \N 3.5714285714285716 \N 027 \N X'1B' +27 0 \N 2300 \N 23000000000 \N 3.5357142857142856 \N 027 \N X'1B' 28 \N 22 \N 22000000 \N 493084800000 \N 28 \N X'1C1C1C1C' \N -29 0 \N 2100 \N 21000000000 \N 3.3333333333333335 \N 029 \N X'1D' +29 0 \N 2100 \N 21000000000 \N 3.3 \N 029 \N X'1D' 30 \N 20 \N 20000000 \N 493257600000 \N 30 \N X'1E' \N -31 0 \N 1900 \N 19000000000 \N 3.125 \N 031 \N X'1F' +31 0 \N 1900 \N 19000000000 \N 3.09375 \N 031 \N X'1F' 32 \N 18 \N 18000000 \N 493430400000 \N 32 \N X'202020' \N -33 0 \N 1700 \N 17000000000 \N 2.9411764705882355 \N 033 \N X'21' +33 0 \N 1700 \N 17000000000 \N 2.911764705882353 \N 033 \N X'21' 34 \N 16 \N 16000000 \N 493603200000 \N 34 \N X'2222222222' \N -35 0 \N 1500 \N 15000000000 \N 2.7777777777777777 \N 035 \N X'23' +35 0 \N 1500 \N 15000000000 \N 2.75 \N 035 \N X'23' 36 \N 14 \N 14000000 \N 493776000000 \N 36 \N X'2424' \N -37 0 \N 1300 \N 13000000000 \N 2.6315789473684212 \N 037 \N X'25' +37 0 \N 1300 \N 13000000000 \N 2.6052631578947367 \N 037 \N X'25' 38 \N 12 \N 12000000 \N 493948800000 \N 38 \N X'26262626' \N -39 0 \N 1100 \N 11000000000 \N 2.5 \N 039 \N X'27' +39 0 \N 1100 \N 11000000000 \N 2.475 \N 039 \N X'27' 40 \N 10 \N 10000000 \N 494121600000 \N 40 \N X'28' \N -41 0 \N 900 \N 9000000000 \N 2.380952380952381 \N 041 \N X'29' +41 0 \N 900 \N 9000000000 \N 2.357142857142857 \N 041 \N X'29' 42 \N 8 \N 8000000 \N 494294400000 \N 42 \N X'2A2A2A' \N -43 0 \N 700 \N 7000000000 \N 2.272727272727273 \N 043 \N X'2B' +43 0 \N 700 \N 7000000000 \N 2.25 \N 043 \N X'2B' 44 \N 6 \N 6000000 \N 494467200000 \N 44 \N X'2C2C2C2C2C' \N -45 0 \N 500 \N 5000000000 \N 2.1739130434782608 \N 045 \N X'2D' +45 0 \N 500 \N 5000000000 \N 2.152173913043478 \N 045 \N X'2D' 46 \N 4 \N 4000000 \N 494640000000 \N 46 \N X'2E2E' \N -47 0 \N 300 \N 3000000000 \N 2.0833333333333335 \N 047 \N X'2F' +47 0 \N 300 \N 3000000000 \N 2.0625 \N 047 \N X'2F' 48 \N 2 \N 2000000 \N 494812800000 \N 48 \N X'30303030' \N -49 0 \N 100 \N 1000000000 \N 2.0 \N 049 \N X'31' +49 0 \N 100 \N 1000000000 \N 1.98 \N 049 \N X'31' 50 \N 0 \N 0 \N 494985600000 \N 50 \N X'32' \N -51 0 \N -100 \N -1000000000 \N 1.9230769230769231 \N 051 \N X'33' +51 0 \N -100 \N -1000000000 \N 1.9038461538461537 \N 051 \N X'33' 52 \N -2 \N -2000000 \N 495158400000 \N 52 \N X'343434' \N -53 0 \N -300 \N -3000000000 \N 1.8518518518518519 \N 053 \N X'35' +53 0 \N -300 \N -3000000000 \N 1.8333333333333333 \N 053 \N X'35' 54 \N -4 \N -4000000 \N 495331200000 \N 54 \N X'3636363636' \N -55 0 \N -500 \N -5000000000 \N 1.7857142857142858 \N 055 \N X'37' +55 0 \N -500 \N -5000000000 \N 1.7678571428571428 \N 055 \N X'37' 56 \N -6 \N -6000000 \N 495504000000 \N 56 \N X'3838' \N -57 0 \N -700 \N -7000000000 \N 1.7241379310344827 \N 057 \N X'39' +57 0 \N -700 \N -7000000000 \N 1.706896551724138 \N 057 \N X'39' 58 \N -8 \N -8000000 \N 495676800000 \N 58 \N X'3A3A3A3A' \N -59 0 \N -900 \N -9000000000 \N 1.6666666666666667 \N 059 \N X'3B' +59 0 \N -900 \N -9000000000 \N 1.65 \N 059 \N X'3B' 60 \N -10 \N -10000000 \N 495849600000 \N 60 \N X'3C' \N -61 0 \N -1100 \N -11000000000 \N 1.6129032258064515 \N 061 \N X'3D' +61 0 \N -1100 \N -11000000000 \N 1.596774193548387 \N 061 \N X'3D' 62 \N -12 \N -12000000 \N 496022400000 \N 62 \N X'3E3E3E' \N -63 0 \N -1300 \N -13000000000 \N 1.5625 \N 063 \N X'3F' +63 0 \N -1300 \N -13000000000 \N 1.546875 \N 063 \N X'3F' 64 \N -14 \N -14000000 \N 496195200000 \N 64 \N X'4040404040' \N -65 0 \N -1500 \N -15000000000 \N 1.5151515151515151 \N 065 \N X'41' +65 0 \N -1500 \N -15000000000 \N 1.5 \N 065 \N X'41' 66 \N -16 \N -16000000 \N 496368000000 \N 66 \N X'4242' \N -67 0 \N -1700 \N -17000000000 \N 1.4705882352941178 \N 067 \N X'43' +67 0 \N -1700 \N -17000000000 \N 1.4558823529411764 \N 067 \N X'43' 68 \N -18 \N -18000000 \N 496540800000 \N 68 \N X'44444444' \N -69 0 \N -1900 \N -19000000000 \N 1.4285714285714286 \N 069 \N X'45' +69 0 \N -1900 \N -19000000000 \N 1.4142857142857144 \N 069 \N X'45' 70 \N -20 \N -20000000 \N 496713600000 \N 70 \N X'46' \N -71 0 \N -2100 \N -21000000000 \N 1.3888888888888888 \N 071 \N X'47' +71 0 \N -2100 \N -21000000000 \N 1.375 \N 071 \N X'47' 72 \N -22 \N -22000000 \N 496886400000 \N 72 \N X'484848' \N -73 0 \N -2300 \N -23000000000 \N 1.3513513513513513 \N 073 \N X'49' +73 0 \N -2300 \N -23000000000 \N 1.337837837837838 \N 073 \N X'49' 74 \N -24 \N -24000000 \N 497059200000 \N 74 \N X'4A4A4A4A4A' \N -75 0 \N -2500 \N -25000000000 \N 1.3157894736842106 \N 075 \N X'4B' +75 0 \N -2500 \N -25000000000 \N 1.3026315789473684 \N 075 \N X'4B' 76 \N -26 \N -26000000 \N 497232000000 \N 76 \N X'4C4C' \N -77 0 \N -2700 \N -27000000000 \N 1.2820512820512822 \N 077 \N X'4D' +77 0 \N -2700 \N -27000000000 \N 1.2692307692307692 \N 077 \N X'4D' 78 \N -28 \N -28000000 \N 497404800000 \N 78 \N X'4E4E4E4E' \N -79 0 \N -2900 \N -29000000000 \N 1.25 \N 079 \N X'4F' +79 0 \N -2900 \N -29000000000 \N 1.2375 \N 079 \N X'4F' 80 \N -30 \N -30000000 \N 497577600000 \N 80 \N X'50' \N -81 0 \N -3100 \N -31000000000 \N 1.2195121951219512 \N 081 \N X'51' +81 0 \N -3100 \N -31000000000 \N 1.2073170731707317 \N 081 \N X'51' 82 \N -32 \N -32000000 \N 497750400000 \N 82 \N X'525252' \N -83 0 \N -3300 \N -33000000000 \N 1.1904761904761905 \N 083 \N X'53' +83 0 \N -3300 \N -33000000000 \N 1.1785714285714286 \N 083 \N X'53' 84 \N -34 \N -34000000 \N 497923200000 \N 84 \N X'5454545454' \N -85 0 \N -3500 \N -35000000000 \N 1.1627906976744187 \N 085 \N X'55' +85 0 \N -3500 \N -35000000000 \N 1.1511627906976745 \N 085 \N X'55' 86 \N -36 \N -36000000 \N 498096000000 \N 86 \N X'5656' \N -87 0 \N -3700 \N -37000000000 \N 1.1363636363636365 \N 087 \N X'57' +87 0 \N -3700 \N -37000000000 \N 1.125 \N 087 \N X'57' 88 \N -38 \N -38000000 \N 498268800000 \N 88 \N X'58585858' \N -89 0 \N -3900 \N -39000000000 \N 1.1111111111111112 \N 089 \N X'59' +89 0 \N -3900 \N -39000000000 \N 1.1 \N 089 \N X'59' 90 \N -40 \N -40000000 \N 498441600000 \N 90 \N X'5A' \N -91 0 \N -4100 \N -41000000000 \N 1.0869565217391304 \N 091 \N X'5B' +91 0 \N -4100 \N -41000000000 \N 1.076086956521739 \N 091 \N X'5B' 92 \N -42 \N -42000000 \N 498614400000 \N 92 \N X'5C5C5C' \N -93 0 \N -4300 \N -43000000000 \N 1.0638297872340425 \N 093 \N X'5D' +93 0 \N -4300 \N -43000000000 \N 1.053191489361702 \N 093 \N X'5D' 94 \N -44 \N -44000000 \N 498787200000 \N 94 \N X'5E5E5E5E5E' \N -95 0 \N -4500 \N -45000000000 \N 1.0416666666666667 \N 095 \N X'5F' +95 0 \N -4500 \N -45000000000 \N 1.03125 \N 095 \N X'5F' 96 \N -46 \N -46000000 \N 498960000000 \N 96 \N X'6060' \N -97 0 \N -4700 \N -47000000000 \N 1.0204081632653061 \N 097 \N X'61' +97 0 \N -4700 \N -47000000000 \N 1.010204081632653 \N 097 \N X'61' 98 \N -48 \N -48000000 \N 499132800000 \N 98 \N X'62626262' \N -99 0 \N -4900 \N -49000000000 \N 1 \N 099 \N X'63' diff --git a/parquet-generator/parquets.py b/parquet-generator/parquets.py index 88ee10d..eb5b5c3 100644 --- a/parquet-generator/parquets.py +++ b/parquet-generator/parquets.py @@ -4,11 +4,11 @@ import re import pyarrow as pa import pyarrow.parquet as pq -def make_100_rows(): - '''Create 100 rows with unique values in each field, exercising all the main +def make_99_rows(): + '''Create 99 rows with unique values in each field, exercising all the main physical types.''' rows = [] - for i in range(100): + for i in range(99): ba_fixed = bytearray() ba_fixed.append(i) ba_variable = bytearray() @@ -22,7 +22,7 @@ def make_100_rows(): row.append(1000 * 1000 * (50 - i)) # INT32/INT32 row.append(1000 * 1000 * 1000 * (50 - i)) # INT64/INT64 row.append(datetime(1985, 7, 20, tzinfo=timezone.utc) + timedelta(days=i)) # INT96 - row.append(100.0 / (i + 1)) # DOUBLE + row.append(99.0 / (i + 1)) # DOUBLE row.append(str(i)) # BYTE_ARRAY/UTF8 row.append('{:03}'.format(i)), # BYTE_ARRAY/UTF8 row.append(bytes(ba_variable)), # BYTE_ARRAY @@ -33,8 +33,8 @@ def make_100_rows(): rows.append(row) return rows -def get_100_rows_types(): - '''The types for the columns in `make_100_rows`.''' +def get_99_rows_types(): + '''The types for the columns in `make_99_rows`.''' return [ pa.bool_(), pa.int8(), @@ -130,18 +130,18 @@ def write_csv(file_name, rows): def main(): '''Entrypoint.''' - rows = make_100_rows() - types = get_100_rows_types() + rows = make_99_rows() + types = get_99_rows_types() - write_parquet('100-rows-1.parquet', rows, types, row_group_size=100) + write_parquet('99-rows-1.parquet', rows, types, row_group_size=99) write_csv('no-nulls.csv', rows) - write_parquet('100-rows-10.parquet', rows, types, row_group_size=10) + write_parquet('99-rows-10.parquet', rows, types, row_group_size=10) for i in range(len(rows)): for j in range(len(rows[i])): if (i >= 10 and i <= 19) or (i >= 20 and (i + j) % 2 == 0): rows[i][j] = None - write_parquet('100-rows-nulls.parquet', rows, types,row_group_size=10) + write_parquet('99-rows-nulls.parquet', rows, types,row_group_size=10) write_csv('nulls.csv', rows) write_unsupported_parquets() diff --git a/parquet/parquet_cursor.cc b/parquet/parquet_cursor.cc index ff1e714..0e79ba7 100644 --- a/parquet/parquet_cursor.cc +++ b/parquet/parquet_cursor.cc @@ -13,7 +13,7 @@ bool ParquetCursor::nextRowGroup() { rowGroupStartRowId = rowId; rowGroupId++; - rowGroupMetadata = reader->metadata()->RowGroup(0); + rowGroupMetadata = reader->metadata()->RowGroup(rowGroupId); rowsLeftInRowGroup = rowGroupMetadata->num_rows(); rowGroup = reader->RowGroup(rowGroupId); for(unsigned int i = 0; i < scanners.size(); i++) diff --git a/tests/queries/001-table-scan-1-rowgroup.sql b/tests/queries/001-table-scan-1-rowgroup.sql index 84c8d1a..5a425dc 100644 --- a/tests/queries/001-table-scan-1-rowgroup.sql +++ b/tests/queries/001-table-scan-1-rowgroup.sql @@ -1,101 +1,100 @@ -SELECT rowid, bool_0, int8_1, int16_2, int32_3, int64_4, datetime(ts_5 / 1000, 'unixepoch'), printf("%.4f", double_6) AS double_6, string_7, string_8, quote(binary_9), quote(binary_10) FROM no_nulls1; -0|1|50|5000|50000000|50000000000|1985-07-20 00:00:00|100.0000|0|000|X'00'|X'00' -1|0|49|4900|49000000|49000000000|1985-07-21 00:00:00|50.0000|1|001|X'0101'|X'01' -2|1|48|4800|48000000|48000000000|1985-07-22 00:00:00|33.3333|2|002|X'020202'|X'02' -3|0|47|4700|47000000|47000000000|1985-07-23 00:00:00|25.0000|3|003|X'03030303'|X'03' -4|1|46|4600|46000000|46000000000|1985-07-24 00:00:00|20.0000|4|004|X'0404040404'|X'04' -5|0|45|4500|45000000|45000000000|1985-07-25 00:00:00|16.6667|5|005|X'05'|X'05' -6|1|44|4400|44000000|44000000000|1985-07-26 00:00:00|14.2857|6|006|X'0606'|X'06' -7|0|43|4300|43000000|43000000000|1985-07-27 00:00:00|12.5000|7|007|X'070707'|X'07' -8|1|42|4200|42000000|42000000000|1985-07-28 00:00:00|11.1111|8|008|X'08080808'|X'08' -9|0|41|4100|41000000|41000000000|1985-07-29 00:00:00|10.0000|9|009|X'0909090909'|X'09' -10|1|40|4000|40000000|40000000000|1985-07-30 00:00:00|9.0909|10|010|X'0A'|X'0A' -11|0|39|3900|39000000|39000000000|1985-07-31 00:00:00|8.3333|11|011|X'0B0B'|X'0B' -12|1|38|3800|38000000|38000000000|1985-08-01 00:00:00|7.6923|12|012|X'0C0C0C'|X'0C' -13|0|37|3700|37000000|37000000000|1985-08-02 00:00:00|7.1429|13|013|X'0D0D0D0D'|X'0D' -14|1|36|3600|36000000|36000000000|1985-08-03 00:00:00|6.6667|14|014|X'0E0E0E0E0E'|X'0E' -15|0|35|3500|35000000|35000000000|1985-08-04 00:00:00|6.2500|15|015|X'0F'|X'0F' -16|1|34|3400|34000000|34000000000|1985-08-05 00:00:00|5.8824|16|016|X'1010'|X'10' -17|0|33|3300|33000000|33000000000|1985-08-06 00:00:00|5.5556|17|017|X'111111'|X'11' -18|1|32|3200|32000000|32000000000|1985-08-07 00:00:00|5.2632|18|018|X'12121212'|X'12' -19|0|31|3100|31000000|31000000000|1985-08-08 00:00:00|5.0000|19|019|X'1313131313'|X'13' -20|1|30|3000|30000000|30000000000|1985-08-09 00:00:00|4.7619|20|020|X'14'|X'14' -21|0|29|2900|29000000|29000000000|1985-08-10 00:00:00|4.5455|21|021|X'1515'|X'15' -22|1|28|2800|28000000|28000000000|1985-08-11 00:00:00|4.3478|22|022|X'161616'|X'16' -23|0|27|2700|27000000|27000000000|1985-08-12 00:00:00|4.1667|23|023|X'17171717'|X'17' -24|1|26|2600|26000000|26000000000|1985-08-13 00:00:00|4.0000|24|024|X'1818181818'|X'18' -25|0|25|2500|25000000|25000000000|1985-08-14 00:00:00|3.8462|25|025|X'19'|X'19' -26|1|24|2400|24000000|24000000000|1985-08-15 00:00:00|3.7037|26|026|X'1A1A'|X'1A' -27|0|23|2300|23000000|23000000000|1985-08-16 00:00:00|3.5714|27|027|X'1B1B1B'|X'1B' -28|1|22|2200|22000000|22000000000|1985-08-17 00:00:00|3.4483|28|028|X'1C1C1C1C'|X'1C' -29|0|21|2100|21000000|21000000000|1985-08-18 00:00:00|3.3333|29|029|X'1D1D1D1D1D'|X'1D' -30|1|20|2000|20000000|20000000000|1985-08-19 00:00:00|3.2258|30|030|X'1E'|X'1E' -31|0|19|1900|19000000|19000000000|1985-08-20 00:00:00|3.1250|31|031|X'1F1F'|X'1F' -32|1|18|1800|18000000|18000000000|1985-08-21 00:00:00|3.0303|32|032|X'202020'|X'20' -33|0|17|1700|17000000|17000000000|1985-08-22 00:00:00|2.9412|33|033|X'21212121'|X'21' -34|1|16|1600|16000000|16000000000|1985-08-23 00:00:00|2.8571|34|034|X'2222222222'|X'22' -35|0|15|1500|15000000|15000000000|1985-08-24 00:00:00|2.7778|35|035|X'23'|X'23' -36|1|14|1400|14000000|14000000000|1985-08-25 00:00:00|2.7027|36|036|X'2424'|X'24' -37|0|13|1300|13000000|13000000000|1985-08-26 00:00:00|2.6316|37|037|X'252525'|X'25' -38|1|12|1200|12000000|12000000000|1985-08-27 00:00:00|2.5641|38|038|X'26262626'|X'26' -39|0|11|1100|11000000|11000000000|1985-08-28 00:00:00|2.5000|39|039|X'2727272727'|X'27' -40|1|10|1000|10000000|10000000000|1985-08-29 00:00:00|2.4390|40|040|X'28'|X'28' -41|0|9|900|9000000|9000000000|1985-08-30 00:00:00|2.3810|41|041|X'2929'|X'29' -42|1|8|800|8000000|8000000000|1985-08-31 00:00:00|2.3256|42|042|X'2A2A2A'|X'2A' -43|0|7|700|7000000|7000000000|1985-09-01 00:00:00|2.2727|43|043|X'2B2B2B2B'|X'2B' -44|1|6|600|6000000|6000000000|1985-09-02 00:00:00|2.2222|44|044|X'2C2C2C2C2C'|X'2C' -45|0|5|500|5000000|5000000000|1985-09-03 00:00:00|2.1739|45|045|X'2D'|X'2D' -46|1|4|400|4000000|4000000000|1985-09-04 00:00:00|2.1277|46|046|X'2E2E'|X'2E' -47|0|3|300|3000000|3000000000|1985-09-05 00:00:00|2.0833|47|047|X'2F2F2F'|X'2F' -48|1|2|200|2000000|2000000000|1985-09-06 00:00:00|2.0408|48|048|X'30303030'|X'30' -49|0|1|100|1000000|1000000000|1985-09-07 00:00:00|2.0000|49|049|X'3131313131'|X'31' -50|1|0|0|0|0|1985-09-08 00:00:00|1.9608|50|050|X'32'|X'32' -51|0|-1|-100|-1000000|-1000000000|1985-09-09 00:00:00|1.9231|51|051|X'3333'|X'33' -52|1|-2|-200|-2000000|-2000000000|1985-09-10 00:00:00|1.8868|52|052|X'343434'|X'34' -53|0|-3|-300|-3000000|-3000000000|1985-09-11 00:00:00|1.8519|53|053|X'35353535'|X'35' -54|1|-4|-400|-4000000|-4000000000|1985-09-12 00:00:00|1.8182|54|054|X'3636363636'|X'36' -55|0|-5|-500|-5000000|-5000000000|1985-09-13 00:00:00|1.7857|55|055|X'37'|X'37' -56|1|-6|-600|-6000000|-6000000000|1985-09-14 00:00:00|1.7544|56|056|X'3838'|X'38' -57|0|-7|-700|-7000000|-7000000000|1985-09-15 00:00:00|1.7241|57|057|X'393939'|X'39' -58|1|-8|-800|-8000000|-8000000000|1985-09-16 00:00:00|1.6949|58|058|X'3A3A3A3A'|X'3A' -59|0|-9|-900|-9000000|-9000000000|1985-09-17 00:00:00|1.6667|59|059|X'3B3B3B3B3B'|X'3B' -60|1|-10|-1000|-10000000|-10000000000|1985-09-18 00:00:00|1.6393|60|060|X'3C'|X'3C' -61|0|-11|-1100|-11000000|-11000000000|1985-09-19 00:00:00|1.6129|61|061|X'3D3D'|X'3D' -62|1|-12|-1200|-12000000|-12000000000|1985-09-20 00:00:00|1.5873|62|062|X'3E3E3E'|X'3E' -63|0|-13|-1300|-13000000|-13000000000|1985-09-21 00:00:00|1.5625|63|063|X'3F3F3F3F'|X'3F' -64|1|-14|-1400|-14000000|-14000000000|1985-09-22 00:00:00|1.5385|64|064|X'4040404040'|X'40' -65|0|-15|-1500|-15000000|-15000000000|1985-09-23 00:00:00|1.5152|65|065|X'41'|X'41' -66|1|-16|-1600|-16000000|-16000000000|1985-09-24 00:00:00|1.4925|66|066|X'4242'|X'42' -67|0|-17|-1700|-17000000|-17000000000|1985-09-25 00:00:00|1.4706|67|067|X'434343'|X'43' -68|1|-18|-1800|-18000000|-18000000000|1985-09-26 00:00:00|1.4493|68|068|X'44444444'|X'44' -69|0|-19|-1900|-19000000|-19000000000|1985-09-27 00:00:00|1.4286|69|069|X'4545454545'|X'45' -70|1|-20|-2000|-20000000|-20000000000|1985-09-28 00:00:00|1.4085|70|070|X'46'|X'46' -71|0|-21|-2100|-21000000|-21000000000|1985-09-29 00:00:00|1.3889|71|071|X'4747'|X'47' -72|1|-22|-2200|-22000000|-22000000000|1985-09-30 00:00:00|1.3699|72|072|X'484848'|X'48' -73|0|-23|-2300|-23000000|-23000000000|1985-10-01 00:00:00|1.3514|73|073|X'49494949'|X'49' -74|1|-24|-2400|-24000000|-24000000000|1985-10-02 00:00:00|1.3333|74|074|X'4A4A4A4A4A'|X'4A' -75|0|-25|-2500|-25000000|-25000000000|1985-10-03 00:00:00|1.3158|75|075|X'4B'|X'4B' -76|1|-26|-2600|-26000000|-26000000000|1985-10-04 00:00:00|1.2987|76|076|X'4C4C'|X'4C' -77|0|-27|-2700|-27000000|-27000000000|1985-10-05 00:00:00|1.2821|77|077|X'4D4D4D'|X'4D' -78|1|-28|-2800|-28000000|-28000000000|1985-10-06 00:00:00|1.2658|78|078|X'4E4E4E4E'|X'4E' -79|0|-29|-2900|-29000000|-29000000000|1985-10-07 00:00:00|1.2500|79|079|X'4F4F4F4F4F'|X'4F' -80|1|-30|-3000|-30000000|-30000000000|1985-10-08 00:00:00|1.2346|80|080|X'50'|X'50' -81|0|-31|-3100|-31000000|-31000000000|1985-10-09 00:00:00|1.2195|81|081|X'5151'|X'51' -82|1|-32|-3200|-32000000|-32000000000|1985-10-10 00:00:00|1.2048|82|082|X'525252'|X'52' -83|0|-33|-3300|-33000000|-33000000000|1985-10-11 00:00:00|1.1905|83|083|X'53535353'|X'53' -84|1|-34|-3400|-34000000|-34000000000|1985-10-12 00:00:00|1.1765|84|084|X'5454545454'|X'54' -85|0|-35|-3500|-35000000|-35000000000|1985-10-13 00:00:00|1.1628|85|085|X'55'|X'55' -86|1|-36|-3600|-36000000|-36000000000|1985-10-14 00:00:00|1.1494|86|086|X'5656'|X'56' -87|0|-37|-3700|-37000000|-37000000000|1985-10-15 00:00:00|1.1364|87|087|X'575757'|X'57' -88|1|-38|-3800|-38000000|-38000000000|1985-10-16 00:00:00|1.1236|88|088|X'58585858'|X'58' -89|0|-39|-3900|-39000000|-39000000000|1985-10-17 00:00:00|1.1111|89|089|X'5959595959'|X'59' -90|1|-40|-4000|-40000000|-40000000000|1985-10-18 00:00:00|1.0989|90|090|X'5A'|X'5A' -91|0|-41|-4100|-41000000|-41000000000|1985-10-19 00:00:00|1.0870|91|091|X'5B5B'|X'5B' -92|1|-42|-4200|-42000000|-42000000000|1985-10-20 00:00:00|1.0753|92|092|X'5C5C5C'|X'5C' -93|0|-43|-4300|-43000000|-43000000000|1985-10-21 00:00:00|1.0638|93|093|X'5D5D5D5D'|X'5D' -94|1|-44|-4400|-44000000|-44000000000|1985-10-22 00:00:00|1.0526|94|094|X'5E5E5E5E5E'|X'5E' -95|0|-45|-4500|-45000000|-45000000000|1985-10-23 00:00:00|1.0417|95|095|X'5F'|X'5F' -96|1|-46|-4600|-46000000|-46000000000|1985-10-24 00:00:00|1.0309|96|096|X'6060'|X'60' -97|0|-47|-4700|-47000000|-47000000000|1985-10-25 00:00:00|1.0204|97|097|X'616161'|X'61' -98|1|-48|-4800|-48000000|-48000000000|1985-10-26 00:00:00|1.0101|98|098|X'62626262'|X'62' -99|0|-49|-4900|-49000000|-49000000000|1985-10-27 00:00:00|1.0000|99|099|X'6363636363'|X'63' +SELECT rowid, bool_0, int8_1, int16_2, int32_3, int64_4, datetime(ts_5 / 1000, 'unixepoch'), printf('%.2f', double_6) AS double_6, string_7, string_8, quote(binary_9), quote(binary_10) FROM no_nulls1 +0|1|50|5000|50000000|50000000000|1985-07-20 00:00:00|99.00|0|000|X'00'|X'00' +1|0|49|4900|49000000|49000000000|1985-07-21 00:00:00|49.50|1|001|X'0101'|X'01' +2|1|48|4800|48000000|48000000000|1985-07-22 00:00:00|33.00|2|002|X'020202'|X'02' +3|0|47|4700|47000000|47000000000|1985-07-23 00:00:00|24.75|3|003|X'03030303'|X'03' +4|1|46|4600|46000000|46000000000|1985-07-24 00:00:00|19.80|4|004|X'0404040404'|X'04' +5|0|45|4500|45000000|45000000000|1985-07-25 00:00:00|16.50|5|005|X'05'|X'05' +6|1|44|4400|44000000|44000000000|1985-07-26 00:00:00|14.14|6|006|X'0606'|X'06' +7|0|43|4300|43000000|43000000000|1985-07-27 00:00:00|12.38|7|007|X'070707'|X'07' +8|1|42|4200|42000000|42000000000|1985-07-28 00:00:00|11.00|8|008|X'08080808'|X'08' +9|0|41|4100|41000000|41000000000|1985-07-29 00:00:00|9.90|9|009|X'0909090909'|X'09' +10|1|40|4000|40000000|40000000000|1985-07-30 00:00:00|9.00|10|010|X'0A'|X'0A' +11|0|39|3900|39000000|39000000000|1985-07-31 00:00:00|8.25|11|011|X'0B0B'|X'0B' +12|1|38|3800|38000000|38000000000|1985-08-01 00:00:00|7.62|12|012|X'0C0C0C'|X'0C' +13|0|37|3700|37000000|37000000000|1985-08-02 00:00:00|7.07|13|013|X'0D0D0D0D'|X'0D' +14|1|36|3600|36000000|36000000000|1985-08-03 00:00:00|6.60|14|014|X'0E0E0E0E0E'|X'0E' +15|0|35|3500|35000000|35000000000|1985-08-04 00:00:00|6.19|15|015|X'0F'|X'0F' +16|1|34|3400|34000000|34000000000|1985-08-05 00:00:00|5.82|16|016|X'1010'|X'10' +17|0|33|3300|33000000|33000000000|1985-08-06 00:00:00|5.50|17|017|X'111111'|X'11' +18|1|32|3200|32000000|32000000000|1985-08-07 00:00:00|5.21|18|018|X'12121212'|X'12' +19|0|31|3100|31000000|31000000000|1985-08-08 00:00:00|4.95|19|019|X'1313131313'|X'13' +20|1|30|3000|30000000|30000000000|1985-08-09 00:00:00|4.71|20|020|X'14'|X'14' +21|0|29|2900|29000000|29000000000|1985-08-10 00:00:00|4.50|21|021|X'1515'|X'15' +22|1|28|2800|28000000|28000000000|1985-08-11 00:00:00|4.30|22|022|X'161616'|X'16' +23|0|27|2700|27000000|27000000000|1985-08-12 00:00:00|4.13|23|023|X'17171717'|X'17' +24|1|26|2600|26000000|26000000000|1985-08-13 00:00:00|3.96|24|024|X'1818181818'|X'18' +25|0|25|2500|25000000|25000000000|1985-08-14 00:00:00|3.81|25|025|X'19'|X'19' +26|1|24|2400|24000000|24000000000|1985-08-15 00:00:00|3.67|26|026|X'1A1A'|X'1A' +27|0|23|2300|23000000|23000000000|1985-08-16 00:00:00|3.54|27|027|X'1B1B1B'|X'1B' +28|1|22|2200|22000000|22000000000|1985-08-17 00:00:00|3.41|28|028|X'1C1C1C1C'|X'1C' +29|0|21|2100|21000000|21000000000|1985-08-18 00:00:00|3.30|29|029|X'1D1D1D1D1D'|X'1D' +30|1|20|2000|20000000|20000000000|1985-08-19 00:00:00|3.19|30|030|X'1E'|X'1E' +31|0|19|1900|19000000|19000000000|1985-08-20 00:00:00|3.09|31|031|X'1F1F'|X'1F' +32|1|18|1800|18000000|18000000000|1985-08-21 00:00:00|3.00|32|032|X'202020'|X'20' +33|0|17|1700|17000000|17000000000|1985-08-22 00:00:00|2.91|33|033|X'21212121'|X'21' +34|1|16|1600|16000000|16000000000|1985-08-23 00:00:00|2.83|34|034|X'2222222222'|X'22' +35|0|15|1500|15000000|15000000000|1985-08-24 00:00:00|2.75|35|035|X'23'|X'23' +36|1|14|1400|14000000|14000000000|1985-08-25 00:00:00|2.68|36|036|X'2424'|X'24' +37|0|13|1300|13000000|13000000000|1985-08-26 00:00:00|2.61|37|037|X'252525'|X'25' +38|1|12|1200|12000000|12000000000|1985-08-27 00:00:00|2.54|38|038|X'26262626'|X'26' +39|0|11|1100|11000000|11000000000|1985-08-28 00:00:00|2.48|39|039|X'2727272727'|X'27' +40|1|10|1000|10000000|10000000000|1985-08-29 00:00:00|2.41|40|040|X'28'|X'28' +41|0|9|900|9000000|9000000000|1985-08-30 00:00:00|2.36|41|041|X'2929'|X'29' +42|1|8|800|8000000|8000000000|1985-08-31 00:00:00|2.30|42|042|X'2A2A2A'|X'2A' +43|0|7|700|7000000|7000000000|1985-09-01 00:00:00|2.25|43|043|X'2B2B2B2B'|X'2B' +44|1|6|600|6000000|6000000000|1985-09-02 00:00:00|2.20|44|044|X'2C2C2C2C2C'|X'2C' +45|0|5|500|5000000|5000000000|1985-09-03 00:00:00|2.15|45|045|X'2D'|X'2D' +46|1|4|400|4000000|4000000000|1985-09-04 00:00:00|2.11|46|046|X'2E2E'|X'2E' +47|0|3|300|3000000|3000000000|1985-09-05 00:00:00|2.06|47|047|X'2F2F2F'|X'2F' +48|1|2|200|2000000|2000000000|1985-09-06 00:00:00|2.02|48|048|X'30303030'|X'30' +49|0|1|100|1000000|1000000000|1985-09-07 00:00:00|1.98|49|049|X'3131313131'|X'31' +50|1|0|0|0|0|1985-09-08 00:00:00|1.94|50|050|X'32'|X'32' +51|0|-1|-100|-1000000|-1000000000|1985-09-09 00:00:00|1.90|51|051|X'3333'|X'33' +52|1|-2|-200|-2000000|-2000000000|1985-09-10 00:00:00|1.87|52|052|X'343434'|X'34' +53|0|-3|-300|-3000000|-3000000000|1985-09-11 00:00:00|1.83|53|053|X'35353535'|X'35' +54|1|-4|-400|-4000000|-4000000000|1985-09-12 00:00:00|1.80|54|054|X'3636363636'|X'36' +55|0|-5|-500|-5000000|-5000000000|1985-09-13 00:00:00|1.77|55|055|X'37'|X'37' +56|1|-6|-600|-6000000|-6000000000|1985-09-14 00:00:00|1.74|56|056|X'3838'|X'38' +57|0|-7|-700|-7000000|-7000000000|1985-09-15 00:00:00|1.71|57|057|X'393939'|X'39' +58|1|-8|-800|-8000000|-8000000000|1985-09-16 00:00:00|1.68|58|058|X'3A3A3A3A'|X'3A' +59|0|-9|-900|-9000000|-9000000000|1985-09-17 00:00:00|1.65|59|059|X'3B3B3B3B3B'|X'3B' +60|1|-10|-1000|-10000000|-10000000000|1985-09-18 00:00:00|1.62|60|060|X'3C'|X'3C' +61|0|-11|-1100|-11000000|-11000000000|1985-09-19 00:00:00|1.60|61|061|X'3D3D'|X'3D' +62|1|-12|-1200|-12000000|-12000000000|1985-09-20 00:00:00|1.57|62|062|X'3E3E3E'|X'3E' +63|0|-13|-1300|-13000000|-13000000000|1985-09-21 00:00:00|1.55|63|063|X'3F3F3F3F'|X'3F' +64|1|-14|-1400|-14000000|-14000000000|1985-09-22 00:00:00|1.52|64|064|X'4040404040'|X'40' +65|0|-15|-1500|-15000000|-15000000000|1985-09-23 00:00:00|1.50|65|065|X'41'|X'41' +66|1|-16|-1600|-16000000|-16000000000|1985-09-24 00:00:00|1.48|66|066|X'4242'|X'42' +67|0|-17|-1700|-17000000|-17000000000|1985-09-25 00:00:00|1.46|67|067|X'434343'|X'43' +68|1|-18|-1800|-18000000|-18000000000|1985-09-26 00:00:00|1.43|68|068|X'44444444'|X'44' +69|0|-19|-1900|-19000000|-19000000000|1985-09-27 00:00:00|1.41|69|069|X'4545454545'|X'45' +70|1|-20|-2000|-20000000|-20000000000|1985-09-28 00:00:00|1.39|70|070|X'46'|X'46' +71|0|-21|-2100|-21000000|-21000000000|1985-09-29 00:00:00|1.38|71|071|X'4747'|X'47' +72|1|-22|-2200|-22000000|-22000000000|1985-09-30 00:00:00|1.36|72|072|X'484848'|X'48' +73|0|-23|-2300|-23000000|-23000000000|1985-10-01 00:00:00|1.34|73|073|X'49494949'|X'49' +74|1|-24|-2400|-24000000|-24000000000|1985-10-02 00:00:00|1.32|74|074|X'4A4A4A4A4A'|X'4A' +75|0|-25|-2500|-25000000|-25000000000|1985-10-03 00:00:00|1.30|75|075|X'4B'|X'4B' +76|1|-26|-2600|-26000000|-26000000000|1985-10-04 00:00:00|1.29|76|076|X'4C4C'|X'4C' +77|0|-27|-2700|-27000000|-27000000000|1985-10-05 00:00:00|1.27|77|077|X'4D4D4D'|X'4D' +78|1|-28|-2800|-28000000|-28000000000|1985-10-06 00:00:00|1.25|78|078|X'4E4E4E4E'|X'4E' +79|0|-29|-2900|-29000000|-29000000000|1985-10-07 00:00:00|1.24|79|079|X'4F4F4F4F4F'|X'4F' +80|1|-30|-3000|-30000000|-30000000000|1985-10-08 00:00:00|1.22|80|080|X'50'|X'50' +81|0|-31|-3100|-31000000|-31000000000|1985-10-09 00:00:00|1.21|81|081|X'5151'|X'51' +82|1|-32|-3200|-32000000|-32000000000|1985-10-10 00:00:00|1.19|82|082|X'525252'|X'52' +83|0|-33|-3300|-33000000|-33000000000|1985-10-11 00:00:00|1.18|83|083|X'53535353'|X'53' +84|1|-34|-3400|-34000000|-34000000000|1985-10-12 00:00:00|1.16|84|084|X'5454545454'|X'54' +85|0|-35|-3500|-35000000|-35000000000|1985-10-13 00:00:00|1.15|85|085|X'55'|X'55' +86|1|-36|-3600|-36000000|-36000000000|1985-10-14 00:00:00|1.14|86|086|X'5656'|X'56' +87|0|-37|-3700|-37000000|-37000000000|1985-10-15 00:00:00|1.13|87|087|X'575757'|X'57' +88|1|-38|-3800|-38000000|-38000000000|1985-10-16 00:00:00|1.11|88|088|X'58585858'|X'58' +89|0|-39|-3900|-39000000|-39000000000|1985-10-17 00:00:00|1.10|89|089|X'5959595959'|X'59' +90|1|-40|-4000|-40000000|-40000000000|1985-10-18 00:00:00|1.09|90|090|X'5A'|X'5A' +91|0|-41|-4100|-41000000|-41000000000|1985-10-19 00:00:00|1.08|91|091|X'5B5B'|X'5B' +92|1|-42|-4200|-42000000|-42000000000|1985-10-20 00:00:00|1.06|92|092|X'5C5C5C'|X'5C' +93|0|-43|-4300|-43000000|-43000000000|1985-10-21 00:00:00|1.05|93|093|X'5D5D5D5D'|X'5D' +94|1|-44|-4400|-44000000|-44000000000|1985-10-22 00:00:00|1.04|94|094|X'5E5E5E5E5E'|X'5E' +95|0|-45|-4500|-45000000|-45000000000|1985-10-23 00:00:00|1.03|95|095|X'5F'|X'5F' +96|1|-46|-4600|-46000000|-46000000000|1985-10-24 00:00:00|1.02|96|096|X'6060'|X'60' +97|0|-47|-4700|-47000000|-47000000000|1985-10-25 00:00:00|1.01|97|097|X'616161'|X'61' +98|1|-48|-4800|-48000000|-48000000000|1985-10-26 00:00:00|1.00|98|098|X'62626262'|X'62' diff --git a/tests/queries/002-table-scan-10-rowgroups.sql b/tests/queries/002-table-scan-10-rowgroups.sql index 224b235..1727299 100644 --- a/tests/queries/002-table-scan-10-rowgroups.sql +++ b/tests/queries/002-table-scan-10-rowgroups.sql @@ -1,101 +1,100 @@ -SELECT rowid, bool_0, int8_1, int16_2, int32_3, int64_4, datetime(ts_5 / 1000, 'unixepoch'), printf("%.4f", double_6) AS double_6, string_7, string_8, quote(binary_9), quote(binary_10) FROM no_nulls2; -0|1|50|5000|50000000|50000000000|1985-07-20 00:00:00|100.0000|0|000|X'00'|X'00' -1|0|49|4900|49000000|49000000000|1985-07-21 00:00:00|50.0000|1|001|X'0101'|X'01' -2|1|48|4800|48000000|48000000000|1985-07-22 00:00:00|33.3333|2|002|X'020202'|X'02' -3|0|47|4700|47000000|47000000000|1985-07-23 00:00:00|25.0000|3|003|X'03030303'|X'03' -4|1|46|4600|46000000|46000000000|1985-07-24 00:00:00|20.0000|4|004|X'0404040404'|X'04' -5|0|45|4500|45000000|45000000000|1985-07-25 00:00:00|16.6667|5|005|X'05'|X'05' -6|1|44|4400|44000000|44000000000|1985-07-26 00:00:00|14.2857|6|006|X'0606'|X'06' -7|0|43|4300|43000000|43000000000|1985-07-27 00:00:00|12.5000|7|007|X'070707'|X'07' -8|1|42|4200|42000000|42000000000|1985-07-28 00:00:00|11.1111|8|008|X'08080808'|X'08' -9|0|41|4100|41000000|41000000000|1985-07-29 00:00:00|10.0000|9|009|X'0909090909'|X'09' -10|1|40|4000|40000000|40000000000|1985-07-30 00:00:00|9.0909|10|010|X'0A'|X'0A' -11|0|39|3900|39000000|39000000000|1985-07-31 00:00:00|8.3333|11|011|X'0B0B'|X'0B' -12|1|38|3800|38000000|38000000000|1985-08-01 00:00:00|7.6923|12|012|X'0C0C0C'|X'0C' -13|0|37|3700|37000000|37000000000|1985-08-02 00:00:00|7.1429|13|013|X'0D0D0D0D'|X'0D' -14|1|36|3600|36000000|36000000000|1985-08-03 00:00:00|6.6667|14|014|X'0E0E0E0E0E'|X'0E' -15|0|35|3500|35000000|35000000000|1985-08-04 00:00:00|6.2500|15|015|X'0F'|X'0F' -16|1|34|3400|34000000|34000000000|1985-08-05 00:00:00|5.8824|16|016|X'1010'|X'10' -17|0|33|3300|33000000|33000000000|1985-08-06 00:00:00|5.5556|17|017|X'111111'|X'11' -18|1|32|3200|32000000|32000000000|1985-08-07 00:00:00|5.2632|18|018|X'12121212'|X'12' -19|0|31|3100|31000000|31000000000|1985-08-08 00:00:00|5.0000|19|019|X'1313131313'|X'13' -20|1|30|3000|30000000|30000000000|1985-08-09 00:00:00|4.7619|20|020|X'14'|X'14' -21|0|29|2900|29000000|29000000000|1985-08-10 00:00:00|4.5455|21|021|X'1515'|X'15' -22|1|28|2800|28000000|28000000000|1985-08-11 00:00:00|4.3478|22|022|X'161616'|X'16' -23|0|27|2700|27000000|27000000000|1985-08-12 00:00:00|4.1667|23|023|X'17171717'|X'17' -24|1|26|2600|26000000|26000000000|1985-08-13 00:00:00|4.0000|24|024|X'1818181818'|X'18' -25|0|25|2500|25000000|25000000000|1985-08-14 00:00:00|3.8462|25|025|X'19'|X'19' -26|1|24|2400|24000000|24000000000|1985-08-15 00:00:00|3.7037|26|026|X'1A1A'|X'1A' -27|0|23|2300|23000000|23000000000|1985-08-16 00:00:00|3.5714|27|027|X'1B1B1B'|X'1B' -28|1|22|2200|22000000|22000000000|1985-08-17 00:00:00|3.4483|28|028|X'1C1C1C1C'|X'1C' -29|0|21|2100|21000000|21000000000|1985-08-18 00:00:00|3.3333|29|029|X'1D1D1D1D1D'|X'1D' -30|1|20|2000|20000000|20000000000|1985-08-19 00:00:00|3.2258|30|030|X'1E'|X'1E' -31|0|19|1900|19000000|19000000000|1985-08-20 00:00:00|3.1250|31|031|X'1F1F'|X'1F' -32|1|18|1800|18000000|18000000000|1985-08-21 00:00:00|3.0303|32|032|X'202020'|X'20' -33|0|17|1700|17000000|17000000000|1985-08-22 00:00:00|2.9412|33|033|X'21212121'|X'21' -34|1|16|1600|16000000|16000000000|1985-08-23 00:00:00|2.8571|34|034|X'2222222222'|X'22' -35|0|15|1500|15000000|15000000000|1985-08-24 00:00:00|2.7778|35|035|X'23'|X'23' -36|1|14|1400|14000000|14000000000|1985-08-25 00:00:00|2.7027|36|036|X'2424'|X'24' -37|0|13|1300|13000000|13000000000|1985-08-26 00:00:00|2.6316|37|037|X'252525'|X'25' -38|1|12|1200|12000000|12000000000|1985-08-27 00:00:00|2.5641|38|038|X'26262626'|X'26' -39|0|11|1100|11000000|11000000000|1985-08-28 00:00:00|2.5000|39|039|X'2727272727'|X'27' -40|1|10|1000|10000000|10000000000|1985-08-29 00:00:00|2.4390|40|040|X'28'|X'28' -41|0|9|900|9000000|9000000000|1985-08-30 00:00:00|2.3810|41|041|X'2929'|X'29' -42|1|8|800|8000000|8000000000|1985-08-31 00:00:00|2.3256|42|042|X'2A2A2A'|X'2A' -43|0|7|700|7000000|7000000000|1985-09-01 00:00:00|2.2727|43|043|X'2B2B2B2B'|X'2B' -44|1|6|600|6000000|6000000000|1985-09-02 00:00:00|2.2222|44|044|X'2C2C2C2C2C'|X'2C' -45|0|5|500|5000000|5000000000|1985-09-03 00:00:00|2.1739|45|045|X'2D'|X'2D' -46|1|4|400|4000000|4000000000|1985-09-04 00:00:00|2.1277|46|046|X'2E2E'|X'2E' -47|0|3|300|3000000|3000000000|1985-09-05 00:00:00|2.0833|47|047|X'2F2F2F'|X'2F' -48|1|2|200|2000000|2000000000|1985-09-06 00:00:00|2.0408|48|048|X'30303030'|X'30' -49|0|1|100|1000000|1000000000|1985-09-07 00:00:00|2.0000|49|049|X'3131313131'|X'31' -50|1|0|0|0|0|1985-09-08 00:00:00|1.9608|50|050|X'32'|X'32' -51|0|-1|-100|-1000000|-1000000000|1985-09-09 00:00:00|1.9231|51|051|X'3333'|X'33' -52|1|-2|-200|-2000000|-2000000000|1985-09-10 00:00:00|1.8868|52|052|X'343434'|X'34' -53|0|-3|-300|-3000000|-3000000000|1985-09-11 00:00:00|1.8519|53|053|X'35353535'|X'35' -54|1|-4|-400|-4000000|-4000000000|1985-09-12 00:00:00|1.8182|54|054|X'3636363636'|X'36' -55|0|-5|-500|-5000000|-5000000000|1985-09-13 00:00:00|1.7857|55|055|X'37'|X'37' -56|1|-6|-600|-6000000|-6000000000|1985-09-14 00:00:00|1.7544|56|056|X'3838'|X'38' -57|0|-7|-700|-7000000|-7000000000|1985-09-15 00:00:00|1.7241|57|057|X'393939'|X'39' -58|1|-8|-800|-8000000|-8000000000|1985-09-16 00:00:00|1.6949|58|058|X'3A3A3A3A'|X'3A' -59|0|-9|-900|-9000000|-9000000000|1985-09-17 00:00:00|1.6667|59|059|X'3B3B3B3B3B'|X'3B' -60|1|-10|-1000|-10000000|-10000000000|1985-09-18 00:00:00|1.6393|60|060|X'3C'|X'3C' -61|0|-11|-1100|-11000000|-11000000000|1985-09-19 00:00:00|1.6129|61|061|X'3D3D'|X'3D' -62|1|-12|-1200|-12000000|-12000000000|1985-09-20 00:00:00|1.5873|62|062|X'3E3E3E'|X'3E' -63|0|-13|-1300|-13000000|-13000000000|1985-09-21 00:00:00|1.5625|63|063|X'3F3F3F3F'|X'3F' -64|1|-14|-1400|-14000000|-14000000000|1985-09-22 00:00:00|1.5385|64|064|X'4040404040'|X'40' -65|0|-15|-1500|-15000000|-15000000000|1985-09-23 00:00:00|1.5152|65|065|X'41'|X'41' -66|1|-16|-1600|-16000000|-16000000000|1985-09-24 00:00:00|1.4925|66|066|X'4242'|X'42' -67|0|-17|-1700|-17000000|-17000000000|1985-09-25 00:00:00|1.4706|67|067|X'434343'|X'43' -68|1|-18|-1800|-18000000|-18000000000|1985-09-26 00:00:00|1.4493|68|068|X'44444444'|X'44' -69|0|-19|-1900|-19000000|-19000000000|1985-09-27 00:00:00|1.4286|69|069|X'4545454545'|X'45' -70|1|-20|-2000|-20000000|-20000000000|1985-09-28 00:00:00|1.4085|70|070|X'46'|X'46' -71|0|-21|-2100|-21000000|-21000000000|1985-09-29 00:00:00|1.3889|71|071|X'4747'|X'47' -72|1|-22|-2200|-22000000|-22000000000|1985-09-30 00:00:00|1.3699|72|072|X'484848'|X'48' -73|0|-23|-2300|-23000000|-23000000000|1985-10-01 00:00:00|1.3514|73|073|X'49494949'|X'49' -74|1|-24|-2400|-24000000|-24000000000|1985-10-02 00:00:00|1.3333|74|074|X'4A4A4A4A4A'|X'4A' -75|0|-25|-2500|-25000000|-25000000000|1985-10-03 00:00:00|1.3158|75|075|X'4B'|X'4B' -76|1|-26|-2600|-26000000|-26000000000|1985-10-04 00:00:00|1.2987|76|076|X'4C4C'|X'4C' -77|0|-27|-2700|-27000000|-27000000000|1985-10-05 00:00:00|1.2821|77|077|X'4D4D4D'|X'4D' -78|1|-28|-2800|-28000000|-28000000000|1985-10-06 00:00:00|1.2658|78|078|X'4E4E4E4E'|X'4E' -79|0|-29|-2900|-29000000|-29000000000|1985-10-07 00:00:00|1.2500|79|079|X'4F4F4F4F4F'|X'4F' -80|1|-30|-3000|-30000000|-30000000000|1985-10-08 00:00:00|1.2346|80|080|X'50'|X'50' -81|0|-31|-3100|-31000000|-31000000000|1985-10-09 00:00:00|1.2195|81|081|X'5151'|X'51' -82|1|-32|-3200|-32000000|-32000000000|1985-10-10 00:00:00|1.2048|82|082|X'525252'|X'52' -83|0|-33|-3300|-33000000|-33000000000|1985-10-11 00:00:00|1.1905|83|083|X'53535353'|X'53' -84|1|-34|-3400|-34000000|-34000000000|1985-10-12 00:00:00|1.1765|84|084|X'5454545454'|X'54' -85|0|-35|-3500|-35000000|-35000000000|1985-10-13 00:00:00|1.1628|85|085|X'55'|X'55' -86|1|-36|-3600|-36000000|-36000000000|1985-10-14 00:00:00|1.1494|86|086|X'5656'|X'56' -87|0|-37|-3700|-37000000|-37000000000|1985-10-15 00:00:00|1.1364|87|087|X'575757'|X'57' -88|1|-38|-3800|-38000000|-38000000000|1985-10-16 00:00:00|1.1236|88|088|X'58585858'|X'58' -89|0|-39|-3900|-39000000|-39000000000|1985-10-17 00:00:00|1.1111|89|089|X'5959595959'|X'59' -90|1|-40|-4000|-40000000|-40000000000|1985-10-18 00:00:00|1.0989|90|090|X'5A'|X'5A' -91|0|-41|-4100|-41000000|-41000000000|1985-10-19 00:00:00|1.0870|91|091|X'5B5B'|X'5B' -92|1|-42|-4200|-42000000|-42000000000|1985-10-20 00:00:00|1.0753|92|092|X'5C5C5C'|X'5C' -93|0|-43|-4300|-43000000|-43000000000|1985-10-21 00:00:00|1.0638|93|093|X'5D5D5D5D'|X'5D' -94|1|-44|-4400|-44000000|-44000000000|1985-10-22 00:00:00|1.0526|94|094|X'5E5E5E5E5E'|X'5E' -95|0|-45|-4500|-45000000|-45000000000|1985-10-23 00:00:00|1.0417|95|095|X'5F'|X'5F' -96|1|-46|-4600|-46000000|-46000000000|1985-10-24 00:00:00|1.0309|96|096|X'6060'|X'60' -97|0|-47|-4700|-47000000|-47000000000|1985-10-25 00:00:00|1.0204|97|097|X'616161'|X'61' -98|1|-48|-4800|-48000000|-48000000000|1985-10-26 00:00:00|1.0101|98|098|X'62626262'|X'62' -99|0|-49|-4900|-49000000|-49000000000|1985-10-27 00:00:00|1.0000|99|099|X'6363636363'|X'63' +SELECT rowid, bool_0, int8_1, int16_2, int32_3, int64_4, datetime(ts_5 / 1000, 'unixepoch'), printf('%.2f', double_6) AS double_6, string_7, string_8, quote(binary_9), quote(binary_10) FROM no_nulls2 +0|1|50|5000|50000000|50000000000|1985-07-20 00:00:00|99.00|0|000|X'00'|X'00' +1|0|49|4900|49000000|49000000000|1985-07-21 00:00:00|49.50|1|001|X'0101'|X'01' +2|1|48|4800|48000000|48000000000|1985-07-22 00:00:00|33.00|2|002|X'020202'|X'02' +3|0|47|4700|47000000|47000000000|1985-07-23 00:00:00|24.75|3|003|X'03030303'|X'03' +4|1|46|4600|46000000|46000000000|1985-07-24 00:00:00|19.80|4|004|X'0404040404'|X'04' +5|0|45|4500|45000000|45000000000|1985-07-25 00:00:00|16.50|5|005|X'05'|X'05' +6|1|44|4400|44000000|44000000000|1985-07-26 00:00:00|14.14|6|006|X'0606'|X'06' +7|0|43|4300|43000000|43000000000|1985-07-27 00:00:00|12.38|7|007|X'070707'|X'07' +8|1|42|4200|42000000|42000000000|1985-07-28 00:00:00|11.00|8|008|X'08080808'|X'08' +9|0|41|4100|41000000|41000000000|1985-07-29 00:00:00|9.90|9|009|X'0909090909'|X'09' +10|1|40|4000|40000000|40000000000|1985-07-30 00:00:00|9.00|10|010|X'0A'|X'0A' +11|0|39|3900|39000000|39000000000|1985-07-31 00:00:00|8.25|11|011|X'0B0B'|X'0B' +12|1|38|3800|38000000|38000000000|1985-08-01 00:00:00|7.62|12|012|X'0C0C0C'|X'0C' +13|0|37|3700|37000000|37000000000|1985-08-02 00:00:00|7.07|13|013|X'0D0D0D0D'|X'0D' +14|1|36|3600|36000000|36000000000|1985-08-03 00:00:00|6.60|14|014|X'0E0E0E0E0E'|X'0E' +15|0|35|3500|35000000|35000000000|1985-08-04 00:00:00|6.19|15|015|X'0F'|X'0F' +16|1|34|3400|34000000|34000000000|1985-08-05 00:00:00|5.82|16|016|X'1010'|X'10' +17|0|33|3300|33000000|33000000000|1985-08-06 00:00:00|5.50|17|017|X'111111'|X'11' +18|1|32|3200|32000000|32000000000|1985-08-07 00:00:00|5.21|18|018|X'12121212'|X'12' +19|0|31|3100|31000000|31000000000|1985-08-08 00:00:00|4.95|19|019|X'1313131313'|X'13' +20|1|30|3000|30000000|30000000000|1985-08-09 00:00:00|4.71|20|020|X'14'|X'14' +21|0|29|2900|29000000|29000000000|1985-08-10 00:00:00|4.50|21|021|X'1515'|X'15' +22|1|28|2800|28000000|28000000000|1985-08-11 00:00:00|4.30|22|022|X'161616'|X'16' +23|0|27|2700|27000000|27000000000|1985-08-12 00:00:00|4.13|23|023|X'17171717'|X'17' +24|1|26|2600|26000000|26000000000|1985-08-13 00:00:00|3.96|24|024|X'1818181818'|X'18' +25|0|25|2500|25000000|25000000000|1985-08-14 00:00:00|3.81|25|025|X'19'|X'19' +26|1|24|2400|24000000|24000000000|1985-08-15 00:00:00|3.67|26|026|X'1A1A'|X'1A' +27|0|23|2300|23000000|23000000000|1985-08-16 00:00:00|3.54|27|027|X'1B1B1B'|X'1B' +28|1|22|2200|22000000|22000000000|1985-08-17 00:00:00|3.41|28|028|X'1C1C1C1C'|X'1C' +29|0|21|2100|21000000|21000000000|1985-08-18 00:00:00|3.30|29|029|X'1D1D1D1D1D'|X'1D' +30|1|20|2000|20000000|20000000000|1985-08-19 00:00:00|3.19|30|030|X'1E'|X'1E' +31|0|19|1900|19000000|19000000000|1985-08-20 00:00:00|3.09|31|031|X'1F1F'|X'1F' +32|1|18|1800|18000000|18000000000|1985-08-21 00:00:00|3.00|32|032|X'202020'|X'20' +33|0|17|1700|17000000|17000000000|1985-08-22 00:00:00|2.91|33|033|X'21212121'|X'21' +34|1|16|1600|16000000|16000000000|1985-08-23 00:00:00|2.83|34|034|X'2222222222'|X'22' +35|0|15|1500|15000000|15000000000|1985-08-24 00:00:00|2.75|35|035|X'23'|X'23' +36|1|14|1400|14000000|14000000000|1985-08-25 00:00:00|2.68|36|036|X'2424'|X'24' +37|0|13|1300|13000000|13000000000|1985-08-26 00:00:00|2.61|37|037|X'252525'|X'25' +38|1|12|1200|12000000|12000000000|1985-08-27 00:00:00|2.54|38|038|X'26262626'|X'26' +39|0|11|1100|11000000|11000000000|1985-08-28 00:00:00|2.48|39|039|X'2727272727'|X'27' +40|1|10|1000|10000000|10000000000|1985-08-29 00:00:00|2.41|40|040|X'28'|X'28' +41|0|9|900|9000000|9000000000|1985-08-30 00:00:00|2.36|41|041|X'2929'|X'29' +42|1|8|800|8000000|8000000000|1985-08-31 00:00:00|2.30|42|042|X'2A2A2A'|X'2A' +43|0|7|700|7000000|7000000000|1985-09-01 00:00:00|2.25|43|043|X'2B2B2B2B'|X'2B' +44|1|6|600|6000000|6000000000|1985-09-02 00:00:00|2.20|44|044|X'2C2C2C2C2C'|X'2C' +45|0|5|500|5000000|5000000000|1985-09-03 00:00:00|2.15|45|045|X'2D'|X'2D' +46|1|4|400|4000000|4000000000|1985-09-04 00:00:00|2.11|46|046|X'2E2E'|X'2E' +47|0|3|300|3000000|3000000000|1985-09-05 00:00:00|2.06|47|047|X'2F2F2F'|X'2F' +48|1|2|200|2000000|2000000000|1985-09-06 00:00:00|2.02|48|048|X'30303030'|X'30' +49|0|1|100|1000000|1000000000|1985-09-07 00:00:00|1.98|49|049|X'3131313131'|X'31' +50|1|0|0|0|0|1985-09-08 00:00:00|1.94|50|050|X'32'|X'32' +51|0|-1|-100|-1000000|-1000000000|1985-09-09 00:00:00|1.90|51|051|X'3333'|X'33' +52|1|-2|-200|-2000000|-2000000000|1985-09-10 00:00:00|1.87|52|052|X'343434'|X'34' +53|0|-3|-300|-3000000|-3000000000|1985-09-11 00:00:00|1.83|53|053|X'35353535'|X'35' +54|1|-4|-400|-4000000|-4000000000|1985-09-12 00:00:00|1.80|54|054|X'3636363636'|X'36' +55|0|-5|-500|-5000000|-5000000000|1985-09-13 00:00:00|1.77|55|055|X'37'|X'37' +56|1|-6|-600|-6000000|-6000000000|1985-09-14 00:00:00|1.74|56|056|X'3838'|X'38' +57|0|-7|-700|-7000000|-7000000000|1985-09-15 00:00:00|1.71|57|057|X'393939'|X'39' +58|1|-8|-800|-8000000|-8000000000|1985-09-16 00:00:00|1.68|58|058|X'3A3A3A3A'|X'3A' +59|0|-9|-900|-9000000|-9000000000|1985-09-17 00:00:00|1.65|59|059|X'3B3B3B3B3B'|X'3B' +60|1|-10|-1000|-10000000|-10000000000|1985-09-18 00:00:00|1.62|60|060|X'3C'|X'3C' +61|0|-11|-1100|-11000000|-11000000000|1985-09-19 00:00:00|1.60|61|061|X'3D3D'|X'3D' +62|1|-12|-1200|-12000000|-12000000000|1985-09-20 00:00:00|1.57|62|062|X'3E3E3E'|X'3E' +63|0|-13|-1300|-13000000|-13000000000|1985-09-21 00:00:00|1.55|63|063|X'3F3F3F3F'|X'3F' +64|1|-14|-1400|-14000000|-14000000000|1985-09-22 00:00:00|1.52|64|064|X'4040404040'|X'40' +65|0|-15|-1500|-15000000|-15000000000|1985-09-23 00:00:00|1.50|65|065|X'41'|X'41' +66|1|-16|-1600|-16000000|-16000000000|1985-09-24 00:00:00|1.48|66|066|X'4242'|X'42' +67|0|-17|-1700|-17000000|-17000000000|1985-09-25 00:00:00|1.46|67|067|X'434343'|X'43' +68|1|-18|-1800|-18000000|-18000000000|1985-09-26 00:00:00|1.43|68|068|X'44444444'|X'44' +69|0|-19|-1900|-19000000|-19000000000|1985-09-27 00:00:00|1.41|69|069|X'4545454545'|X'45' +70|1|-20|-2000|-20000000|-20000000000|1985-09-28 00:00:00|1.39|70|070|X'46'|X'46' +71|0|-21|-2100|-21000000|-21000000000|1985-09-29 00:00:00|1.38|71|071|X'4747'|X'47' +72|1|-22|-2200|-22000000|-22000000000|1985-09-30 00:00:00|1.36|72|072|X'484848'|X'48' +73|0|-23|-2300|-23000000|-23000000000|1985-10-01 00:00:00|1.34|73|073|X'49494949'|X'49' +74|1|-24|-2400|-24000000|-24000000000|1985-10-02 00:00:00|1.32|74|074|X'4A4A4A4A4A'|X'4A' +75|0|-25|-2500|-25000000|-25000000000|1985-10-03 00:00:00|1.30|75|075|X'4B'|X'4B' +76|1|-26|-2600|-26000000|-26000000000|1985-10-04 00:00:00|1.29|76|076|X'4C4C'|X'4C' +77|0|-27|-2700|-27000000|-27000000000|1985-10-05 00:00:00|1.27|77|077|X'4D4D4D'|X'4D' +78|1|-28|-2800|-28000000|-28000000000|1985-10-06 00:00:00|1.25|78|078|X'4E4E4E4E'|X'4E' +79|0|-29|-2900|-29000000|-29000000000|1985-10-07 00:00:00|1.24|79|079|X'4F4F4F4F4F'|X'4F' +80|1|-30|-3000|-30000000|-30000000000|1985-10-08 00:00:00|1.22|80|080|X'50'|X'50' +81|0|-31|-3100|-31000000|-31000000000|1985-10-09 00:00:00|1.21|81|081|X'5151'|X'51' +82|1|-32|-3200|-32000000|-32000000000|1985-10-10 00:00:00|1.19|82|082|X'525252'|X'52' +83|0|-33|-3300|-33000000|-33000000000|1985-10-11 00:00:00|1.18|83|083|X'53535353'|X'53' +84|1|-34|-3400|-34000000|-34000000000|1985-10-12 00:00:00|1.16|84|084|X'5454545454'|X'54' +85|0|-35|-3500|-35000000|-35000000000|1985-10-13 00:00:00|1.15|85|085|X'55'|X'55' +86|1|-36|-3600|-36000000|-36000000000|1985-10-14 00:00:00|1.14|86|086|X'5656'|X'56' +87|0|-37|-3700|-37000000|-37000000000|1985-10-15 00:00:00|1.13|87|087|X'575757'|X'57' +88|1|-38|-3800|-38000000|-38000000000|1985-10-16 00:00:00|1.11|88|088|X'58585858'|X'58' +89|0|-39|-3900|-39000000|-39000000000|1985-10-17 00:00:00|1.10|89|089|X'5959595959'|X'59' +90|1|-40|-4000|-40000000|-40000000000|1985-10-18 00:00:00|1.09|90|090|X'5A'|X'5A' +91|0|-41|-4100|-41000000|-41000000000|1985-10-19 00:00:00|1.08|91|091|X'5B5B'|X'5B' +92|1|-42|-4200|-42000000|-42000000000|1985-10-20 00:00:00|1.06|92|092|X'5C5C5C'|X'5C' +93|0|-43|-4300|-43000000|-43000000000|1985-10-21 00:00:00|1.05|93|093|X'5D5D5D5D'|X'5D' +94|1|-44|-4400|-44000000|-44000000000|1985-10-22 00:00:00|1.04|94|094|X'5E5E5E5E5E'|X'5E' +95|0|-45|-4500|-45000000|-45000000000|1985-10-23 00:00:00|1.03|95|095|X'5F'|X'5F' +96|1|-46|-4600|-46000000|-46000000000|1985-10-24 00:00:00|1.02|96|096|X'6060'|X'60' +97|0|-47|-4700|-47000000|-47000000000|1985-10-25 00:00:00|1.01|97|097|X'616161'|X'61' +98|1|-48|-4800|-48000000|-48000000000|1985-10-26 00:00:00|1.00|98|098|X'62626262'|X'62' diff --git a/tests/queries/003-cross-join-count-1-rowgroup.sql b/tests/queries/003-cross-join-count-1-rowgroup.sql index 7d00e1a..18cdd23 100644 --- a/tests/queries/003-cross-join-count-1-rowgroup.sql +++ b/tests/queries/003-cross-join-count-1-rowgroup.sql @@ -1,2 +1,2 @@ select count(*) from (select * from no_nulls1 t1, no_nulls1 t2); -10000 +9801 diff --git a/tests/queries/004-cross-join-10-rowgroups.sql b/tests/queries/004-cross-join-10-rowgroups.sql index 9ed0765..765f3f5 100644 --- a/tests/queries/004-cross-join-10-rowgroups.sql +++ b/tests/queries/004-cross-join-10-rowgroups.sql @@ -1,2 +1,2 @@ select count(*) from (select * from no_nulls2 t1, no_nulls2 t2); -10000 +9801 diff --git a/tests/queries/008-nulls.sql b/tests/queries/008-nulls.sql index 0dec51c..1c4b6d6 100644 --- a/tests/queries/008-nulls.sql +++ b/tests/queries/008-nulls.sql @@ -1,2 +1,2 @@ SELECT SUM(CASE WHEN bool_0 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN int8_1 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN int16_2 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN int32_3 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN int64_4 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN ts_5 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN double_6 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN string_7 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN string_8 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN binary_9 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN binary_10 IS NULL THEN 1 ELSE 0 END) from nulls; -50|50|50|50|50|50|50|50|50|50|50 +50|49|50|49|50|49|50|49|50|49|50 diff --git a/tests/queries/009-rowid-group-by.sql b/tests/queries/009-rowid-group-by.sql index 566e69b..8632771 100644 --- a/tests/queries/009-rowid-group-by.sql +++ b/tests/queries/009-rowid-group-by.sql @@ -8,4 +8,4 @@ select rowid % 10, count(*) from nulls group by 1 order by 1 6|10 7|10 8|10 -9|10 +9|9 diff --git a/tests/queries/010-order-by-string7.sql b/tests/queries/010-order-by-string7.sql index 03171c8..e3d3efd 100644 --- a/tests/queries/010-order-by-string7.sql +++ b/tests/queries/010-order-by-string7.sql @@ -98,4 +98,3 @@ select string_7 from no_nulls1 order by string_7 96 97 98 -99 diff --git a/tests/queries/011-order-by-string8.sql b/tests/queries/011-order-by-string8.sql index ee7e347..d2ff653 100644 --- a/tests/queries/011-order-by-string8.sql +++ b/tests/queries/011-order-by-string8.sql @@ -98,4 +98,3 @@ select string_8 from no_nulls1 order by string_8 096 097 098 -099 diff --git a/tests/queries/012-string-7-is-null.sql b/tests/queries/012-string-7-is-null.sql index 7abd698..fc4c892 100644 --- a/tests/queries/012-string-7-is-null.sql +++ b/tests/queries/012-string-7-is-null.sql @@ -48,4 +48,3 @@ select rowid, bool_0, quote(binary_10) from nulls where string_7 is null 93|0|X'5D' 95|0|X'5F' 97|0|X'61' -99|0|X'63' diff --git a/tests/queries/016-nulls-like-percent-end.sql b/tests/queries/016-nulls-like-percent-end.sql index 8e75c05..1a30122 100644 --- a/tests/queries/016-nulls-like-percent-end.sql +++ b/tests/queries/016-nulls-like-percent-end.sql @@ -48,4 +48,3 @@ select string_7, string_8 from nulls where string_8 like '0%' |093 |095 |097 -|099 diff --git a/tests/queries/032-int64-lt.sql b/tests/queries/032-int64-lt.sql index a3c41d4..ae52655 100644 --- a/tests/queries/032-int64-lt.sql +++ b/tests/queries/032-int64-lt.sql @@ -1,2 +1,2 @@ -select int64_4 from nulls where int64_4 < -47000000000 --49000000000 +select int64_4 from nulls where int64_4 < -46000000000 +-47000000000 diff --git a/tests/queries/033-int64-lte.sql b/tests/queries/033-int64-lte.sql index 354cbd4..fbef373 100644 --- a/tests/queries/033-int64-lte.sql +++ b/tests/queries/033-int64-lte.sql @@ -1,3 +1,3 @@ -select int64_4 from nulls where int64_4 <= -47000000000 +select int64_4 from nulls where int64_4 <= -45000000000 +-45000000000 -47000000000 --49000000000 diff --git a/tests/queries/036-double-eq.sql b/tests/queries/036-double-eq.sql index bbd4eb3..2ec30fa 100644 --- a/tests/queries/036-double-eq.sql +++ b/tests/queries/036-double-eq.sql @@ -1,2 +1,2 @@ -select printf('%.4f', double_6) as double_6 from nulls where double_6 = 100.0 -100.0000 +select printf('%.2f', double_6) as double_6 from nulls where double_6 = 99.0 +99.00 diff --git a/tests/queries/037-double-gt.sql b/tests/queries/037-double-gt.sql index 8d8859b..22d0c4f 100644 --- a/tests/queries/037-double-gt.sql +++ b/tests/queries/037-double-gt.sql @@ -1,2 +1,2 @@ -select printf('%.4f', double_6) as double_6 from nulls where double_6 > 99 -100.0000 +select printf('%.2f', double_6) as double_6 from nulls where double_6 > 98 +99.00 diff --git a/tests/queries/038-double-gte.sql b/tests/queries/038-double-gte.sql index dd82528..61c6f75 100644 --- a/tests/queries/038-double-gte.sql +++ b/tests/queries/038-double-gte.sql @@ -1,3 +1,3 @@ -select printf('%.4f', double_6) as double_6 from nulls where double_6 >= 50 -100.0000 -50.0000 +select printf('%.2f', double_6) as double_6 from nulls where double_6 >= 49.5 +99.00 +49.50 diff --git a/tests/queries/039-double-lt.sql b/tests/queries/039-double-lt.sql index 463e71e..ad68a34 100644 --- a/tests/queries/039-double-lt.sql +++ b/tests/queries/039-double-lt.sql @@ -1,2 +1,2 @@ -select printf('%.4f', double_6) as double_6 from nulls where double_6 < 100.0 order by double_6 desc limit 1 -50.0000 +select printf('%.2f', double_6) from nulls where double_6 < 99.0 order by double_6 desc limit 1 +49.50 diff --git a/tests/queries/040-double-lte.sql b/tests/queries/040-double-lte.sql index eddcfaf..d526c8c 100644 --- a/tests/queries/040-double-lte.sql +++ b/tests/queries/040-double-lte.sql @@ -1,2 +1,2 @@ -select printf('%.4f', double_6) from nulls where double_6 <= 100.0 order by double_6 desc limit 1 -100.0000 +select printf('%.2f', double_6) from nulls where double_6 <= 99.0 order by double_6 desc limit 1 +99.00 diff --git a/tests/queries/041-double-rowid-and-field-ne.sql b/tests/queries/041-double-rowid-and-field-ne.sql index 4b554dd..b1e47fb 100644 --- a/tests/queries/041-double-rowid-and-field-ne.sql +++ b/tests/queries/041-double-rowid-and-field-ne.sql @@ -1 +1 @@ -select printf('%.4f', double_6) from nulls where rowid = 0 and double_6 <> 100 +select printf('%.2f', double_6) from nulls where rowid = 0 and double_6 <> 99 diff --git a/tests/queries/042-double-rowid-and-field-ne2.sql b/tests/queries/042-double-rowid-and-field-ne2.sql index cfcdfed..6c2c43d 100644 --- a/tests/queries/042-double-rowid-and-field-ne2.sql +++ b/tests/queries/042-double-rowid-and-field-ne2.sql @@ -1,2 +1,2 @@ -select printf('%.4f', double_6) from nulls where rowid = 0 and double_6 <> 101 -100.0000 +select printf('%.2f', double_6) from nulls where rowid = 0 and double_6 <> 100 +99.00 diff --git a/tests/queries/047-binary-gt.sql b/tests/queries/047-binary-gt.sql index 5e58c8c..31e66f5 100644 --- a/tests/queries/047-binary-gt.sql +++ b/tests/queries/047-binary-gt.sql @@ -1,2 +1,2 @@ -select rowid from nulls where binary_10 > x'61'; -99 +select rowid from nulls where binary_10 > x'60'; +97 diff --git a/tests/queries/048-binary-gte.sql b/tests/queries/048-binary-gte.sql index a50206f..241e5bb 100644 --- a/tests/queries/048-binary-gte.sql +++ b/tests/queries/048-binary-gte.sql @@ -1,3 +1,3 @@ -select rowid from nulls where binary_10 >= x'61' order by 1; +select rowid from nulls where binary_10 >= x'5F' order by 1; +95 97 -99 diff --git a/tests/test-queries b/tests/test-queries index 6c9e95f..5d93030 100755 --- a/tests/test-queries +++ b/tests/test-queries @@ -12,9 +12,9 @@ run_query() { .load parquet/libparquet .testcase $basename .bail on -CREATE VIRTUAL TABLE nulls USING parquet('$root/parquet-generator/100-rows-nulls.parquet'); -CREATE VIRTUAL TABLE no_nulls1 USING parquet('$root/parquet-generator/100-rows-1.parquet'); -CREATE VIRTUAL TABLE no_nulls2 USING parquet('$root/parquet-generator/100-rows-10.parquet'); +CREATE VIRTUAL TABLE nulls USING parquet('$root/parquet-generator/99-rows-nulls.parquet'); +CREATE VIRTUAL TABLE no_nulls1 USING parquet('$root/parquet-generator/99-rows-1.parquet'); +CREATE VIRTUAL TABLE no_nulls2 USING parquet('$root/parquet-generator/99-rows-10.parquet'); $query; .output EOF