diff --git a/parquet-generator/99-rows-1.parquet b/parquet-generator/99-rows-1.parquet index 073af6a..c676390 100644 Binary files a/parquet-generator/99-rows-1.parquet and b/parquet-generator/99-rows-1.parquet differ diff --git a/parquet-generator/99-rows-10.parquet b/parquet-generator/99-rows-10.parquet index 35826dd..403dac5 100644 Binary files a/parquet-generator/99-rows-10.parquet and b/parquet-generator/99-rows-10.parquet differ diff --git a/parquet-generator/99-rows-99.parquet b/parquet-generator/99-rows-99.parquet index b49320d..9853d2b 100644 Binary files a/parquet-generator/99-rows-99.parquet and b/parquet-generator/99-rows-99.parquet differ diff --git a/parquet-generator/99-rows-nulls-1.parquet b/parquet-generator/99-rows-nulls-1.parquet index 42f4264..f74096b 100644 Binary files a/parquet-generator/99-rows-nulls-1.parquet and b/parquet-generator/99-rows-nulls-1.parquet differ diff --git a/parquet-generator/99-rows-nulls-10.parquet b/parquet-generator/99-rows-nulls-10.parquet index 92c365e..d35be69 100644 Binary files a/parquet-generator/99-rows-nulls-10.parquet and b/parquet-generator/99-rows-nulls-10.parquet differ diff --git a/parquet-generator/99-rows-nulls-99.parquet b/parquet-generator/99-rows-nulls-99.parquet index faca90a..5d8738f 100644 Binary files a/parquet-generator/99-rows-nulls-99.parquet and b/parquet-generator/99-rows-nulls-99.parquet differ diff --git a/parquet-generator/Pipfile.lock b/parquet-generator/Pipfile.lock index f5074a7..6809da2 100644 --- a/parquet-generator/Pipfile.lock +++ b/parquet-generator/Pipfile.lock @@ -31,10 +31,10 @@ "default": { "astroid": { "hashes": [ - "sha256:db5cfc9af6e0b60cd07c19478fb54021fc20d2d189882fbcbc94fc69a8aecc58", - "sha256:f0a0e386dbca9f93ea9f3ea6f32b37a24720502b7baa9cb17c3976a680d43a06" + "sha256:0ef2bf9f07c3150929b25e8e61b5198c27b0dca195e156f0e4d5bdd89185ca1a", + "sha256:fc9b582dba0366e63540982c3944a9230cbc6f303641c51483fa547dcc22393a" ], - "version": "==1.6.1" + "version": "==1.6.5" }, "isort": { "hashes": [ @@ -87,52 +87,56 @@ }, "numpy": { "hashes": [ - "sha256:e2335d56d2fd9fc4e3a3f2d3148aafec4962682375f429f05c45a64dacf19436", - "sha256:9b762e78739b6e021124adbea07611682db99cd3fca7f3c3a8b98b8f74ea5699", - "sha256:7d4c549e41507db4f04ec7cfab5597de8acf7871b16c9cf64cebcb9d39031ca6", - "sha256:b803306c4c201e7dcda0ce1b9a9c87f61a7c7ce43de2c60c8e56147b76849a1a", - "sha256:2da8dff91d489fea3e20155d41f4cd680de7d01d9a89fdd0ebb1bee6e72d3800", - "sha256:6b8c2daacbbffc83b4a2ba83a61aa3ce60c66340b07b962bd27b6c6bb175bee1", - "sha256:89b9419019c47ec87cf4cfca77d85da4611cc0be636ec87b5290346490b98450", - "sha256:49880b47d7272f902946dd995f346842c95fe275e2deb3082ef0495f0c718a69", - "sha256:3d7ddd5bdfb12ec9668edf1aa49a4a3eddb0db4661b57ea431477eb9a2468894", - "sha256:788e1757f8e409cd805a7cd82993cd9252fa19e334758a4c6eb5a8b334abb084", - "sha256:377def0873bbb1fbdedb14b3275b10a29b1b55619a3f7f775c4e7f9ce2461b9c", - "sha256:9501c9ccd081977ca5579a3ec4009d6baff6bacb04bf07214aade3324734195a", - "sha256:a1f5173df8190ef9c6235d260d70ca70c6fb029683ceb66e244c5cc6e335947a", - "sha256:12cf4b27039b88e407ad66894d99a957ef60fea0eeb442026af325add2ab264d", - "sha256:4e2fc841c8c642f7fd44591ef856ca409cedba6aea27928df34004c533839eee", - "sha256:e5ade7a69dccbd99c4fdbb95b6d091d941e62ffa588b0ed8fb0a2854118fef3f", - "sha256:6b1011ffc87d7e2b1b7bcc6dc21bdf177163658746ef778dcd21bf0516b9126c", - "sha256:a8bc80f69570e11967763636db9b24c1e3e3689881d10ae793cec74cf7a627b6", - "sha256:81b9d8f6450e752bd82e7d9618fa053df8db1725747880e76fb09710b57f78d0", - "sha256:e8522cad377cc2ef20fe13aae742cc265172910c98e8a0d6014b1a8d564019e2", - "sha256:a3d5dd437112292c707e54f47141be2f1100221242f07eda7bd8477f3ddc2252", - "sha256:c8000a6cbc5140629be8c038c9c9cdb3a1c85ff90bd4180ec99f0f0c73050b5e", - "sha256:fa0944650d5d3fb95869eaacd8eedbd2d83610c85e271bd9d3495ffa9bc4dc9c" + "sha256:e1864a4e9f93ddb2dc6b62ccc2ec1f8250ff4ac0d3d7a15c8985dd4e1fbd6418", + "sha256:085afac75bbc97a096744fcfc97a4b321c5a87220286811e85089ae04885acdd", + "sha256:6c57f973218b776195d0356e556ec932698f3a563e2f640cfca7020086383f50", + "sha256:589336ba5199c8061239cf446ee2f2f1fcc0c68e8531ee1382b6fc0c66b2d388", + "sha256:5edf1acc827ed139086af95ce4449b7b664f57a8c29eb755411a634be280d9f2", + "sha256:6b82b81c6b3b70ed40bc6d0b71222ebfcd6b6c04a6e7945a936e514b9113d5a3", + "sha256:385f1ce46e08676505b692bfde918c1e0b350963a15ef52d77691c2cf0f5dbf6", + "sha256:758d1091a501fd2d75034e55e7e98bfd1370dc089160845c242db1c760d944d9", + "sha256:c725d11990a9243e6ceffe0ab25a07c46c1cc2c5dc55e305717b5afe856c9608", + "sha256:07379fe0b450f6fd6e5934a9bc015025bb4ce1c8fbed3ca8bef29328b1bc9570", + "sha256:9e1f53afae865cc32459ad211493cf9e2a3651a7295b7a38654ef3d123808996", + "sha256:4d278c2261be6423c5e63d8f0ceb1b0c6db3ff83f2906f4b860db6ae99ca1bb5", + "sha256:d696a8c87315a83983fc59dd27efe034292b9e8ad667aeae51a68b4be14690d9", + "sha256:2df854df882d322d5c23087a4959e145b953dfff2abe1774fec4f639ac2f3160", + "sha256:baadc5f770917ada556afb7651a68176559f4dca5f4b2d0947cd15b9fb84fb51", + "sha256:2d6481c6bdab1c75affc0fc71eb1bd4b3ecef620d06f2f60c3f00521d54be04f", + "sha256:51c5dcb51cf88b34b7d04c15f600b07c6ccbb73a089a38af2ab83c02862318da", + "sha256:8b8dcfcd630f1981f0f1e3846fae883376762a0c1b472baa35b145b911683b7b", + "sha256:9d69967673ab7b028c2df09cae05ba56bf4e39e3cb04ebe452b6035c3b49848e", + "sha256:8622db292b766719810e0cb0f62ef6141e15fe32b04e4eb2959888319e59336b", + "sha256:97fa8f1dceffab782069b291e38c4c2227f255cdac5f1e3346666931df87373e", + "sha256:381ad13c30cd1d0b2f3da8a0c1a4aa697487e8bb0e9e0cbeb7439776bcb645f8", + "sha256:91fdd510743ae4df862dbd51a4354519dd9fb8941347526cd9c2194b792b3da9", + "sha256:e1d18421a7e2ad4a655b76e65d549d4159f8874c18a417464c1d439ee7ccc7cd", + "sha256:5ae3564cb630e155a650f4f9c054589848e97836bebae5637240a0d8099f817b", + "sha256:4130e5ae16c656b7de654dc5e595cfeb85d3a4b0bb0734d19c0dce6dc7ee0e07", + "sha256:9b705f18b26fb551366ab6347ba9941b62272bf71c6bbcadcd8af94d10535241", + "sha256:a4a433b3a264dbc9aa9c7c241e87c0358a503ea6394f8737df1683c7c9a102ac" ], - "version": "==1.14.1" + "version": "==1.14.5" }, "pyarrow": { "hashes": [ - "sha256:e8cc9f6a545d08b888e7b6b4f21f65d9773ef74abfe3823e458a9bffc6889cdf", - "sha256:140c04ca9e2742df00435ac4856b109f05292fbb7e1f0b944976d0407be58997", - "sha256:5c72e2c6c3ac249bed6221d0ac6920571c00af24976627ca45ef91a59490eda8", - "sha256:3994e41cb98e6bfe3227bab76eee2c683c1a1877479154198f40a770fc71f776", - "sha256:6256e6c90478734b8f3e6976cd509614df617f3dd216144b3ea13d474c26220d", - "sha256:3a50f5d1f73bd11e3e14bf71ba24188f6604d39eb475b20a1fc34102df6a89e7", - "sha256:073d9d05f61361565112341cedc9e473b81b9f170a87b9ce3546d47378d2fa49", - "sha256:1faac9c21e57a7f92c9a5971f6414fdcf27f9288f0d3ccdf66751c0899e599a8", - "sha256:c423c577c92a9855d09be7604e79b16598d415e600a0960e8bfacfc816651ef6" + "sha256:0068f9faecb811e65db10219f6e2d39412f8807126367982a86e83138dca02f8", + "sha256:98639b861c74820c52f81775e792931658de764ca0d88676ab6e7313481545c3", + "sha256:4deeaec7bc8654523791241cad40809ec4878d0c691c6969979883809982c15b", + "sha256:0c714f122fe6b7f84554756d86d23894cd450d5f93d87b53b376e1bbe206bee9", + "sha256:f91d3988bf3654df02db2dcd7bc5cc9c4e329258bc2cb40428254020d028ce0d", + "sha256:515b7d614fc5a6953f12bd986a64cf139a6fa36131cc57e0658550b6a047f730", + "sha256:a853a7e0bdcd6ec2e9ce783425ea8d50bafa826f406367078bf4571c302da9ea", + "sha256:7db8ce2f0eff5a00d6da918ce9f9cfec265e13f8a119b4adb1595e5b19fd6242" ], - "version": "==0.8.0" + "version": "==0.9.0" }, "pylint": { "hashes": [ - "sha256:156839bedaa798febee72893beef00c650c2e7abafb5586fc7a6a56be7f80412", - "sha256:4fe3b99da7e789545327b75548cee6b511e4faa98afe268130fea1af4b5ec022" + "sha256:a48070545c12430cfc4e865bf62f5ad367784765681b3db442d8230f0960aa3c", + "sha256:fff220bcb996b4f7e2b0f6812fd81507b72ca4d8c4d05daf2655c333800cb9b3" ], - "version": "==1.8.2" + "version": "==1.9.2" }, "six": { "hashes": [ diff --git a/parquet-generator/no-nulls.csv b/parquet-generator/no-nulls.csv index 5edd093..0dd2ed4 100644 --- a/parquet-generator/no-nulls.csv +++ b/parquet-generator/no-nulls.csv @@ -1,99 +1,99 @@ -1 1 50 5000 50000000 50000000000 490665600000 99.0 0 000 X'00' X'00' -2 0 49 4900 49000000 49000000000 490752000000 49.5 1 001 X'0101' X'01' -3 1 48 4800 48000000 48000000000 490838400000 33.0 2 002 X'020202' X'02' -4 0 47 4700 47000000 47000000000 490924800000 24.75 3 003 X'03030303' X'03' -5 1 46 4600 46000000 46000000000 491011200000 19.8 4 004 X'0404040404' X'04' -6 0 45 4500 45000000 45000000000 491097600000 16.5 5 005 X'05' X'05' -7 1 44 4400 44000000 44000000000 491184000000 14.142857142857142 6 006 X'0606' X'06' -8 0 43 4300 43000000 43000000000 491270400000 12.375 7 007 X'070707' X'07' -9 1 42 4200 42000000 42000000000 491356800000 11.0 8 008 X'08080808' X'08' -10 0 41 4100 41000000 41000000000 491443200000 9.9 9 009 X'0909090909' X'09' -11 1 40 4000 40000000 40000000000 491529600000 9.0 10 010 X'0A' X'0A' -12 0 39 3900 39000000 39000000000 491616000000 8.25 11 011 X'0B0B' X'0B' -13 1 38 3800 38000000 38000000000 491702400000 7.615384615384615 12 012 X'0C0C0C' X'0C' -14 0 37 3700 37000000 37000000000 491788800000 7.071428571428571 13 013 X'0D0D0D0D' X'0D' -15 1 36 3600 36000000 36000000000 491875200000 6.6 14 014 X'0E0E0E0E0E' X'0E' -16 0 35 3500 35000000 35000000000 491961600000 6.1875 15 015 X'0F' X'0F' -17 1 34 3400 34000000 34000000000 492048000000 5.823529411764706 16 016 X'1010' X'10' -18 0 33 3300 33000000 33000000000 492134400000 5.5 17 017 X'111111' X'11' -19 1 32 3200 32000000 32000000000 492220800000 5.2105263157894735 18 018 X'12121212' X'12' -20 0 31 3100 31000000 31000000000 492307200000 4.95 19 019 X'1313131313' X'13' -21 1 30 3000 30000000 30000000000 492393600000 4.714285714285714 20 020 X'14' X'14' -22 0 29 2900 29000000 29000000000 492480000000 4.5 21 021 X'1515' X'15' -23 1 28 2800 28000000 28000000000 492566400000 4.304347826086956 22 022 X'161616' X'16' -24 0 27 2700 27000000 27000000000 492652800000 4.125 23 023 X'17171717' X'17' -25 1 26 2600 26000000 26000000000 492739200000 3.96 24 024 X'1818181818' X'18' -26 0 25 2500 25000000 25000000000 492825600000 3.8076923076923075 25 025 X'19' X'19' -27 1 24 2400 24000000 24000000000 492912000000 3.6666666666666665 26 026 X'1A1A' X'1A' -28 0 23 2300 23000000 23000000000 492998400000 3.5357142857142856 27 027 X'1B1B1B' X'1B' -29 1 22 2200 22000000 22000000000 493084800000 3.413793103448276 28 028 X'1C1C1C1C' X'1C' -30 0 21 2100 21000000 21000000000 493171200000 3.3 29 029 X'1D1D1D1D1D' X'1D' -31 1 20 2000 20000000 20000000000 493257600000 3.193548387096774 30 030 X'1E' X'1E' -32 0 19 1900 19000000 19000000000 493344000000 3.09375 31 031 X'1F1F' X'1F' -33 1 18 1800 18000000 18000000000 493430400000 3.0 32 032 X'202020' X'20' -34 0 17 1700 17000000 17000000000 493516800000 2.911764705882353 33 033 X'21212121' X'21' -35 1 16 1600 16000000 16000000000 493603200000 2.8285714285714287 34 034 X'2222222222' X'22' -36 0 15 1500 15000000 15000000000 493689600000 2.75 35 035 X'23' X'23' -37 1 14 1400 14000000 14000000000 493776000000 2.675675675675676 36 036 X'2424' X'24' -38 0 13 1300 13000000 13000000000 493862400000 2.6052631578947367 37 037 X'252525' X'25' -39 1 12 1200 12000000 12000000000 493948800000 2.5384615384615383 38 038 X'26262626' X'26' -40 0 11 1100 11000000 11000000000 494035200000 2.475 39 039 X'2727272727' X'27' -41 1 10 1000 10000000 10000000000 494121600000 2.4146341463414633 40 040 X'28' X'28' -42 0 9 900 9000000 9000000000 494208000000 2.357142857142857 41 041 X'2929' X'29' -43 1 8 800 8000000 8000000000 494294400000 2.302325581395349 42 042 X'2A2A2A' X'2A' -44 0 7 700 7000000 7000000000 494380800000 2.25 43 043 X'2B2B2B2B' X'2B' -45 1 6 600 6000000 6000000000 494467200000 2.2 44 044 X'2C2C2C2C2C' X'2C' -46 0 5 500 5000000 5000000000 494553600000 2.152173913043478 45 045 X'2D' X'2D' -47 1 4 400 4000000 4000000000 494640000000 2.106382978723404 46 046 X'2E2E' X'2E' -48 0 3 300 3000000 3000000000 494726400000 2.0625 47 047 X'2F2F2F' X'2F' -49 1 2 200 2000000 2000000000 494812800000 2.020408163265306 48 048 X'30303030' X'30' -50 0 1 100 1000000 1000000000 494899200000 1.98 49 049 X'3131313131' X'31' -51 1 0 0 0 0 494985600000 1.9411764705882353 50 050 X'32' X'32' -52 0 -1 -100 -1000000 -1000000000 495072000000 1.9038461538461537 51 051 X'3333' X'33' -53 1 -2 -200 -2000000 -2000000000 495158400000 1.8679245283018868 52 052 X'343434' X'34' -54 0 -3 -300 -3000000 -3000000000 495244800000 1.8333333333333333 53 053 X'35353535' X'35' -55 1 -4 -400 -4000000 -4000000000 495331200000 1.8 54 054 X'3636363636' X'36' -56 0 -5 -500 -5000000 -5000000000 495417600000 1.7678571428571428 55 055 X'37' X'37' -57 1 -6 -600 -6000000 -6000000000 495504000000 1.736842105263158 56 056 X'3838' X'38' -58 0 -7 -700 -7000000 -7000000000 495590400000 1.706896551724138 57 057 X'393939' X'39' -59 1 -8 -800 -8000000 -8000000000 495676800000 1.6779661016949152 58 058 X'3A3A3A3A' X'3A' -60 0 -9 -900 -9000000 -9000000000 495763200000 1.65 59 059 X'3B3B3B3B3B' X'3B' -61 1 -10 -1000 -10000000 -10000000000 495849600000 1.6229508196721312 60 060 X'3C' X'3C' -62 0 -11 -1100 -11000000 -11000000000 495936000000 1.596774193548387 61 061 X'3D3D' X'3D' -63 1 -12 -1200 -12000000 -12000000000 496022400000 1.5714285714285714 62 062 X'3E3E3E' X'3E' -64 0 -13 -1300 -13000000 -13000000000 496108800000 1.546875 63 063 X'3F3F3F3F' X'3F' -65 1 -14 -1400 -14000000 -14000000000 496195200000 1.523076923076923 64 064 X'4040404040' X'40' -66 0 -15 -1500 -15000000 -15000000000 496281600000 1.5 65 065 X'41' X'41' -67 1 -16 -1600 -16000000 -16000000000 496368000000 1.4776119402985075 66 066 X'4242' X'42' -68 0 -17 -1700 -17000000 -17000000000 496454400000 1.4558823529411764 67 067 X'434343' X'43' -69 1 -18 -1800 -18000000 -18000000000 496540800000 1.434782608695652 68 068 X'44444444' X'44' -70 0 -19 -1900 -19000000 -19000000000 496627200000 1.4142857142857144 69 069 X'4545454545' X'45' -71 1 -20 -2000 -20000000 -20000000000 496713600000 1.3943661971830985 70 070 X'46' X'46' -72 0 -21 -2100 -21000000 -21000000000 496800000000 1.375 71 071 X'4747' X'47' -73 1 -22 -2200 -22000000 -22000000000 496886400000 1.356164383561644 72 072 X'484848' X'48' -74 0 -23 -2300 -23000000 -23000000000 496972800000 1.337837837837838 73 073 X'49494949' X'49' -75 1 -24 -2400 -24000000 -24000000000 497059200000 1.32 74 074 X'4A4A4A4A4A' X'4A' -76 0 -25 -2500 -25000000 -25000000000 497145600000 1.3026315789473684 75 075 X'4B' X'4B' -77 1 -26 -2600 -26000000 -26000000000 497232000000 1.2857142857142858 76 076 X'4C4C' X'4C' -78 0 -27 -2700 -27000000 -27000000000 497318400000 1.2692307692307692 77 077 X'4D4D4D' X'4D' -79 1 -28 -2800 -28000000 -28000000000 497404800000 1.2531645569620253 78 078 X'4E4E4E4E' X'4E' -80 0 -29 -2900 -29000000 -29000000000 497491200000 1.2375 79 079 X'4F4F4F4F4F' X'4F' -81 1 -30 -3000 -30000000 -30000000000 497577600000 1.2222222222222223 80 080 X'50' X'50' -82 0 -31 -3100 -31000000 -31000000000 497664000000 1.2073170731707317 81 081 X'5151' X'51' -83 1 -32 -3200 -32000000 -32000000000 497750400000 1.1927710843373494 82 082 X'525252' X'52' -84 0 -33 -3300 -33000000 -33000000000 497836800000 1.1785714285714286 83 083 X'53535353' X'53' -85 1 -34 -3400 -34000000 -34000000000 497923200000 1.1647058823529413 84 084 X'5454545454' X'54' -86 0 -35 -3500 -35000000 -35000000000 498009600000 1.1511627906976745 85 085 X'55' X'55' -87 1 -36 -3600 -36000000 -36000000000 498096000000 1.1379310344827587 86 086 X'5656' X'56' -88 0 -37 -3700 -37000000 -37000000000 498182400000 1.125 87 087 X'575757' X'57' -89 1 -38 -3800 -38000000 -38000000000 498268800000 1.1123595505617978 88 088 X'58585858' X'58' -90 0 -39 -3900 -39000000 -39000000000 498355200000 1.1 89 089 X'5959595959' X'59' -91 1 -40 -4000 -40000000 -40000000000 498441600000 1.0879120879120878 90 090 X'5A' X'5A' -92 0 -41 -4100 -41000000 -41000000000 498528000000 1.076086956521739 91 091 X'5B5B' X'5B' -93 1 -42 -4200 -42000000 -42000000000 498614400000 1.064516129032258 92 092 X'5C5C5C' X'5C' -94 0 -43 -4300 -43000000 -43000000000 498700800000 1.053191489361702 93 093 X'5D5D5D5D' X'5D' -95 1 -44 -4400 -44000000 -44000000000 498787200000 1.0421052631578946 94 094 X'5E5E5E5E5E' X'5E' -96 0 -45 -4500 -45000000 -45000000000 498873600000 1.03125 95 095 X'5F' X'5F' -97 1 -46 -4600 -46000000 -46000000000 498960000000 1.0206185567010309 96 096 X'6060' X'60' -98 0 -47 -4700 -47000000 -47000000000 499046400000 1.010204081632653 97 097 X'616161' X'61' -99 1 -48 -4800 -48000000 -48000000000 499132800000 1 98 098 X'62626262' X'62' +1 1 50 5000 50000000 50000000000 490665600000 99.0 0 000 X'00' X'00' 1 +2 0 49 4900 49000000 49000000000 490752000000 49.5 1 001 X'0101' X'01' 0.5 +3 1 48 4800 48000000 48000000000 490838400000 33.0 2 002 X'020202' X'02' 0.3333333333333333 +4 0 47 4700 47000000 47000000000 490924800000 24.75 3 003 X'03030303' X'03' 0.25 +5 1 46 4600 46000000 46000000000 491011200000 19.8 4 004 X'0404040404' X'04' 0.2 +6 0 45 4500 45000000 45000000000 491097600000 16.5 5 005 X'05' X'05' 0.16666666666666666 +7 1 44 4400 44000000 44000000000 491184000000 14.142857142857142 6 006 X'0606' X'06' 0.14285714285714285 +8 0 43 4300 43000000 43000000000 491270400000 12.375 7 007 X'070707' X'07' 0.125 +9 1 42 4200 42000000 42000000000 491356800000 11.0 8 008 X'08080808' X'08' 0.1111111111111111 +10 0 41 4100 41000000 41000000000 491443200000 9.9 9 009 X'0909090909' X'09' 0.1 +11 1 40 4000 40000000 40000000000 491529600000 9.0 10 010 X'0A' X'0A' 0.09090909090909091 +12 0 39 3900 39000000 39000000000 491616000000 8.25 11 011 X'0B0B' X'0B' 0.08333333333333333 +13 1 38 3800 38000000 38000000000 491702400000 7.615384615384615 12 012 X'0C0C0C' X'0C' 0.07692307692307693 +14 0 37 3700 37000000 37000000000 491788800000 7.071428571428571 13 013 X'0D0D0D0D' X'0D' 0.07142857142857142 +15 1 36 3600 36000000 36000000000 491875200000 6.6 14 014 X'0E0E0E0E0E' X'0E' 0.06666666666666667 +16 0 35 3500 35000000 35000000000 491961600000 6.1875 15 015 X'0F' X'0F' 0.0625 +17 1 34 3400 34000000 34000000000 492048000000 5.823529411764706 16 016 X'1010' X'10' 0.058823529411764705 +18 0 33 3300 33000000 33000000000 492134400000 5.5 17 017 X'111111' X'11' 0.05555555555555555 +19 1 32 3200 32000000 32000000000 492220800000 5.2105263157894735 18 018 X'12121212' X'12' 0.05263157894736842 +20 0 31 3100 31000000 31000000000 492307200000 4.95 19 019 X'1313131313' X'13' 0.05 +21 1 30 3000 30000000 30000000000 492393600000 4.714285714285714 20 020 X'14' X'14' 0.047619047619047616 +22 0 29 2900 29000000 29000000000 492480000000 4.5 21 021 X'1515' X'15' 0.045454545454545456 +23 1 28 2800 28000000 28000000000 492566400000 4.304347826086956 22 022 X'161616' X'16' 0.043478260869565216 +24 0 27 2700 27000000 27000000000 492652800000 4.125 23 023 X'17171717' X'17' 0.041666666666666664 +25 1 26 2600 26000000 26000000000 492739200000 3.96 24 024 X'1818181818' X'18' 0.04 +26 0 25 2500 25000000 25000000000 492825600000 3.8076923076923075 25 025 X'19' X'19' 0.038461538461538464 +27 1 24 2400 24000000 24000000000 492912000000 3.6666666666666665 26 026 X'1A1A' X'1A' 0.037037037037037035 +28 0 23 2300 23000000 23000000000 492998400000 3.5357142857142856 27 027 X'1B1B1B' X'1B' 0.03571428571428571 +29 1 22 2200 22000000 22000000000 493084800000 3.413793103448276 28 028 X'1C1C1C1C' X'1C' 0.034482758620689655 +30 0 21 2100 21000000 21000000000 493171200000 3.3 29 029 X'1D1D1D1D1D' X'1D' 0.03333333333333333 +31 1 20 2000 20000000 20000000000 493257600000 3.193548387096774 30 030 X'1E' X'1E' 0.03225806451612903 +32 0 19 1900 19000000 19000000000 493344000000 3.09375 31 031 X'1F1F' X'1F' 0.03125 +33 1 18 1800 18000000 18000000000 493430400000 3.0 32 032 X'202020' X'20' 0.030303030303030304 +34 0 17 1700 17000000 17000000000 493516800000 2.911764705882353 33 033 X'21212121' X'21' 0.029411764705882353 +35 1 16 1600 16000000 16000000000 493603200000 2.8285714285714287 34 034 X'2222222222' X'22' 0.02857142857142857 +36 0 15 1500 15000000 15000000000 493689600000 2.75 35 035 X'23' X'23' 0.027777777777777776 +37 1 14 1400 14000000 14000000000 493776000000 2.675675675675676 36 036 X'2424' X'24' 0.02702702702702703 +38 0 13 1300 13000000 13000000000 493862400000 2.6052631578947367 37 037 X'252525' X'25' 0.02631578947368421 +39 1 12 1200 12000000 12000000000 493948800000 2.5384615384615383 38 038 X'26262626' X'26' 0.02564102564102564 +40 0 11 1100 11000000 11000000000 494035200000 2.475 39 039 X'2727272727' X'27' 0.025 +41 1 10 1000 10000000 10000000000 494121600000 2.4146341463414633 40 040 X'28' X'28' 0.024390243902439025 +42 0 9 900 9000000 9000000000 494208000000 2.357142857142857 41 041 X'2929' X'29' 0.023809523809523808 +43 1 8 800 8000000 8000000000 494294400000 2.302325581395349 42 042 X'2A2A2A' X'2A' 0.023255813953488372 +44 0 7 700 7000000 7000000000 494380800000 2.25 43 043 X'2B2B2B2B' X'2B' 0.022727272727272728 +45 1 6 600 6000000 6000000000 494467200000 2.2 44 044 X'2C2C2C2C2C' X'2C' 0.022222222222222223 +46 0 5 500 5000000 5000000000 494553600000 2.152173913043478 45 045 X'2D' X'2D' 0.021739130434782608 +47 1 4 400 4000000 4000000000 494640000000 2.106382978723404 46 046 X'2E2E' X'2E' 0.02127659574468085 +48 0 3 300 3000000 3000000000 494726400000 2.0625 47 047 X'2F2F2F' X'2F' 0.020833333333333332 +49 1 2 200 2000000 2000000000 494812800000 2.020408163265306 48 048 X'30303030' X'30' 0.02040816326530612 +50 0 1 100 1000000 1000000000 494899200000 1.98 49 049 X'3131313131' X'31' 0.02 +51 1 0 0 0 0 494985600000 1.9411764705882353 50 050 X'32' X'32' 0.0196078431372549 +52 0 -1 -100 -1000000 -1000000000 495072000000 1.9038461538461537 51 051 X'3333' X'33' 0.019230769230769232 +53 1 -2 -200 -2000000 -2000000000 495158400000 1.8679245283018868 52 052 X'343434' X'34' 0.018867924528301886 +54 0 -3 -300 -3000000 -3000000000 495244800000 1.8333333333333333 53 053 X'35353535' X'35' 0.018518518518518517 +55 1 -4 -400 -4000000 -4000000000 495331200000 1.8 54 054 X'3636363636' X'36' 0.01818181818181818 +56 0 -5 -500 -5000000 -5000000000 495417600000 1.7678571428571428 55 055 X'37' X'37' 0.017857142857142856 +57 1 -6 -600 -6000000 -6000000000 495504000000 1.736842105263158 56 056 X'3838' X'38' 0.017543859649122806 +58 0 -7 -700 -7000000 -7000000000 495590400000 1.706896551724138 57 057 X'393939' X'39' 0.017241379310344827 +59 1 -8 -800 -8000000 -8000000000 495676800000 1.6779661016949152 58 058 X'3A3A3A3A' X'3A' 0.01694915254237288 +60 0 -9 -900 -9000000 -9000000000 495763200000 1.65 59 059 X'3B3B3B3B3B' X'3B' 0.016666666666666666 +61 1 -10 -1000 -10000000 -10000000000 495849600000 1.6229508196721312 60 060 X'3C' X'3C' 0.01639344262295082 +62 0 -11 -1100 -11000000 -11000000000 495936000000 1.596774193548387 61 061 X'3D3D' X'3D' 0.016129032258064516 +63 1 -12 -1200 -12000000 -12000000000 496022400000 1.5714285714285714 62 062 X'3E3E3E' X'3E' 0.015873015873015872 +64 0 -13 -1300 -13000000 -13000000000 496108800000 1.546875 63 063 X'3F3F3F3F' X'3F' 0.015625 +65 1 -14 -1400 -14000000 -14000000000 496195200000 1.523076923076923 64 064 X'4040404040' X'40' 0.015384615384615385 +66 0 -15 -1500 -15000000 -15000000000 496281600000 1.5 65 065 X'41' X'41' 0.015151515151515152 +67 1 -16 -1600 -16000000 -16000000000 496368000000 1.4776119402985075 66 066 X'4242' X'42' 0.014925373134328358 +68 0 -17 -1700 -17000000 -17000000000 496454400000 1.4558823529411764 67 067 X'434343' X'43' 0.014705882352941176 +69 1 -18 -1800 -18000000 -18000000000 496540800000 1.434782608695652 68 068 X'44444444' X'44' 0.014492753623188406 +70 0 -19 -1900 -19000000 -19000000000 496627200000 1.4142857142857144 69 069 X'4545454545' X'45' 0.014285714285714285 +71 1 -20 -2000 -20000000 -20000000000 496713600000 1.3943661971830985 70 070 X'46' X'46' 0.014084507042253521 +72 0 -21 -2100 -21000000 -21000000000 496800000000 1.375 71 071 X'4747' X'47' 0.013888888888888888 +73 1 -22 -2200 -22000000 -22000000000 496886400000 1.356164383561644 72 072 X'484848' X'48' 0.0136986301369863 +74 0 -23 -2300 -23000000 -23000000000 496972800000 1.337837837837838 73 073 X'49494949' X'49' 0.013513513513513514 +75 1 -24 -2400 -24000000 -24000000000 497059200000 1.32 74 074 X'4A4A4A4A4A' X'4A' 0.013333333333333334 +76 0 -25 -2500 -25000000 -25000000000 497145600000 1.3026315789473684 75 075 X'4B' X'4B' 0.013157894736842105 +77 1 -26 -2600 -26000000 -26000000000 497232000000 1.2857142857142858 76 076 X'4C4C' X'4C' 0.012987012987012988 +78 0 -27 -2700 -27000000 -27000000000 497318400000 1.2692307692307692 77 077 X'4D4D4D' X'4D' 0.01282051282051282 +79 1 -28 -2800 -28000000 -28000000000 497404800000 1.2531645569620253 78 078 X'4E4E4E4E' X'4E' 0.012658227848101266 +80 0 -29 -2900 -29000000 -29000000000 497491200000 1.2375 79 079 X'4F4F4F4F4F' X'4F' 0.0125 +81 1 -30 -3000 -30000000 -30000000000 497577600000 1.2222222222222223 80 080 X'50' X'50' 0.012345679012345678 +82 0 -31 -3100 -31000000 -31000000000 497664000000 1.2073170731707317 81 081 X'5151' X'51' 0.012195121951219513 +83 1 -32 -3200 -32000000 -32000000000 497750400000 1.1927710843373494 82 082 X'525252' X'52' 0.012048192771084338 +84 0 -33 -3300 -33000000 -33000000000 497836800000 1.1785714285714286 83 083 X'53535353' X'53' 0.011904761904761904 +85 1 -34 -3400 -34000000 -34000000000 497923200000 1.1647058823529413 84 084 X'5454545454' X'54' 0.011764705882352941 +86 0 -35 -3500 -35000000 -35000000000 498009600000 1.1511627906976745 85 085 X'55' X'55' 0.011627906976744186 +87 1 -36 -3600 -36000000 -36000000000 498096000000 1.1379310344827587 86 086 X'5656' X'56' 0.011494252873563218 +88 0 -37 -3700 -37000000 -37000000000 498182400000 1.125 87 087 X'575757' X'57' 0.011363636363636364 +89 1 -38 -3800 -38000000 -38000000000 498268800000 1.1123595505617978 88 088 X'58585858' X'58' 0.011235955056179775 +90 0 -39 -3900 -39000000 -39000000000 498355200000 1.1 89 089 X'5959595959' X'59' 0.011111111111111112 +91 1 -40 -4000 -40000000 -40000000000 498441600000 1.0879120879120878 90 090 X'5A' X'5A' 0.01098901098901099 +92 0 -41 -4100 -41000000 -41000000000 498528000000 1.076086956521739 91 091 X'5B5B' X'5B' 0.010869565217391304 +93 1 -42 -4200 -42000000 -42000000000 498614400000 1.064516129032258 92 092 X'5C5C5C' X'5C' 0.010752688172043012 +94 0 -43 -4300 -43000000 -43000000000 498700800000 1.053191489361702 93 093 X'5D5D5D5D' X'5D' 0.010638297872340425 +95 1 -44 -4400 -44000000 -44000000000 498787200000 1.0421052631578946 94 094 X'5E5E5E5E5E' X'5E' 0.010526315789473684 +96 0 -45 -4500 -45000000 -45000000000 498873600000 1.03125 95 095 X'5F' X'5F' 0.010416666666666666 +97 1 -46 -4600 -46000000 -46000000000 498960000000 1.0206185567010309 96 096 X'6060' X'60' 0.010309278350515464 +98 0 -47 -4700 -47000000 -47000000000 499046400000 1.010204081632653 97 097 X'616161' X'61' 0.01020408163265306 +99 1 -48 -4800 -48000000 -48000000000 499132800000 1 98 098 X'62626262' X'62' 0.010101010101010102 diff --git a/parquet-generator/no-nulls.sql b/parquet-generator/no-nulls.sql index e1a5362..cbf0f2d 100644 --- a/parquet-generator/no-nulls.sql +++ b/parquet-generator/no-nulls.sql @@ -1,102 +1,102 @@ BEGIN;DROP TABLE IF EXISTS no_nulls; -CREATE TABLE no_nulls (bool_0 BOOLEAN, int8_1 TINYINT, int16_2 SMALLINT, int32_3 INT, int64_4 BIGINT, ts_5 BIGINT, double_6 DOUBLE, string_7 TEXT, string_8 TEXT, binary_9 BLOB, binary_10 BLOB); -INSERT INTO no_nulls VALUES (1, 50, 5000, 50000000, 50000000000, 490665600000, 99.0, '0', '000', X'00', X'00'); -INSERT INTO no_nulls VALUES (0, 49, 4900, 49000000, 49000000000, 490752000000, 49.5, '1', '001', X'0101', X'01'); -INSERT INTO no_nulls VALUES (1, 48, 4800, 48000000, 48000000000, 490838400000, 33.0, '2', '002', X'020202', X'02'); -INSERT INTO no_nulls VALUES (0, 47, 4700, 47000000, 47000000000, 490924800000, 24.75, '3', '003', X'03030303', X'03'); -INSERT INTO no_nulls VALUES (1, 46, 4600, 46000000, 46000000000, 491011200000, 19.8, '4', '004', X'0404040404', X'04'); -INSERT INTO no_nulls VALUES (0, 45, 4500, 45000000, 45000000000, 491097600000, 16.5, '5', '005', X'05', X'05'); -INSERT INTO no_nulls VALUES (1, 44, 4400, 44000000, 44000000000, 491184000000, 14.142857142857142, '6', '006', X'0606', X'06'); -INSERT INTO no_nulls VALUES (0, 43, 4300, 43000000, 43000000000, 491270400000, 12.375, '7', '007', X'070707', X'07'); -INSERT INTO no_nulls VALUES (1, 42, 4200, 42000000, 42000000000, 491356800000, 11.0, '8', '008', X'08080808', X'08'); -INSERT INTO no_nulls VALUES (0, 41, 4100, 41000000, 41000000000, 491443200000, 9.9, '9', '009', X'0909090909', X'09'); -INSERT INTO no_nulls VALUES (1, 40, 4000, 40000000, 40000000000, 491529600000, 9.0, '10', '010', X'0A', X'0A'); -INSERT INTO no_nulls VALUES (0, 39, 3900, 39000000, 39000000000, 491616000000, 8.25, '11', '011', X'0B0B', X'0B'); -INSERT INTO no_nulls VALUES (1, 38, 3800, 38000000, 38000000000, 491702400000, 7.615384615384615, '12', '012', X'0C0C0C', X'0C'); -INSERT INTO no_nulls VALUES (0, 37, 3700, 37000000, 37000000000, 491788800000, 7.071428571428571, '13', '013', X'0D0D0D0D', X'0D'); -INSERT INTO no_nulls VALUES (1, 36, 3600, 36000000, 36000000000, 491875200000, 6.6, '14', '014', X'0E0E0E0E0E', X'0E'); -INSERT INTO no_nulls VALUES (0, 35, 3500, 35000000, 35000000000, 491961600000, 6.1875, '15', '015', X'0F', X'0F'); -INSERT INTO no_nulls VALUES (1, 34, 3400, 34000000, 34000000000, 492048000000, 5.823529411764706, '16', '016', X'1010', X'10'); -INSERT INTO no_nulls VALUES (0, 33, 3300, 33000000, 33000000000, 492134400000, 5.5, '17', '017', X'111111', X'11'); -INSERT INTO no_nulls VALUES (1, 32, 3200, 32000000, 32000000000, 492220800000, 5.2105263157894735, '18', '018', X'12121212', X'12'); -INSERT INTO no_nulls VALUES (0, 31, 3100, 31000000, 31000000000, 492307200000, 4.95, '19', '019', X'1313131313', X'13'); -INSERT INTO no_nulls VALUES (1, 30, 3000, 30000000, 30000000000, 492393600000, 4.714285714285714, '20', '020', X'14', X'14'); -INSERT INTO no_nulls VALUES (0, 29, 2900, 29000000, 29000000000, 492480000000, 4.5, '21', '021', X'1515', X'15'); -INSERT INTO no_nulls VALUES (1, 28, 2800, 28000000, 28000000000, 492566400000, 4.304347826086956, '22', '022', X'161616', X'16'); -INSERT INTO no_nulls VALUES (0, 27, 2700, 27000000, 27000000000, 492652800000, 4.125, '23', '023', X'17171717', X'17'); -INSERT INTO no_nulls VALUES (1, 26, 2600, 26000000, 26000000000, 492739200000, 3.96, '24', '024', X'1818181818', X'18'); -INSERT INTO no_nulls VALUES (0, 25, 2500, 25000000, 25000000000, 492825600000, 3.8076923076923075, '25', '025', X'19', X'19'); -INSERT INTO no_nulls VALUES (1, 24, 2400, 24000000, 24000000000, 492912000000, 3.6666666666666665, '26', '026', X'1A1A', X'1A'); -INSERT INTO no_nulls VALUES (0, 23, 2300, 23000000, 23000000000, 492998400000, 3.5357142857142856, '27', '027', X'1B1B1B', X'1B'); -INSERT INTO no_nulls VALUES (1, 22, 2200, 22000000, 22000000000, 493084800000, 3.413793103448276, '28', '028', X'1C1C1C1C', X'1C'); -INSERT INTO no_nulls VALUES (0, 21, 2100, 21000000, 21000000000, 493171200000, 3.3, '29', '029', X'1D1D1D1D1D', X'1D'); -INSERT INTO no_nulls VALUES (1, 20, 2000, 20000000, 20000000000, 493257600000, 3.193548387096774, '30', '030', X'1E', X'1E'); -INSERT INTO no_nulls VALUES (0, 19, 1900, 19000000, 19000000000, 493344000000, 3.09375, '31', '031', X'1F1F', X'1F'); -INSERT INTO no_nulls VALUES (1, 18, 1800, 18000000, 18000000000, 493430400000, 3.0, '32', '032', X'202020', X'20'); -INSERT INTO no_nulls VALUES (0, 17, 1700, 17000000, 17000000000, 493516800000, 2.911764705882353, '33', '033', X'21212121', X'21'); -INSERT INTO no_nulls VALUES (1, 16, 1600, 16000000, 16000000000, 493603200000, 2.8285714285714287, '34', '034', X'2222222222', X'22'); -INSERT INTO no_nulls VALUES (0, 15, 1500, 15000000, 15000000000, 493689600000, 2.75, '35', '035', X'23', X'23'); -INSERT INTO no_nulls VALUES (1, 14, 1400, 14000000, 14000000000, 493776000000, 2.675675675675676, '36', '036', X'2424', X'24'); -INSERT INTO no_nulls VALUES (0, 13, 1300, 13000000, 13000000000, 493862400000, 2.6052631578947367, '37', '037', X'252525', X'25'); -INSERT INTO no_nulls VALUES (1, 12, 1200, 12000000, 12000000000, 493948800000, 2.5384615384615383, '38', '038', X'26262626', X'26'); -INSERT INTO no_nulls VALUES (0, 11, 1100, 11000000, 11000000000, 494035200000, 2.475, '39', '039', X'2727272727', X'27'); -INSERT INTO no_nulls VALUES (1, 10, 1000, 10000000, 10000000000, 494121600000, 2.4146341463414633, '40', '040', X'28', X'28'); -INSERT INTO no_nulls VALUES (0, 9, 900, 9000000, 9000000000, 494208000000, 2.357142857142857, '41', '041', X'2929', X'29'); -INSERT INTO no_nulls VALUES (1, 8, 800, 8000000, 8000000000, 494294400000, 2.302325581395349, '42', '042', X'2A2A2A', X'2A'); -INSERT INTO no_nulls VALUES (0, 7, 700, 7000000, 7000000000, 494380800000, 2.25, '43', '043', X'2B2B2B2B', X'2B'); -INSERT INTO no_nulls VALUES (1, 6, 600, 6000000, 6000000000, 494467200000, 2.2, '44', '044', X'2C2C2C2C2C', X'2C'); -INSERT INTO no_nulls VALUES (0, 5, 500, 5000000, 5000000000, 494553600000, 2.152173913043478, '45', '045', X'2D', X'2D'); -INSERT INTO no_nulls VALUES (1, 4, 400, 4000000, 4000000000, 494640000000, 2.106382978723404, '46', '046', X'2E2E', X'2E'); -INSERT INTO no_nulls VALUES (0, 3, 300, 3000000, 3000000000, 494726400000, 2.0625, '47', '047', X'2F2F2F', X'2F'); -INSERT INTO no_nulls VALUES (1, 2, 200, 2000000, 2000000000, 494812800000, 2.020408163265306, '48', '048', X'30303030', X'30'); -INSERT INTO no_nulls VALUES (0, 1, 100, 1000000, 1000000000, 494899200000, 1.98, '49', '049', X'3131313131', X'31'); -INSERT INTO no_nulls VALUES (1, 0, 0, 0, 0, 494985600000, 1.9411764705882353, '50', '050', X'32', X'32'); -INSERT INTO no_nulls VALUES (0, -1, -100, -1000000, -1000000000, 495072000000, 1.9038461538461537, '51', '051', X'3333', X'33'); -INSERT INTO no_nulls VALUES (1, -2, -200, -2000000, -2000000000, 495158400000, 1.8679245283018868, '52', '052', X'343434', X'34'); -INSERT INTO no_nulls VALUES (0, -3, -300, -3000000, -3000000000, 495244800000, 1.8333333333333333, '53', '053', X'35353535', X'35'); -INSERT INTO no_nulls VALUES (1, -4, -400, -4000000, -4000000000, 495331200000, 1.8, '54', '054', X'3636363636', X'36'); -INSERT INTO no_nulls VALUES (0, -5, -500, -5000000, -5000000000, 495417600000, 1.7678571428571428, '55', '055', X'37', X'37'); -INSERT INTO no_nulls VALUES (1, -6, -600, -6000000, -6000000000, 495504000000, 1.736842105263158, '56', '056', X'3838', X'38'); -INSERT INTO no_nulls VALUES (0, -7, -700, -7000000, -7000000000, 495590400000, 1.706896551724138, '57', '057', X'393939', X'39'); -INSERT INTO no_nulls VALUES (1, -8, -800, -8000000, -8000000000, 495676800000, 1.6779661016949152, '58', '058', X'3A3A3A3A', X'3A'); -INSERT INTO no_nulls VALUES (0, -9, -900, -9000000, -9000000000, 495763200000, 1.65, '59', '059', X'3B3B3B3B3B', X'3B'); -INSERT INTO no_nulls VALUES (1, -10, -1000, -10000000, -10000000000, 495849600000, 1.6229508196721312, '60', '060', X'3C', X'3C'); -INSERT INTO no_nulls VALUES (0, -11, -1100, -11000000, -11000000000, 495936000000, 1.596774193548387, '61', '061', X'3D3D', X'3D'); -INSERT INTO no_nulls VALUES (1, -12, -1200, -12000000, -12000000000, 496022400000, 1.5714285714285714, '62', '062', X'3E3E3E', X'3E'); -INSERT INTO no_nulls VALUES (0, -13, -1300, -13000000, -13000000000, 496108800000, 1.546875, '63', '063', X'3F3F3F3F', X'3F'); -INSERT INTO no_nulls VALUES (1, -14, -1400, -14000000, -14000000000, 496195200000, 1.523076923076923, '64', '064', X'4040404040', X'40'); -INSERT INTO no_nulls VALUES (0, -15, -1500, -15000000, -15000000000, 496281600000, 1.5, '65', '065', X'41', X'41'); -INSERT INTO no_nulls VALUES (1, -16, -1600, -16000000, -16000000000, 496368000000, 1.4776119402985075, '66', '066', X'4242', X'42'); -INSERT INTO no_nulls VALUES (0, -17, -1700, -17000000, -17000000000, 496454400000, 1.4558823529411764, '67', '067', X'434343', X'43'); -INSERT INTO no_nulls VALUES (1, -18, -1800, -18000000, -18000000000, 496540800000, 1.434782608695652, '68', '068', X'44444444', X'44'); -INSERT INTO no_nulls VALUES (0, -19, -1900, -19000000, -19000000000, 496627200000, 1.4142857142857144, '69', '069', X'4545454545', X'45'); -INSERT INTO no_nulls VALUES (1, -20, -2000, -20000000, -20000000000, 496713600000, 1.3943661971830985, '70', '070', X'46', X'46'); -INSERT INTO no_nulls VALUES (0, -21, -2100, -21000000, -21000000000, 496800000000, 1.375, '71', '071', X'4747', X'47'); -INSERT INTO no_nulls VALUES (1, -22, -2200, -22000000, -22000000000, 496886400000, 1.356164383561644, '72', '072', X'484848', X'48'); -INSERT INTO no_nulls VALUES (0, -23, -2300, -23000000, -23000000000, 496972800000, 1.337837837837838, '73', '073', X'49494949', X'49'); -INSERT INTO no_nulls VALUES (1, -24, -2400, -24000000, -24000000000, 497059200000, 1.32, '74', '074', X'4A4A4A4A4A', X'4A'); -INSERT INTO no_nulls VALUES (0, -25, -2500, -25000000, -25000000000, 497145600000, 1.3026315789473684, '75', '075', X'4B', X'4B'); -INSERT INTO no_nulls VALUES (1, -26, -2600, -26000000, -26000000000, 497232000000, 1.2857142857142858, '76', '076', X'4C4C', X'4C'); -INSERT INTO no_nulls VALUES (0, -27, -2700, -27000000, -27000000000, 497318400000, 1.2692307692307692, '77', '077', X'4D4D4D', X'4D'); -INSERT INTO no_nulls VALUES (1, -28, -2800, -28000000, -28000000000, 497404800000, 1.2531645569620253, '78', '078', X'4E4E4E4E', X'4E'); -INSERT INTO no_nulls VALUES (0, -29, -2900, -29000000, -29000000000, 497491200000, 1.2375, '79', '079', X'4F4F4F4F4F', X'4F'); -INSERT INTO no_nulls VALUES (1, -30, -3000, -30000000, -30000000000, 497577600000, 1.2222222222222223, '80', '080', X'50', X'50'); -INSERT INTO no_nulls VALUES (0, -31, -3100, -31000000, -31000000000, 497664000000, 1.2073170731707317, '81', '081', X'5151', X'51'); -INSERT INTO no_nulls VALUES (1, -32, -3200, -32000000, -32000000000, 497750400000, 1.1927710843373494, '82', '082', X'525252', X'52'); -INSERT INTO no_nulls VALUES (0, -33, -3300, -33000000, -33000000000, 497836800000, 1.1785714285714286, '83', '083', X'53535353', X'53'); -INSERT INTO no_nulls VALUES (1, -34, -3400, -34000000, -34000000000, 497923200000, 1.1647058823529413, '84', '084', X'5454545454', X'54'); -INSERT INTO no_nulls VALUES (0, -35, -3500, -35000000, -35000000000, 498009600000, 1.1511627906976745, '85', '085', X'55', X'55'); -INSERT INTO no_nulls VALUES (1, -36, -3600, -36000000, -36000000000, 498096000000, 1.1379310344827587, '86', '086', X'5656', X'56'); -INSERT INTO no_nulls VALUES (0, -37, -3700, -37000000, -37000000000, 498182400000, 1.125, '87', '087', X'575757', X'57'); -INSERT INTO no_nulls VALUES (1, -38, -3800, -38000000, -38000000000, 498268800000, 1.1123595505617978, '88', '088', X'58585858', X'58'); -INSERT INTO no_nulls VALUES (0, -39, -3900, -39000000, -39000000000, 498355200000, 1.1, '89', '089', X'5959595959', X'59'); -INSERT INTO no_nulls VALUES (1, -40, -4000, -40000000, -40000000000, 498441600000, 1.0879120879120878, '90', '090', X'5A', X'5A'); -INSERT INTO no_nulls VALUES (0, -41, -4100, -41000000, -41000000000, 498528000000, 1.076086956521739, '91', '091', X'5B5B', X'5B'); -INSERT INTO no_nulls VALUES (1, -42, -4200, -42000000, -42000000000, 498614400000, 1.064516129032258, '92', '092', X'5C5C5C', X'5C'); -INSERT INTO no_nulls VALUES (0, -43, -4300, -43000000, -43000000000, 498700800000, 1.053191489361702, '93', '093', X'5D5D5D5D', X'5D'); -INSERT INTO no_nulls VALUES (1, -44, -4400, -44000000, -44000000000, 498787200000, 1.0421052631578946, '94', '094', X'5E5E5E5E5E', X'5E'); -INSERT INTO no_nulls VALUES (0, -45, -4500, -45000000, -45000000000, 498873600000, 1.03125, '95', '095', X'5F', X'5F'); -INSERT INTO no_nulls VALUES (1, -46, -4600, -46000000, -46000000000, 498960000000, 1.0206185567010309, '96', '096', X'6060', X'60'); -INSERT INTO no_nulls VALUES (0, -47, -4700, -47000000, -47000000000, 499046400000, 1.010204081632653, '97', '097', X'616161', X'61'); -INSERT INTO no_nulls VALUES (1, -48, -4800, -48000000, -48000000000, 499132800000, 1, '98', '098', X'62626262', X'62'); +CREATE TABLE no_nulls (bool_0 BOOLEAN, int8_1 TINYINT, int16_2 SMALLINT, int32_3 INT, int64_4 BIGINT, ts_5 BIGINT, double_6 DOUBLE, string_7 TEXT, string_8 TEXT, binary_9 BLOB, binary_10 BLOB, float_11 DOUBLE); +INSERT INTO no_nulls VALUES (1, 50, 5000, 50000000, 50000000000, 490665600000, 99.0, '0', '000', X'00', X'00', 1); +INSERT INTO no_nulls VALUES (0, 49, 4900, 49000000, 49000000000, 490752000000, 49.5, '1', '001', X'0101', X'01', 0.5); +INSERT INTO no_nulls VALUES (1, 48, 4800, 48000000, 48000000000, 490838400000, 33.0, '2', '002', X'020202', X'02', 0.3333333333333333); +INSERT INTO no_nulls VALUES (0, 47, 4700, 47000000, 47000000000, 490924800000, 24.75, '3', '003', X'03030303', X'03', 0.25); +INSERT INTO no_nulls VALUES (1, 46, 4600, 46000000, 46000000000, 491011200000, 19.8, '4', '004', X'0404040404', X'04', 0.2); +INSERT INTO no_nulls VALUES (0, 45, 4500, 45000000, 45000000000, 491097600000, 16.5, '5', '005', X'05', X'05', 0.16666666666666666); +INSERT INTO no_nulls VALUES (1, 44, 4400, 44000000, 44000000000, 491184000000, 14.142857142857142, '6', '006', X'0606', X'06', 0.14285714285714285); +INSERT INTO no_nulls VALUES (0, 43, 4300, 43000000, 43000000000, 491270400000, 12.375, '7', '007', X'070707', X'07', 0.125); +INSERT INTO no_nulls VALUES (1, 42, 4200, 42000000, 42000000000, 491356800000, 11.0, '8', '008', X'08080808', X'08', 0.1111111111111111); +INSERT INTO no_nulls VALUES (0, 41, 4100, 41000000, 41000000000, 491443200000, 9.9, '9', '009', X'0909090909', X'09', 0.1); +INSERT INTO no_nulls VALUES (1, 40, 4000, 40000000, 40000000000, 491529600000, 9.0, '10', '010', X'0A', X'0A', 0.09090909090909091); +INSERT INTO no_nulls VALUES (0, 39, 3900, 39000000, 39000000000, 491616000000, 8.25, '11', '011', X'0B0B', X'0B', 0.08333333333333333); +INSERT INTO no_nulls VALUES (1, 38, 3800, 38000000, 38000000000, 491702400000, 7.615384615384615, '12', '012', X'0C0C0C', X'0C', 0.07692307692307693); +INSERT INTO no_nulls VALUES (0, 37, 3700, 37000000, 37000000000, 491788800000, 7.071428571428571, '13', '013', X'0D0D0D0D', X'0D', 0.07142857142857142); +INSERT INTO no_nulls VALUES (1, 36, 3600, 36000000, 36000000000, 491875200000, 6.6, '14', '014', X'0E0E0E0E0E', X'0E', 0.06666666666666667); +INSERT INTO no_nulls VALUES (0, 35, 3500, 35000000, 35000000000, 491961600000, 6.1875, '15', '015', X'0F', X'0F', 0.0625); +INSERT INTO no_nulls VALUES (1, 34, 3400, 34000000, 34000000000, 492048000000, 5.823529411764706, '16', '016', X'1010', X'10', 0.058823529411764705); +INSERT INTO no_nulls VALUES (0, 33, 3300, 33000000, 33000000000, 492134400000, 5.5, '17', '017', X'111111', X'11', 0.05555555555555555); +INSERT INTO no_nulls VALUES (1, 32, 3200, 32000000, 32000000000, 492220800000, 5.2105263157894735, '18', '018', X'12121212', X'12', 0.05263157894736842); +INSERT INTO no_nulls VALUES (0, 31, 3100, 31000000, 31000000000, 492307200000, 4.95, '19', '019', X'1313131313', X'13', 0.05); +INSERT INTO no_nulls VALUES (1, 30, 3000, 30000000, 30000000000, 492393600000, 4.714285714285714, '20', '020', X'14', X'14', 0.047619047619047616); +INSERT INTO no_nulls VALUES (0, 29, 2900, 29000000, 29000000000, 492480000000, 4.5, '21', '021', X'1515', X'15', 0.045454545454545456); +INSERT INTO no_nulls VALUES (1, 28, 2800, 28000000, 28000000000, 492566400000, 4.304347826086956, '22', '022', X'161616', X'16', 0.043478260869565216); +INSERT INTO no_nulls VALUES (0, 27, 2700, 27000000, 27000000000, 492652800000, 4.125, '23', '023', X'17171717', X'17', 0.041666666666666664); +INSERT INTO no_nulls VALUES (1, 26, 2600, 26000000, 26000000000, 492739200000, 3.96, '24', '024', X'1818181818', X'18', 0.04); +INSERT INTO no_nulls VALUES (0, 25, 2500, 25000000, 25000000000, 492825600000, 3.8076923076923075, '25', '025', X'19', X'19', 0.038461538461538464); +INSERT INTO no_nulls VALUES (1, 24, 2400, 24000000, 24000000000, 492912000000, 3.6666666666666665, '26', '026', X'1A1A', X'1A', 0.037037037037037035); +INSERT INTO no_nulls VALUES (0, 23, 2300, 23000000, 23000000000, 492998400000, 3.5357142857142856, '27', '027', X'1B1B1B', X'1B', 0.03571428571428571); +INSERT INTO no_nulls VALUES (1, 22, 2200, 22000000, 22000000000, 493084800000, 3.413793103448276, '28', '028', X'1C1C1C1C', X'1C', 0.034482758620689655); +INSERT INTO no_nulls VALUES (0, 21, 2100, 21000000, 21000000000, 493171200000, 3.3, '29', '029', X'1D1D1D1D1D', X'1D', 0.03333333333333333); +INSERT INTO no_nulls VALUES (1, 20, 2000, 20000000, 20000000000, 493257600000, 3.193548387096774, '30', '030', X'1E', X'1E', 0.03225806451612903); +INSERT INTO no_nulls VALUES (0, 19, 1900, 19000000, 19000000000, 493344000000, 3.09375, '31', '031', X'1F1F', X'1F', 0.03125); +INSERT INTO no_nulls VALUES (1, 18, 1800, 18000000, 18000000000, 493430400000, 3.0, '32', '032', X'202020', X'20', 0.030303030303030304); +INSERT INTO no_nulls VALUES (0, 17, 1700, 17000000, 17000000000, 493516800000, 2.911764705882353, '33', '033', X'21212121', X'21', 0.029411764705882353); +INSERT INTO no_nulls VALUES (1, 16, 1600, 16000000, 16000000000, 493603200000, 2.8285714285714287, '34', '034', X'2222222222', X'22', 0.02857142857142857); +INSERT INTO no_nulls VALUES (0, 15, 1500, 15000000, 15000000000, 493689600000, 2.75, '35', '035', X'23', X'23', 0.027777777777777776); +INSERT INTO no_nulls VALUES (1, 14, 1400, 14000000, 14000000000, 493776000000, 2.675675675675676, '36', '036', X'2424', X'24', 0.02702702702702703); +INSERT INTO no_nulls VALUES (0, 13, 1300, 13000000, 13000000000, 493862400000, 2.6052631578947367, '37', '037', X'252525', X'25', 0.02631578947368421); +INSERT INTO no_nulls VALUES (1, 12, 1200, 12000000, 12000000000, 493948800000, 2.5384615384615383, '38', '038', X'26262626', X'26', 0.02564102564102564); +INSERT INTO no_nulls VALUES (0, 11, 1100, 11000000, 11000000000, 494035200000, 2.475, '39', '039', X'2727272727', X'27', 0.025); +INSERT INTO no_nulls VALUES (1, 10, 1000, 10000000, 10000000000, 494121600000, 2.4146341463414633, '40', '040', X'28', X'28', 0.024390243902439025); +INSERT INTO no_nulls VALUES (0, 9, 900, 9000000, 9000000000, 494208000000, 2.357142857142857, '41', '041', X'2929', X'29', 0.023809523809523808); +INSERT INTO no_nulls VALUES (1, 8, 800, 8000000, 8000000000, 494294400000, 2.302325581395349, '42', '042', X'2A2A2A', X'2A', 0.023255813953488372); +INSERT INTO no_nulls VALUES (0, 7, 700, 7000000, 7000000000, 494380800000, 2.25, '43', '043', X'2B2B2B2B', X'2B', 0.022727272727272728); +INSERT INTO no_nulls VALUES (1, 6, 600, 6000000, 6000000000, 494467200000, 2.2, '44', '044', X'2C2C2C2C2C', X'2C', 0.022222222222222223); +INSERT INTO no_nulls VALUES (0, 5, 500, 5000000, 5000000000, 494553600000, 2.152173913043478, '45', '045', X'2D', X'2D', 0.021739130434782608); +INSERT INTO no_nulls VALUES (1, 4, 400, 4000000, 4000000000, 494640000000, 2.106382978723404, '46', '046', X'2E2E', X'2E', 0.02127659574468085); +INSERT INTO no_nulls VALUES (0, 3, 300, 3000000, 3000000000, 494726400000, 2.0625, '47', '047', X'2F2F2F', X'2F', 0.020833333333333332); +INSERT INTO no_nulls VALUES (1, 2, 200, 2000000, 2000000000, 494812800000, 2.020408163265306, '48', '048', X'30303030', X'30', 0.02040816326530612); +INSERT INTO no_nulls VALUES (0, 1, 100, 1000000, 1000000000, 494899200000, 1.98, '49', '049', X'3131313131', X'31', 0.02); +INSERT INTO no_nulls VALUES (1, 0, 0, 0, 0, 494985600000, 1.9411764705882353, '50', '050', X'32', X'32', 0.0196078431372549); +INSERT INTO no_nulls VALUES (0, -1, -100, -1000000, -1000000000, 495072000000, 1.9038461538461537, '51', '051', X'3333', X'33', 0.019230769230769232); +INSERT INTO no_nulls VALUES (1, -2, -200, -2000000, -2000000000, 495158400000, 1.8679245283018868, '52', '052', X'343434', X'34', 0.018867924528301886); +INSERT INTO no_nulls VALUES (0, -3, -300, -3000000, -3000000000, 495244800000, 1.8333333333333333, '53', '053', X'35353535', X'35', 0.018518518518518517); +INSERT INTO no_nulls VALUES (1, -4, -400, -4000000, -4000000000, 495331200000, 1.8, '54', '054', X'3636363636', X'36', 0.01818181818181818); +INSERT INTO no_nulls VALUES (0, -5, -500, -5000000, -5000000000, 495417600000, 1.7678571428571428, '55', '055', X'37', X'37', 0.017857142857142856); +INSERT INTO no_nulls VALUES (1, -6, -600, -6000000, -6000000000, 495504000000, 1.736842105263158, '56', '056', X'3838', X'38', 0.017543859649122806); +INSERT INTO no_nulls VALUES (0, -7, -700, -7000000, -7000000000, 495590400000, 1.706896551724138, '57', '057', X'393939', X'39', 0.017241379310344827); +INSERT INTO no_nulls VALUES (1, -8, -800, -8000000, -8000000000, 495676800000, 1.6779661016949152, '58', '058', X'3A3A3A3A', X'3A', 0.01694915254237288); +INSERT INTO no_nulls VALUES (0, -9, -900, -9000000, -9000000000, 495763200000, 1.65, '59', '059', X'3B3B3B3B3B', X'3B', 0.016666666666666666); +INSERT INTO no_nulls VALUES (1, -10, -1000, -10000000, -10000000000, 495849600000, 1.6229508196721312, '60', '060', X'3C', X'3C', 0.01639344262295082); +INSERT INTO no_nulls VALUES (0, -11, -1100, -11000000, -11000000000, 495936000000, 1.596774193548387, '61', '061', X'3D3D', X'3D', 0.016129032258064516); +INSERT INTO no_nulls VALUES (1, -12, -1200, -12000000, -12000000000, 496022400000, 1.5714285714285714, '62', '062', X'3E3E3E', X'3E', 0.015873015873015872); +INSERT INTO no_nulls VALUES (0, -13, -1300, -13000000, -13000000000, 496108800000, 1.546875, '63', '063', X'3F3F3F3F', X'3F', 0.015625); +INSERT INTO no_nulls VALUES (1, -14, -1400, -14000000, -14000000000, 496195200000, 1.523076923076923, '64', '064', X'4040404040', X'40', 0.015384615384615385); +INSERT INTO no_nulls VALUES (0, -15, -1500, -15000000, -15000000000, 496281600000, 1.5, '65', '065', X'41', X'41', 0.015151515151515152); +INSERT INTO no_nulls VALUES (1, -16, -1600, -16000000, -16000000000, 496368000000, 1.4776119402985075, '66', '066', X'4242', X'42', 0.014925373134328358); +INSERT INTO no_nulls VALUES (0, -17, -1700, -17000000, -17000000000, 496454400000, 1.4558823529411764, '67', '067', X'434343', X'43', 0.014705882352941176); +INSERT INTO no_nulls VALUES (1, -18, -1800, -18000000, -18000000000, 496540800000, 1.434782608695652, '68', '068', X'44444444', X'44', 0.014492753623188406); +INSERT INTO no_nulls VALUES (0, -19, -1900, -19000000, -19000000000, 496627200000, 1.4142857142857144, '69', '069', X'4545454545', X'45', 0.014285714285714285); +INSERT INTO no_nulls VALUES (1, -20, -2000, -20000000, -20000000000, 496713600000, 1.3943661971830985, '70', '070', X'46', X'46', 0.014084507042253521); +INSERT INTO no_nulls VALUES (0, -21, -2100, -21000000, -21000000000, 496800000000, 1.375, '71', '071', X'4747', X'47', 0.013888888888888888); +INSERT INTO no_nulls VALUES (1, -22, -2200, -22000000, -22000000000, 496886400000, 1.356164383561644, '72', '072', X'484848', X'48', 0.0136986301369863); +INSERT INTO no_nulls VALUES (0, -23, -2300, -23000000, -23000000000, 496972800000, 1.337837837837838, '73', '073', X'49494949', X'49', 0.013513513513513514); +INSERT INTO no_nulls VALUES (1, -24, -2400, -24000000, -24000000000, 497059200000, 1.32, '74', '074', X'4A4A4A4A4A', X'4A', 0.013333333333333334); +INSERT INTO no_nulls VALUES (0, -25, -2500, -25000000, -25000000000, 497145600000, 1.3026315789473684, '75', '075', X'4B', X'4B', 0.013157894736842105); +INSERT INTO no_nulls VALUES (1, -26, -2600, -26000000, -26000000000, 497232000000, 1.2857142857142858, '76', '076', X'4C4C', X'4C', 0.012987012987012988); +INSERT INTO no_nulls VALUES (0, -27, -2700, -27000000, -27000000000, 497318400000, 1.2692307692307692, '77', '077', X'4D4D4D', X'4D', 0.01282051282051282); +INSERT INTO no_nulls VALUES (1, -28, -2800, -28000000, -28000000000, 497404800000, 1.2531645569620253, '78', '078', X'4E4E4E4E', X'4E', 0.012658227848101266); +INSERT INTO no_nulls VALUES (0, -29, -2900, -29000000, -29000000000, 497491200000, 1.2375, '79', '079', X'4F4F4F4F4F', X'4F', 0.0125); +INSERT INTO no_nulls VALUES (1, -30, -3000, -30000000, -30000000000, 497577600000, 1.2222222222222223, '80', '080', X'50', X'50', 0.012345679012345678); +INSERT INTO no_nulls VALUES (0, -31, -3100, -31000000, -31000000000, 497664000000, 1.2073170731707317, '81', '081', X'5151', X'51', 0.012195121951219513); +INSERT INTO no_nulls VALUES (1, -32, -3200, -32000000, -32000000000, 497750400000, 1.1927710843373494, '82', '082', X'525252', X'52', 0.012048192771084338); +INSERT INTO no_nulls VALUES (0, -33, -3300, -33000000, -33000000000, 497836800000, 1.1785714285714286, '83', '083', X'53535353', X'53', 0.011904761904761904); +INSERT INTO no_nulls VALUES (1, -34, -3400, -34000000, -34000000000, 497923200000, 1.1647058823529413, '84', '084', X'5454545454', X'54', 0.011764705882352941); +INSERT INTO no_nulls VALUES (0, -35, -3500, -35000000, -35000000000, 498009600000, 1.1511627906976745, '85', '085', X'55', X'55', 0.011627906976744186); +INSERT INTO no_nulls VALUES (1, -36, -3600, -36000000, -36000000000, 498096000000, 1.1379310344827587, '86', '086', X'5656', X'56', 0.011494252873563218); +INSERT INTO no_nulls VALUES (0, -37, -3700, -37000000, -37000000000, 498182400000, 1.125, '87', '087', X'575757', X'57', 0.011363636363636364); +INSERT INTO no_nulls VALUES (1, -38, -3800, -38000000, -38000000000, 498268800000, 1.1123595505617978, '88', '088', X'58585858', X'58', 0.011235955056179775); +INSERT INTO no_nulls VALUES (0, -39, -3900, -39000000, -39000000000, 498355200000, 1.1, '89', '089', X'5959595959', X'59', 0.011111111111111112); +INSERT INTO no_nulls VALUES (1, -40, -4000, -40000000, -40000000000, 498441600000, 1.0879120879120878, '90', '090', X'5A', X'5A', 0.01098901098901099); +INSERT INTO no_nulls VALUES (0, -41, -4100, -41000000, -41000000000, 498528000000, 1.076086956521739, '91', '091', X'5B5B', X'5B', 0.010869565217391304); +INSERT INTO no_nulls VALUES (1, -42, -4200, -42000000, -42000000000, 498614400000, 1.064516129032258, '92', '092', X'5C5C5C', X'5C', 0.010752688172043012); +INSERT INTO no_nulls VALUES (0, -43, -4300, -43000000, -43000000000, 498700800000, 1.053191489361702, '93', '093', X'5D5D5D5D', X'5D', 0.010638297872340425); +INSERT INTO no_nulls VALUES (1, -44, -4400, -44000000, -44000000000, 498787200000, 1.0421052631578946, '94', '094', X'5E5E5E5E5E', X'5E', 0.010526315789473684); +INSERT INTO no_nulls VALUES (0, -45, -4500, -45000000, -45000000000, 498873600000, 1.03125, '95', '095', X'5F', X'5F', 0.010416666666666666); +INSERT INTO no_nulls VALUES (1, -46, -4600, -46000000, -46000000000, 498960000000, 1.0206185567010309, '96', '096', X'6060', X'60', 0.010309278350515464); +INSERT INTO no_nulls VALUES (0, -47, -4700, -47000000, -47000000000, 499046400000, 1.010204081632653, '97', '097', X'616161', X'61', 0.01020408163265306); +INSERT INTO no_nulls VALUES (1, -48, -4800, -48000000, -48000000000, 499132800000, 1, '98', '098', X'62626262', X'62', 0.010101010101010102); COMMIT; diff --git a/parquet-generator/nulls.csv b/parquet-generator/nulls.csv index 9f4fe86..fff1228 100644 --- a/parquet-generator/nulls.csv +++ b/parquet-generator/nulls.csv @@ -1,99 +1,99 @@ -1 1 50 5000 50000000 50000000000 490665600000 99.0 0 000 X'00' X'00' -2 0 49 4900 49000000 49000000000 490752000000 49.5 1 001 X'0101' X'01' -3 1 48 4800 48000000 48000000000 490838400000 33.0 2 002 X'020202' X'02' -4 0 47 4700 47000000 47000000000 490924800000 24.75 3 003 X'03030303' X'03' -5 1 46 4600 46000000 46000000000 491011200000 19.8 4 004 X'0404040404' X'04' -6 0 45 4500 45000000 45000000000 491097600000 16.5 5 005 X'05' X'05' -7 1 44 4400 44000000 44000000000 491184000000 14.142857142857142 6 006 X'0606' X'06' -8 0 43 4300 43000000 43000000000 491270400000 12.375 7 007 X'070707' X'07' -9 1 42 4200 42000000 42000000000 491356800000 11.0 8 008 X'08080808' X'08' -10 0 41 4100 41000000 41000000000 491443200000 9.9 9 009 X'0909090909' X'09' -11 \N \N \N \N \N \N \N \N \N \N \N -12 \N \N \N \N \N \N \N \N \N \N \N -13 \N \N \N \N \N \N \N \N \N \N \N -14 \N \N \N \N \N \N \N \N \N \N \N -15 \N \N \N \N \N \N \N \N \N \N \N -16 \N \N \N \N \N \N \N \N \N \N \N -17 \N \N \N \N \N \N \N \N \N \N \N -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 \N \N \N \N \N \N \N \N \N \N -21 \N 30 \N 30000000 \N 492393600000 \N 20 \N X'14' \N -22 0 \N 2900 \N 29000000000 \N 4.5 \N 021 \N X'15' -23 \N 28 \N 28000000 \N 492566400000 \N 22 \N X'161616' \N -24 0 \N 2700 \N 27000000000 \N 4.125 \N 023 \N X'17' -25 \N 26 \N 26000000 \N 492739200000 \N 24 \N X'1818181818' \N -26 0 \N 2500 \N 25000000000 \N 3.8076923076923075 \N 025 \N X'19' -27 \N 24 \N 24000000 \N 492912000000 \N 26 \N X'1A1A' \N -28 0 \N 2300 \N 23000000000 \N 3.5357142857142856 \N 027 \N X'1B' -29 \N 22 \N 22000000 \N 493084800000 \N 28 \N X'1C1C1C1C' \N -30 0 \N 2100 \N 21000000000 \N 3.3 \N 029 \N X'1D' -31 \N 20 \N 20000000 \N 493257600000 \N 30 \N X'1E' \N -32 0 \N 1900 \N 19000000000 \N 3.09375 \N 031 \N X'1F' -33 \N 18 \N 18000000 \N 493430400000 \N 32 \N X'202020' \N -34 0 \N 1700 \N 17000000000 \N 2.911764705882353 \N 033 \N X'21' -35 \N 16 \N 16000000 \N 493603200000 \N 34 \N X'2222222222' \N -36 0 \N 1500 \N 15000000000 \N 2.75 \N 035 \N X'23' -37 \N 14 \N 14000000 \N 493776000000 \N 36 \N X'2424' \N -38 0 \N 1300 \N 13000000000 \N 2.6052631578947367 \N 037 \N X'25' -39 \N 12 \N 12000000 \N 493948800000 \N 38 \N X'26262626' \N -40 0 \N 1100 \N 11000000000 \N 2.475 \N 039 \N X'27' -41 \N 10 \N 10000000 \N 494121600000 \N 40 \N X'28' \N -42 0 \N 900 \N 9000000000 \N 2.357142857142857 \N 041 \N X'29' -43 \N 8 \N 8000000 \N 494294400000 \N 42 \N X'2A2A2A' \N -44 0 \N 700 \N 7000000000 \N 2.25 \N 043 \N X'2B' -45 \N 6 \N 6000000 \N 494467200000 \N 44 \N X'2C2C2C2C2C' \N -46 0 \N 500 \N 5000000000 \N 2.152173913043478 \N 045 \N X'2D' -47 \N 4 \N 4000000 \N 494640000000 \N 46 \N X'2E2E' \N -48 0 \N 300 \N 3000000000 \N 2.0625 \N 047 \N X'2F' -49 \N 2 \N 2000000 \N 494812800000 \N 48 \N X'30303030' \N -50 0 \N 100 \N 1000000000 \N 1.98 \N 049 \N X'31' -51 \N 0 \N 0 \N 494985600000 \N 50 \N X'32' \N -52 0 \N -100 \N -1000000000 \N 1.9038461538461537 \N 051 \N X'33' -53 \N -2 \N -2000000 \N 495158400000 \N 52 \N X'343434' \N -54 0 \N -300 \N -3000000000 \N 1.8333333333333333 \N 053 \N X'35' -55 \N -4 \N -4000000 \N 495331200000 \N 54 \N X'3636363636' \N -56 0 \N -500 \N -5000000000 \N 1.7678571428571428 \N 055 \N X'37' -57 \N -6 \N -6000000 \N 495504000000 \N 56 \N X'3838' \N -58 0 \N -700 \N -7000000000 \N 1.706896551724138 \N 057 \N X'39' -59 \N -8 \N -8000000 \N 495676800000 \N 58 \N X'3A3A3A3A' \N -60 0 \N -900 \N -9000000000 \N 1.65 \N 059 \N X'3B' -61 \N -10 \N -10000000 \N 495849600000 \N 60 \N X'3C' \N -62 0 \N -1100 \N -11000000000 \N 1.596774193548387 \N 061 \N X'3D' -63 \N -12 \N -12000000 \N 496022400000 \N 62 \N X'3E3E3E' \N -64 0 \N -1300 \N -13000000000 \N 1.546875 \N 063 \N X'3F' -65 \N -14 \N -14000000 \N 496195200000 \N 64 \N X'4040404040' \N -66 0 \N -1500 \N -15000000000 \N 1.5 \N 065 \N X'41' -67 \N -16 \N -16000000 \N 496368000000 \N 66 \N X'4242' \N -68 0 \N -1700 \N -17000000000 \N 1.4558823529411764 \N 067 \N X'43' -69 \N -18 \N -18000000 \N 496540800000 \N 68 \N X'44444444' \N -70 0 \N -1900 \N -19000000000 \N 1.4142857142857144 \N 069 \N X'45' -71 \N -20 \N -20000000 \N 496713600000 \N 70 \N X'46' \N -72 0 \N -2100 \N -21000000000 \N 1.375 \N 071 \N X'47' -73 \N -22 \N -22000000 \N 496886400000 \N 72 \N X'484848' \N -74 0 \N -2300 \N -23000000000 \N 1.337837837837838 \N 073 \N X'49' -75 \N -24 \N -24000000 \N 497059200000 \N 74 \N X'4A4A4A4A4A' \N -76 0 \N -2500 \N -25000000000 \N 1.3026315789473684 \N 075 \N X'4B' -77 \N -26 \N -26000000 \N 497232000000 \N 76 \N X'4C4C' \N -78 0 \N -2700 \N -27000000000 \N 1.2692307692307692 \N 077 \N X'4D' -79 \N -28 \N -28000000 \N 497404800000 \N 78 \N X'4E4E4E4E' \N -80 0 \N -2900 \N -29000000000 \N 1.2375 \N 079 \N X'4F' -81 \N -30 \N -30000000 \N 497577600000 \N 80 \N X'50' \N -82 0 \N -3100 \N -31000000000 \N 1.2073170731707317 \N 081 \N X'51' -83 \N -32 \N -32000000 \N 497750400000 \N 82 \N X'525252' \N -84 0 \N -3300 \N -33000000000 \N 1.1785714285714286 \N 083 \N X'53' -85 \N -34 \N -34000000 \N 497923200000 \N 84 \N X'5454545454' \N -86 0 \N -3500 \N -35000000000 \N 1.1511627906976745 \N 085 \N X'55' -87 \N -36 \N -36000000 \N 498096000000 \N 86 \N X'5656' \N -88 0 \N -3700 \N -37000000000 \N 1.125 \N 087 \N X'57' -89 \N -38 \N -38000000 \N 498268800000 \N 88 \N X'58585858' \N -90 0 \N -3900 \N -39000000000 \N 1.1 \N 089 \N X'59' -91 \N -40 \N -40000000 \N 498441600000 \N 90 \N X'5A' \N -92 0 \N -4100 \N -41000000000 \N 1.076086956521739 \N 091 \N X'5B' -93 \N -42 \N -42000000 \N 498614400000 \N 92 \N X'5C5C5C' \N -94 0 \N -4300 \N -43000000000 \N 1.053191489361702 \N 093 \N X'5D' -95 \N -44 \N -44000000 \N 498787200000 \N 94 \N X'5E5E5E5E5E' \N -96 0 \N -4500 \N -45000000000 \N 1.03125 \N 095 \N X'5F' -97 \N -46 \N -46000000 \N 498960000000 \N 96 \N X'6060' \N -98 0 \N -4700 \N -47000000000 \N 1.010204081632653 \N 097 \N X'61' -99 \N -48 \N -48000000 \N 499132800000 \N 98 \N X'62626262' \N +1 1 50 5000 50000000 50000000000 490665600000 99.0 0 000 X'00' X'00' 1 +2 0 49 4900 49000000 49000000000 490752000000 49.5 1 001 X'0101' X'01' 0.5 +3 1 48 4800 48000000 48000000000 490838400000 33.0 2 002 X'020202' X'02' 0.3333333333333333 +4 0 47 4700 47000000 47000000000 490924800000 24.75 3 003 X'03030303' X'03' 0.25 +5 1 46 4600 46000000 46000000000 491011200000 19.8 4 004 X'0404040404' X'04' 0.2 +6 0 45 4500 45000000 45000000000 491097600000 16.5 5 005 X'05' X'05' 0.16666666666666666 +7 1 44 4400 44000000 44000000000 491184000000 14.142857142857142 6 006 X'0606' X'06' 0.14285714285714285 +8 0 43 4300 43000000 43000000000 491270400000 12.375 7 007 X'070707' X'07' 0.125 +9 1 42 4200 42000000 42000000000 491356800000 11.0 8 008 X'08080808' X'08' 0.1111111111111111 +10 0 41 4100 41000000 41000000000 491443200000 9.9 9 009 X'0909090909' X'09' 0.1 +11 \N \N \N \N \N \N \N \N \N \N \N \N +12 \N \N \N \N \N \N \N \N \N \N \N \N +13 \N \N \N \N \N \N \N \N \N \N \N \N +14 \N \N \N \N \N \N \N \N \N \N \N \N +15 \N \N \N \N \N \N \N \N \N \N \N \N +16 \N \N \N \N \N \N \N \N \N \N \N \N +17 \N \N \N \N \N \N \N \N \N \N \N \N +18 \N \N \N \N \N \N \N \N \N \N \N \N +19 \N \N \N \N \N \N \N \N \N \N \N \N +20 \N \N \N \N \N \N \N \N \N \N \N \N +21 \N 30 \N 30000000 \N 492393600000 \N 20 \N X'14' \N 0.047619047619047616 +22 0 \N 2900 \N 29000000000 \N 4.5 \N 021 \N X'15' \N +23 \N 28 \N 28000000 \N 492566400000 \N 22 \N X'161616' \N 0.043478260869565216 +24 0 \N 2700 \N 27000000000 \N 4.125 \N 023 \N X'17' \N +25 \N 26 \N 26000000 \N 492739200000 \N 24 \N X'1818181818' \N 0.04 +26 0 \N 2500 \N 25000000000 \N 3.8076923076923075 \N 025 \N X'19' \N +27 \N 24 \N 24000000 \N 492912000000 \N 26 \N X'1A1A' \N 0.037037037037037035 +28 0 \N 2300 \N 23000000000 \N 3.5357142857142856 \N 027 \N X'1B' \N +29 \N 22 \N 22000000 \N 493084800000 \N 28 \N X'1C1C1C1C' \N 0.034482758620689655 +30 0 \N 2100 \N 21000000000 \N 3.3 \N 029 \N X'1D' \N +31 \N 20 \N 20000000 \N 493257600000 \N 30 \N X'1E' \N 0.03225806451612903 +32 0 \N 1900 \N 19000000000 \N 3.09375 \N 031 \N X'1F' \N +33 \N 18 \N 18000000 \N 493430400000 \N 32 \N X'202020' \N 0.030303030303030304 +34 0 \N 1700 \N 17000000000 \N 2.911764705882353 \N 033 \N X'21' \N +35 \N 16 \N 16000000 \N 493603200000 \N 34 \N X'2222222222' \N 0.02857142857142857 +36 0 \N 1500 \N 15000000000 \N 2.75 \N 035 \N X'23' \N +37 \N 14 \N 14000000 \N 493776000000 \N 36 \N X'2424' \N 0.02702702702702703 +38 0 \N 1300 \N 13000000000 \N 2.6052631578947367 \N 037 \N X'25' \N +39 \N 12 \N 12000000 \N 493948800000 \N 38 \N X'26262626' \N 0.02564102564102564 +40 0 \N 1100 \N 11000000000 \N 2.475 \N 039 \N X'27' \N +41 \N 10 \N 10000000 \N 494121600000 \N 40 \N X'28' \N 0.024390243902439025 +42 0 \N 900 \N 9000000000 \N 2.357142857142857 \N 041 \N X'29' \N +43 \N 8 \N 8000000 \N 494294400000 \N 42 \N X'2A2A2A' \N 0.023255813953488372 +44 0 \N 700 \N 7000000000 \N 2.25 \N 043 \N X'2B' \N +45 \N 6 \N 6000000 \N 494467200000 \N 44 \N X'2C2C2C2C2C' \N 0.022222222222222223 +46 0 \N 500 \N 5000000000 \N 2.152173913043478 \N 045 \N X'2D' \N +47 \N 4 \N 4000000 \N 494640000000 \N 46 \N X'2E2E' \N 0.02127659574468085 +48 0 \N 300 \N 3000000000 \N 2.0625 \N 047 \N X'2F' \N +49 \N 2 \N 2000000 \N 494812800000 \N 48 \N X'30303030' \N 0.02040816326530612 +50 0 \N 100 \N 1000000000 \N 1.98 \N 049 \N X'31' \N +51 \N 0 \N 0 \N 494985600000 \N 50 \N X'32' \N 0.0196078431372549 +52 0 \N -100 \N -1000000000 \N 1.9038461538461537 \N 051 \N X'33' \N +53 \N -2 \N -2000000 \N 495158400000 \N 52 \N X'343434' \N 0.018867924528301886 +54 0 \N -300 \N -3000000000 \N 1.8333333333333333 \N 053 \N X'35' \N +55 \N -4 \N -4000000 \N 495331200000 \N 54 \N X'3636363636' \N 0.01818181818181818 +56 0 \N -500 \N -5000000000 \N 1.7678571428571428 \N 055 \N X'37' \N +57 \N -6 \N -6000000 \N 495504000000 \N 56 \N X'3838' \N 0.017543859649122806 +58 0 \N -700 \N -7000000000 \N 1.706896551724138 \N 057 \N X'39' \N +59 \N -8 \N -8000000 \N 495676800000 \N 58 \N X'3A3A3A3A' \N 0.01694915254237288 +60 0 \N -900 \N -9000000000 \N 1.65 \N 059 \N X'3B' \N +61 \N -10 \N -10000000 \N 495849600000 \N 60 \N X'3C' \N 0.01639344262295082 +62 0 \N -1100 \N -11000000000 \N 1.596774193548387 \N 061 \N X'3D' \N +63 \N -12 \N -12000000 \N 496022400000 \N 62 \N X'3E3E3E' \N 0.015873015873015872 +64 0 \N -1300 \N -13000000000 \N 1.546875 \N 063 \N X'3F' \N +65 \N -14 \N -14000000 \N 496195200000 \N 64 \N X'4040404040' \N 0.015384615384615385 +66 0 \N -1500 \N -15000000000 \N 1.5 \N 065 \N X'41' \N +67 \N -16 \N -16000000 \N 496368000000 \N 66 \N X'4242' \N 0.014925373134328358 +68 0 \N -1700 \N -17000000000 \N 1.4558823529411764 \N 067 \N X'43' \N +69 \N -18 \N -18000000 \N 496540800000 \N 68 \N X'44444444' \N 0.014492753623188406 +70 0 \N -1900 \N -19000000000 \N 1.4142857142857144 \N 069 \N X'45' \N +71 \N -20 \N -20000000 \N 496713600000 \N 70 \N X'46' \N 0.014084507042253521 +72 0 \N -2100 \N -21000000000 \N 1.375 \N 071 \N X'47' \N +73 \N -22 \N -22000000 \N 496886400000 \N 72 \N X'484848' \N 0.0136986301369863 +74 0 \N -2300 \N -23000000000 \N 1.337837837837838 \N 073 \N X'49' \N +75 \N -24 \N -24000000 \N 497059200000 \N 74 \N X'4A4A4A4A4A' \N 0.013333333333333334 +76 0 \N -2500 \N -25000000000 \N 1.3026315789473684 \N 075 \N X'4B' \N +77 \N -26 \N -26000000 \N 497232000000 \N 76 \N X'4C4C' \N 0.012987012987012988 +78 0 \N -2700 \N -27000000000 \N 1.2692307692307692 \N 077 \N X'4D' \N +79 \N -28 \N -28000000 \N 497404800000 \N 78 \N X'4E4E4E4E' \N 0.012658227848101266 +80 0 \N -2900 \N -29000000000 \N 1.2375 \N 079 \N X'4F' \N +81 \N -30 \N -30000000 \N 497577600000 \N 80 \N X'50' \N 0.012345679012345678 +82 0 \N -3100 \N -31000000000 \N 1.2073170731707317 \N 081 \N X'51' \N +83 \N -32 \N -32000000 \N 497750400000 \N 82 \N X'525252' \N 0.012048192771084338 +84 0 \N -3300 \N -33000000000 \N 1.1785714285714286 \N 083 \N X'53' \N +85 \N -34 \N -34000000 \N 497923200000 \N 84 \N X'5454545454' \N 0.011764705882352941 +86 0 \N -3500 \N -35000000000 \N 1.1511627906976745 \N 085 \N X'55' \N +87 \N -36 \N -36000000 \N 498096000000 \N 86 \N X'5656' \N 0.011494252873563218 +88 0 \N -3700 \N -37000000000 \N 1.125 \N 087 \N X'57' \N +89 \N -38 \N -38000000 \N 498268800000 \N 88 \N X'58585858' \N 0.011235955056179775 +90 0 \N -3900 \N -39000000000 \N 1.1 \N 089 \N X'59' \N +91 \N -40 \N -40000000 \N 498441600000 \N 90 \N X'5A' \N 0.01098901098901099 +92 0 \N -4100 \N -41000000000 \N 1.076086956521739 \N 091 \N X'5B' \N +93 \N -42 \N -42000000 \N 498614400000 \N 92 \N X'5C5C5C' \N 0.010752688172043012 +94 0 \N -4300 \N -43000000000 \N 1.053191489361702 \N 093 \N X'5D' \N +95 \N -44 \N -44000000 \N 498787200000 \N 94 \N X'5E5E5E5E5E' \N 0.010526315789473684 +96 0 \N -4500 \N -45000000000 \N 1.03125 \N 095 \N X'5F' \N +97 \N -46 \N -46000000 \N 498960000000 \N 96 \N X'6060' \N 0.010309278350515464 +98 0 \N -4700 \N -47000000000 \N 1.010204081632653 \N 097 \N X'61' \N +99 \N -48 \N -48000000 \N 499132800000 \N 98 \N X'62626262' \N 0.010101010101010102 diff --git a/parquet-generator/nulls.sql b/parquet-generator/nulls.sql index 24b7728..3cede2e 100644 --- a/parquet-generator/nulls.sql +++ b/parquet-generator/nulls.sql @@ -1,102 +1,102 @@ BEGIN;DROP TABLE IF EXISTS nulls; -CREATE TABLE nulls (bool_0 BOOLEAN, int8_1 TINYINT, int16_2 SMALLINT, int32_3 INT, int64_4 BIGINT, ts_5 BIGINT, double_6 DOUBLE, string_7 TEXT, string_8 TEXT, binary_9 BLOB, binary_10 BLOB); -INSERT INTO nulls VALUES (1, 50, 5000, 50000000, 50000000000, 490665600000, 99.0, '0', '000', X'00', X'00'); -INSERT INTO nulls VALUES (0, 49, 4900, 49000000, 49000000000, 490752000000, 49.5, '1', '001', X'0101', X'01'); -INSERT INTO nulls VALUES (1, 48, 4800, 48000000, 48000000000, 490838400000, 33.0, '2', '002', X'020202', X'02'); -INSERT INTO nulls VALUES (0, 47, 4700, 47000000, 47000000000, 490924800000, 24.75, '3', '003', X'03030303', X'03'); -INSERT INTO nulls VALUES (1, 46, 4600, 46000000, 46000000000, 491011200000, 19.8, '4', '004', X'0404040404', X'04'); -INSERT INTO nulls VALUES (0, 45, 4500, 45000000, 45000000000, 491097600000, 16.5, '5', '005', X'05', X'05'); -INSERT INTO nulls VALUES (1, 44, 4400, 44000000, 44000000000, 491184000000, 14.142857142857142, '6', '006', X'0606', X'06'); -INSERT INTO nulls VALUES (0, 43, 4300, 43000000, 43000000000, 491270400000, 12.375, '7', '007', X'070707', X'07'); -INSERT INTO nulls VALUES (1, 42, 4200, 42000000, 42000000000, 491356800000, 11.0, '8', '008', X'08080808', X'08'); -INSERT INTO nulls VALUES (0, 41, 4100, 41000000, 41000000000, 491443200000, 9.9, '9', '009', X'0909090909', X'09'); -INSERT INTO nulls VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -INSERT INTO nulls VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -INSERT INTO nulls VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -INSERT INTO nulls VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -INSERT INTO nulls VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -INSERT INTO nulls VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -INSERT INTO nulls VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -INSERT INTO nulls VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -INSERT INTO nulls VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -INSERT INTO nulls VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -INSERT INTO nulls VALUES (NULL, 30, NULL, 30000000, NULL, 492393600000, NULL, '20', NULL, X'14', NULL); -INSERT INTO nulls VALUES (0, NULL, 2900, NULL, 29000000000, NULL, 4.5, NULL, '021', NULL, X'15'); -INSERT INTO nulls VALUES (NULL, 28, NULL, 28000000, NULL, 492566400000, NULL, '22', NULL, X'161616', NULL); -INSERT INTO nulls VALUES (0, NULL, 2700, NULL, 27000000000, NULL, 4.125, NULL, '023', NULL, X'17'); -INSERT INTO nulls VALUES (NULL, 26, NULL, 26000000, NULL, 492739200000, NULL, '24', NULL, X'1818181818', NULL); -INSERT INTO nulls VALUES (0, NULL, 2500, NULL, 25000000000, NULL, 3.8076923076923075, NULL, '025', NULL, X'19'); -INSERT INTO nulls VALUES (NULL, 24, NULL, 24000000, NULL, 492912000000, NULL, '26', NULL, X'1A1A', NULL); -INSERT INTO nulls VALUES (0, NULL, 2300, NULL, 23000000000, NULL, 3.5357142857142856, NULL, '027', NULL, X'1B'); -INSERT INTO nulls VALUES (NULL, 22, NULL, 22000000, NULL, 493084800000, NULL, '28', NULL, X'1C1C1C1C', NULL); -INSERT INTO nulls VALUES (0, NULL, 2100, NULL, 21000000000, NULL, 3.3, NULL, '029', NULL, X'1D'); -INSERT INTO nulls VALUES (NULL, 20, NULL, 20000000, NULL, 493257600000, NULL, '30', NULL, X'1E', NULL); -INSERT INTO nulls VALUES (0, NULL, 1900, NULL, 19000000000, NULL, 3.09375, NULL, '031', NULL, X'1F'); -INSERT INTO nulls VALUES (NULL, 18, NULL, 18000000, NULL, 493430400000, NULL, '32', NULL, X'202020', NULL); -INSERT INTO nulls VALUES (0, NULL, 1700, NULL, 17000000000, NULL, 2.911764705882353, NULL, '033', NULL, X'21'); -INSERT INTO nulls VALUES (NULL, 16, NULL, 16000000, NULL, 493603200000, NULL, '34', NULL, X'2222222222', NULL); -INSERT INTO nulls VALUES (0, NULL, 1500, NULL, 15000000000, NULL, 2.75, NULL, '035', NULL, X'23'); -INSERT INTO nulls VALUES (NULL, 14, NULL, 14000000, NULL, 493776000000, NULL, '36', NULL, X'2424', NULL); -INSERT INTO nulls VALUES (0, NULL, 1300, NULL, 13000000000, NULL, 2.6052631578947367, NULL, '037', NULL, X'25'); -INSERT INTO nulls VALUES (NULL, 12, NULL, 12000000, NULL, 493948800000, NULL, '38', NULL, X'26262626', NULL); -INSERT INTO nulls VALUES (0, NULL, 1100, NULL, 11000000000, NULL, 2.475, NULL, '039', NULL, X'27'); -INSERT INTO nulls VALUES (NULL, 10, NULL, 10000000, NULL, 494121600000, NULL, '40', NULL, X'28', NULL); -INSERT INTO nulls VALUES (0, NULL, 900, NULL, 9000000000, NULL, 2.357142857142857, NULL, '041', NULL, X'29'); -INSERT INTO nulls VALUES (NULL, 8, NULL, 8000000, NULL, 494294400000, NULL, '42', NULL, X'2A2A2A', NULL); -INSERT INTO nulls VALUES (0, NULL, 700, NULL, 7000000000, NULL, 2.25, NULL, '043', NULL, X'2B'); -INSERT INTO nulls VALUES (NULL, 6, NULL, 6000000, NULL, 494467200000, NULL, '44', NULL, X'2C2C2C2C2C', NULL); -INSERT INTO nulls VALUES (0, NULL, 500, NULL, 5000000000, NULL, 2.152173913043478, NULL, '045', NULL, X'2D'); -INSERT INTO nulls VALUES (NULL, 4, NULL, 4000000, NULL, 494640000000, NULL, '46', NULL, X'2E2E', NULL); -INSERT INTO nulls VALUES (0, NULL, 300, NULL, 3000000000, NULL, 2.0625, NULL, '047', NULL, X'2F'); -INSERT INTO nulls VALUES (NULL, 2, NULL, 2000000, NULL, 494812800000, NULL, '48', NULL, X'30303030', NULL); -INSERT INTO nulls VALUES (0, NULL, 100, NULL, 1000000000, NULL, 1.98, NULL, '049', NULL, X'31'); -INSERT INTO nulls VALUES (NULL, 0, NULL, 0, NULL, 494985600000, NULL, '50', NULL, X'32', NULL); -INSERT INTO nulls VALUES (0, NULL, -100, NULL, -1000000000, NULL, 1.9038461538461537, NULL, '051', NULL, X'33'); -INSERT INTO nulls VALUES (NULL, -2, NULL, -2000000, NULL, 495158400000, NULL, '52', NULL, X'343434', NULL); -INSERT INTO nulls VALUES (0, NULL, -300, NULL, -3000000000, NULL, 1.8333333333333333, NULL, '053', NULL, X'35'); -INSERT INTO nulls VALUES (NULL, -4, NULL, -4000000, NULL, 495331200000, NULL, '54', NULL, X'3636363636', NULL); -INSERT INTO nulls VALUES (0, NULL, -500, NULL, -5000000000, NULL, 1.7678571428571428, NULL, '055', NULL, X'37'); -INSERT INTO nulls VALUES (NULL, -6, NULL, -6000000, NULL, 495504000000, NULL, '56', NULL, X'3838', NULL); -INSERT INTO nulls VALUES (0, NULL, -700, NULL, -7000000000, NULL, 1.706896551724138, NULL, '057', NULL, X'39'); -INSERT INTO nulls VALUES (NULL, -8, NULL, -8000000, NULL, 495676800000, NULL, '58', NULL, X'3A3A3A3A', NULL); -INSERT INTO nulls VALUES (0, NULL, -900, NULL, -9000000000, NULL, 1.65, NULL, '059', NULL, X'3B'); -INSERT INTO nulls VALUES (NULL, -10, NULL, -10000000, NULL, 495849600000, NULL, '60', NULL, X'3C', NULL); -INSERT INTO nulls VALUES (0, NULL, -1100, NULL, -11000000000, NULL, 1.596774193548387, NULL, '061', NULL, X'3D'); -INSERT INTO nulls VALUES (NULL, -12, NULL, -12000000, NULL, 496022400000, NULL, '62', NULL, X'3E3E3E', NULL); -INSERT INTO nulls VALUES (0, NULL, -1300, NULL, -13000000000, NULL, 1.546875, NULL, '063', NULL, X'3F'); -INSERT INTO nulls VALUES (NULL, -14, NULL, -14000000, NULL, 496195200000, NULL, '64', NULL, X'4040404040', NULL); -INSERT INTO nulls VALUES (0, NULL, -1500, NULL, -15000000000, NULL, 1.5, NULL, '065', NULL, X'41'); -INSERT INTO nulls VALUES (NULL, -16, NULL, -16000000, NULL, 496368000000, NULL, '66', NULL, X'4242', NULL); -INSERT INTO nulls VALUES (0, NULL, -1700, NULL, -17000000000, NULL, 1.4558823529411764, NULL, '067', NULL, X'43'); -INSERT INTO nulls VALUES (NULL, -18, NULL, -18000000, NULL, 496540800000, NULL, '68', NULL, X'44444444', NULL); -INSERT INTO nulls VALUES (0, NULL, -1900, NULL, -19000000000, NULL, 1.4142857142857144, NULL, '069', NULL, X'45'); -INSERT INTO nulls VALUES (NULL, -20, NULL, -20000000, NULL, 496713600000, NULL, '70', NULL, X'46', NULL); -INSERT INTO nulls VALUES (0, NULL, -2100, NULL, -21000000000, NULL, 1.375, NULL, '071', NULL, X'47'); -INSERT INTO nulls VALUES (NULL, -22, NULL, -22000000, NULL, 496886400000, NULL, '72', NULL, X'484848', NULL); -INSERT INTO nulls VALUES (0, NULL, -2300, NULL, -23000000000, NULL, 1.337837837837838, NULL, '073', NULL, X'49'); -INSERT INTO nulls VALUES (NULL, -24, NULL, -24000000, NULL, 497059200000, NULL, '74', NULL, X'4A4A4A4A4A', NULL); -INSERT INTO nulls VALUES (0, NULL, -2500, NULL, -25000000000, NULL, 1.3026315789473684, NULL, '075', NULL, X'4B'); -INSERT INTO nulls VALUES (NULL, -26, NULL, -26000000, NULL, 497232000000, NULL, '76', NULL, X'4C4C', NULL); -INSERT INTO nulls VALUES (0, NULL, -2700, NULL, -27000000000, NULL, 1.2692307692307692, NULL, '077', NULL, X'4D'); -INSERT INTO nulls VALUES (NULL, -28, NULL, -28000000, NULL, 497404800000, NULL, '78', NULL, X'4E4E4E4E', NULL); -INSERT INTO nulls VALUES (0, NULL, -2900, NULL, -29000000000, NULL, 1.2375, NULL, '079', NULL, X'4F'); -INSERT INTO nulls VALUES (NULL, -30, NULL, -30000000, NULL, 497577600000, NULL, '80', NULL, X'50', NULL); -INSERT INTO nulls VALUES (0, NULL, -3100, NULL, -31000000000, NULL, 1.2073170731707317, NULL, '081', NULL, X'51'); -INSERT INTO nulls VALUES (NULL, -32, NULL, -32000000, NULL, 497750400000, NULL, '82', NULL, X'525252', NULL); -INSERT INTO nulls VALUES (0, NULL, -3300, NULL, -33000000000, NULL, 1.1785714285714286, NULL, '083', NULL, X'53'); -INSERT INTO nulls VALUES (NULL, -34, NULL, -34000000, NULL, 497923200000, NULL, '84', NULL, X'5454545454', NULL); -INSERT INTO nulls VALUES (0, NULL, -3500, NULL, -35000000000, NULL, 1.1511627906976745, NULL, '085', NULL, X'55'); -INSERT INTO nulls VALUES (NULL, -36, NULL, -36000000, NULL, 498096000000, NULL, '86', NULL, X'5656', NULL); -INSERT INTO nulls VALUES (0, NULL, -3700, NULL, -37000000000, NULL, 1.125, NULL, '087', NULL, X'57'); -INSERT INTO nulls VALUES (NULL, -38, NULL, -38000000, NULL, 498268800000, NULL, '88', NULL, X'58585858', NULL); -INSERT INTO nulls VALUES (0, NULL, -3900, NULL, -39000000000, NULL, 1.1, NULL, '089', NULL, X'59'); -INSERT INTO nulls VALUES (NULL, -40, NULL, -40000000, NULL, 498441600000, NULL, '90', NULL, X'5A', NULL); -INSERT INTO nulls VALUES (0, NULL, -4100, NULL, -41000000000, NULL, 1.076086956521739, NULL, '091', NULL, X'5B'); -INSERT INTO nulls VALUES (NULL, -42, NULL, -42000000, NULL, 498614400000, NULL, '92', NULL, X'5C5C5C', NULL); -INSERT INTO nulls VALUES (0, NULL, -4300, NULL, -43000000000, NULL, 1.053191489361702, NULL, '093', NULL, X'5D'); -INSERT INTO nulls VALUES (NULL, -44, NULL, -44000000, NULL, 498787200000, NULL, '94', NULL, X'5E5E5E5E5E', NULL); -INSERT INTO nulls VALUES (0, NULL, -4500, NULL, -45000000000, NULL, 1.03125, NULL, '095', NULL, X'5F'); -INSERT INTO nulls VALUES (NULL, -46, NULL, -46000000, NULL, 498960000000, NULL, '96', NULL, X'6060', NULL); -INSERT INTO nulls VALUES (0, NULL, -4700, NULL, -47000000000, NULL, 1.010204081632653, NULL, '097', NULL, X'61'); -INSERT INTO nulls VALUES (NULL, -48, NULL, -48000000, NULL, 499132800000, NULL, '98', NULL, X'62626262', NULL); +CREATE TABLE nulls (bool_0 BOOLEAN, int8_1 TINYINT, int16_2 SMALLINT, int32_3 INT, int64_4 BIGINT, ts_5 BIGINT, double_6 DOUBLE, string_7 TEXT, string_8 TEXT, binary_9 BLOB, binary_10 BLOB, float_11 DOUBLE); +INSERT INTO nulls VALUES (1, 50, 5000, 50000000, 50000000000, 490665600000, 99.0, '0', '000', X'00', X'00', 1); +INSERT INTO nulls VALUES (0, 49, 4900, 49000000, 49000000000, 490752000000, 49.5, '1', '001', X'0101', X'01', 0.5); +INSERT INTO nulls VALUES (1, 48, 4800, 48000000, 48000000000, 490838400000, 33.0, '2', '002', X'020202', X'02', 0.3333333333333333); +INSERT INTO nulls VALUES (0, 47, 4700, 47000000, 47000000000, 490924800000, 24.75, '3', '003', X'03030303', X'03', 0.25); +INSERT INTO nulls VALUES (1, 46, 4600, 46000000, 46000000000, 491011200000, 19.8, '4', '004', X'0404040404', X'04', 0.2); +INSERT INTO nulls VALUES (0, 45, 4500, 45000000, 45000000000, 491097600000, 16.5, '5', '005', X'05', X'05', 0.16666666666666666); +INSERT INTO nulls VALUES (1, 44, 4400, 44000000, 44000000000, 491184000000, 14.142857142857142, '6', '006', X'0606', X'06', 0.14285714285714285); +INSERT INTO nulls VALUES (0, 43, 4300, 43000000, 43000000000, 491270400000, 12.375, '7', '007', X'070707', X'07', 0.125); +INSERT INTO nulls VALUES (1, 42, 4200, 42000000, 42000000000, 491356800000, 11.0, '8', '008', X'08080808', X'08', 0.1111111111111111); +INSERT INTO nulls VALUES (0, 41, 4100, 41000000, 41000000000, 491443200000, 9.9, '9', '009', X'0909090909', X'09', 0.1); +INSERT INTO nulls VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); +INSERT INTO nulls VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); +INSERT INTO nulls VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); +INSERT INTO nulls VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); +INSERT INTO nulls VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); +INSERT INTO nulls VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); +INSERT INTO nulls VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); +INSERT INTO nulls VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); +INSERT INTO nulls VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); +INSERT INTO nulls VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); +INSERT INTO nulls VALUES (NULL, 30, NULL, 30000000, NULL, 492393600000, NULL, '20', NULL, X'14', NULL, 0.047619047619047616); +INSERT INTO nulls VALUES (0, NULL, 2900, NULL, 29000000000, NULL, 4.5, NULL, '021', NULL, X'15', NULL); +INSERT INTO nulls VALUES (NULL, 28, NULL, 28000000, NULL, 492566400000, NULL, '22', NULL, X'161616', NULL, 0.043478260869565216); +INSERT INTO nulls VALUES (0, NULL, 2700, NULL, 27000000000, NULL, 4.125, NULL, '023', NULL, X'17', NULL); +INSERT INTO nulls VALUES (NULL, 26, NULL, 26000000, NULL, 492739200000, NULL, '24', NULL, X'1818181818', NULL, 0.04); +INSERT INTO nulls VALUES (0, NULL, 2500, NULL, 25000000000, NULL, 3.8076923076923075, NULL, '025', NULL, X'19', NULL); +INSERT INTO nulls VALUES (NULL, 24, NULL, 24000000, NULL, 492912000000, NULL, '26', NULL, X'1A1A', NULL, 0.037037037037037035); +INSERT INTO nulls VALUES (0, NULL, 2300, NULL, 23000000000, NULL, 3.5357142857142856, NULL, '027', NULL, X'1B', NULL); +INSERT INTO nulls VALUES (NULL, 22, NULL, 22000000, NULL, 493084800000, NULL, '28', NULL, X'1C1C1C1C', NULL, 0.034482758620689655); +INSERT INTO nulls VALUES (0, NULL, 2100, NULL, 21000000000, NULL, 3.3, NULL, '029', NULL, X'1D', NULL); +INSERT INTO nulls VALUES (NULL, 20, NULL, 20000000, NULL, 493257600000, NULL, '30', NULL, X'1E', NULL, 0.03225806451612903); +INSERT INTO nulls VALUES (0, NULL, 1900, NULL, 19000000000, NULL, 3.09375, NULL, '031', NULL, X'1F', NULL); +INSERT INTO nulls VALUES (NULL, 18, NULL, 18000000, NULL, 493430400000, NULL, '32', NULL, X'202020', NULL, 0.030303030303030304); +INSERT INTO nulls VALUES (0, NULL, 1700, NULL, 17000000000, NULL, 2.911764705882353, NULL, '033', NULL, X'21', NULL); +INSERT INTO nulls VALUES (NULL, 16, NULL, 16000000, NULL, 493603200000, NULL, '34', NULL, X'2222222222', NULL, 0.02857142857142857); +INSERT INTO nulls VALUES (0, NULL, 1500, NULL, 15000000000, NULL, 2.75, NULL, '035', NULL, X'23', NULL); +INSERT INTO nulls VALUES (NULL, 14, NULL, 14000000, NULL, 493776000000, NULL, '36', NULL, X'2424', NULL, 0.02702702702702703); +INSERT INTO nulls VALUES (0, NULL, 1300, NULL, 13000000000, NULL, 2.6052631578947367, NULL, '037', NULL, X'25', NULL); +INSERT INTO nulls VALUES (NULL, 12, NULL, 12000000, NULL, 493948800000, NULL, '38', NULL, X'26262626', NULL, 0.02564102564102564); +INSERT INTO nulls VALUES (0, NULL, 1100, NULL, 11000000000, NULL, 2.475, NULL, '039', NULL, X'27', NULL); +INSERT INTO nulls VALUES (NULL, 10, NULL, 10000000, NULL, 494121600000, NULL, '40', NULL, X'28', NULL, 0.024390243902439025); +INSERT INTO nulls VALUES (0, NULL, 900, NULL, 9000000000, NULL, 2.357142857142857, NULL, '041', NULL, X'29', NULL); +INSERT INTO nulls VALUES (NULL, 8, NULL, 8000000, NULL, 494294400000, NULL, '42', NULL, X'2A2A2A', NULL, 0.023255813953488372); +INSERT INTO nulls VALUES (0, NULL, 700, NULL, 7000000000, NULL, 2.25, NULL, '043', NULL, X'2B', NULL); +INSERT INTO nulls VALUES (NULL, 6, NULL, 6000000, NULL, 494467200000, NULL, '44', NULL, X'2C2C2C2C2C', NULL, 0.022222222222222223); +INSERT INTO nulls VALUES (0, NULL, 500, NULL, 5000000000, NULL, 2.152173913043478, NULL, '045', NULL, X'2D', NULL); +INSERT INTO nulls VALUES (NULL, 4, NULL, 4000000, NULL, 494640000000, NULL, '46', NULL, X'2E2E', NULL, 0.02127659574468085); +INSERT INTO nulls VALUES (0, NULL, 300, NULL, 3000000000, NULL, 2.0625, NULL, '047', NULL, X'2F', NULL); +INSERT INTO nulls VALUES (NULL, 2, NULL, 2000000, NULL, 494812800000, NULL, '48', NULL, X'30303030', NULL, 0.02040816326530612); +INSERT INTO nulls VALUES (0, NULL, 100, NULL, 1000000000, NULL, 1.98, NULL, '049', NULL, X'31', NULL); +INSERT INTO nulls VALUES (NULL, 0, NULL, 0, NULL, 494985600000, NULL, '50', NULL, X'32', NULL, 0.0196078431372549); +INSERT INTO nulls VALUES (0, NULL, -100, NULL, -1000000000, NULL, 1.9038461538461537, NULL, '051', NULL, X'33', NULL); +INSERT INTO nulls VALUES (NULL, -2, NULL, -2000000, NULL, 495158400000, NULL, '52', NULL, X'343434', NULL, 0.018867924528301886); +INSERT INTO nulls VALUES (0, NULL, -300, NULL, -3000000000, NULL, 1.8333333333333333, NULL, '053', NULL, X'35', NULL); +INSERT INTO nulls VALUES (NULL, -4, NULL, -4000000, NULL, 495331200000, NULL, '54', NULL, X'3636363636', NULL, 0.01818181818181818); +INSERT INTO nulls VALUES (0, NULL, -500, NULL, -5000000000, NULL, 1.7678571428571428, NULL, '055', NULL, X'37', NULL); +INSERT INTO nulls VALUES (NULL, -6, NULL, -6000000, NULL, 495504000000, NULL, '56', NULL, X'3838', NULL, 0.017543859649122806); +INSERT INTO nulls VALUES (0, NULL, -700, NULL, -7000000000, NULL, 1.706896551724138, NULL, '057', NULL, X'39', NULL); +INSERT INTO nulls VALUES (NULL, -8, NULL, -8000000, NULL, 495676800000, NULL, '58', NULL, X'3A3A3A3A', NULL, 0.01694915254237288); +INSERT INTO nulls VALUES (0, NULL, -900, NULL, -9000000000, NULL, 1.65, NULL, '059', NULL, X'3B', NULL); +INSERT INTO nulls VALUES (NULL, -10, NULL, -10000000, NULL, 495849600000, NULL, '60', NULL, X'3C', NULL, 0.01639344262295082); +INSERT INTO nulls VALUES (0, NULL, -1100, NULL, -11000000000, NULL, 1.596774193548387, NULL, '061', NULL, X'3D', NULL); +INSERT INTO nulls VALUES (NULL, -12, NULL, -12000000, NULL, 496022400000, NULL, '62', NULL, X'3E3E3E', NULL, 0.015873015873015872); +INSERT INTO nulls VALUES (0, NULL, -1300, NULL, -13000000000, NULL, 1.546875, NULL, '063', NULL, X'3F', NULL); +INSERT INTO nulls VALUES (NULL, -14, NULL, -14000000, NULL, 496195200000, NULL, '64', NULL, X'4040404040', NULL, 0.015384615384615385); +INSERT INTO nulls VALUES (0, NULL, -1500, NULL, -15000000000, NULL, 1.5, NULL, '065', NULL, X'41', NULL); +INSERT INTO nulls VALUES (NULL, -16, NULL, -16000000, NULL, 496368000000, NULL, '66', NULL, X'4242', NULL, 0.014925373134328358); +INSERT INTO nulls VALUES (0, NULL, -1700, NULL, -17000000000, NULL, 1.4558823529411764, NULL, '067', NULL, X'43', NULL); +INSERT INTO nulls VALUES (NULL, -18, NULL, -18000000, NULL, 496540800000, NULL, '68', NULL, X'44444444', NULL, 0.014492753623188406); +INSERT INTO nulls VALUES (0, NULL, -1900, NULL, -19000000000, NULL, 1.4142857142857144, NULL, '069', NULL, X'45', NULL); +INSERT INTO nulls VALUES (NULL, -20, NULL, -20000000, NULL, 496713600000, NULL, '70', NULL, X'46', NULL, 0.014084507042253521); +INSERT INTO nulls VALUES (0, NULL, -2100, NULL, -21000000000, NULL, 1.375, NULL, '071', NULL, X'47', NULL); +INSERT INTO nulls VALUES (NULL, -22, NULL, -22000000, NULL, 496886400000, NULL, '72', NULL, X'484848', NULL, 0.0136986301369863); +INSERT INTO nulls VALUES (0, NULL, -2300, NULL, -23000000000, NULL, 1.337837837837838, NULL, '073', NULL, X'49', NULL); +INSERT INTO nulls VALUES (NULL, -24, NULL, -24000000, NULL, 497059200000, NULL, '74', NULL, X'4A4A4A4A4A', NULL, 0.013333333333333334); +INSERT INTO nulls VALUES (0, NULL, -2500, NULL, -25000000000, NULL, 1.3026315789473684, NULL, '075', NULL, X'4B', NULL); +INSERT INTO nulls VALUES (NULL, -26, NULL, -26000000, NULL, 497232000000, NULL, '76', NULL, X'4C4C', NULL, 0.012987012987012988); +INSERT INTO nulls VALUES (0, NULL, -2700, NULL, -27000000000, NULL, 1.2692307692307692, NULL, '077', NULL, X'4D', NULL); +INSERT INTO nulls VALUES (NULL, -28, NULL, -28000000, NULL, 497404800000, NULL, '78', NULL, X'4E4E4E4E', NULL, 0.012658227848101266); +INSERT INTO nulls VALUES (0, NULL, -2900, NULL, -29000000000, NULL, 1.2375, NULL, '079', NULL, X'4F', NULL); +INSERT INTO nulls VALUES (NULL, -30, NULL, -30000000, NULL, 497577600000, NULL, '80', NULL, X'50', NULL, 0.012345679012345678); +INSERT INTO nulls VALUES (0, NULL, -3100, NULL, -31000000000, NULL, 1.2073170731707317, NULL, '081', NULL, X'51', NULL); +INSERT INTO nulls VALUES (NULL, -32, NULL, -32000000, NULL, 497750400000, NULL, '82', NULL, X'525252', NULL, 0.012048192771084338); +INSERT INTO nulls VALUES (0, NULL, -3300, NULL, -33000000000, NULL, 1.1785714285714286, NULL, '083', NULL, X'53', NULL); +INSERT INTO nulls VALUES (NULL, -34, NULL, -34000000, NULL, 497923200000, NULL, '84', NULL, X'5454545454', NULL, 0.011764705882352941); +INSERT INTO nulls VALUES (0, NULL, -3500, NULL, -35000000000, NULL, 1.1511627906976745, NULL, '085', NULL, X'55', NULL); +INSERT INTO nulls VALUES (NULL, -36, NULL, -36000000, NULL, 498096000000, NULL, '86', NULL, X'5656', NULL, 0.011494252873563218); +INSERT INTO nulls VALUES (0, NULL, -3700, NULL, -37000000000, NULL, 1.125, NULL, '087', NULL, X'57', NULL); +INSERT INTO nulls VALUES (NULL, -38, NULL, -38000000, NULL, 498268800000, NULL, '88', NULL, X'58585858', NULL, 0.011235955056179775); +INSERT INTO nulls VALUES (0, NULL, -3900, NULL, -39000000000, NULL, 1.1, NULL, '089', NULL, X'59', NULL); +INSERT INTO nulls VALUES (NULL, -40, NULL, -40000000, NULL, 498441600000, NULL, '90', NULL, X'5A', NULL, 0.01098901098901099); +INSERT INTO nulls VALUES (0, NULL, -4100, NULL, -41000000000, NULL, 1.076086956521739, NULL, '091', NULL, X'5B', NULL); +INSERT INTO nulls VALUES (NULL, -42, NULL, -42000000, NULL, 498614400000, NULL, '92', NULL, X'5C5C5C', NULL, 0.010752688172043012); +INSERT INTO nulls VALUES (0, NULL, -4300, NULL, -43000000000, NULL, 1.053191489361702, NULL, '093', NULL, X'5D', NULL); +INSERT INTO nulls VALUES (NULL, -44, NULL, -44000000, NULL, 498787200000, NULL, '94', NULL, X'5E5E5E5E5E', NULL, 0.010526315789473684); +INSERT INTO nulls VALUES (0, NULL, -4500, NULL, -45000000000, NULL, 1.03125, NULL, '095', NULL, X'5F', NULL); +INSERT INTO nulls VALUES (NULL, -46, NULL, -46000000, NULL, 498960000000, NULL, '96', NULL, X'6060', NULL, 0.010309278350515464); +INSERT INTO nulls VALUES (0, NULL, -4700, NULL, -47000000000, NULL, 1.010204081632653, NULL, '097', NULL, X'61', NULL); +INSERT INTO nulls VALUES (NULL, -48, NULL, -48000000, NULL, 499132800000, NULL, '98', NULL, X'62626262', NULL, 0.010101010101010102); COMMIT; diff --git a/parquet-generator/parquets.py b/parquet-generator/parquets.py index 61596b7..62ab84e 100644 --- a/parquet-generator/parquets.py +++ b/parquet-generator/parquets.py @@ -28,7 +28,7 @@ def make_99_rows(): row.append(bytes(ba_variable)), # BYTE_ARRAY row.append(bytes(ba_fixed)) # FIXED_LENGTH_BYTE_ARRAY # pyarrow does not support float yet :( -# row.append(1.0 / (i + 1)) # FLOAT + row.append(1.0 / (i + 1)) # FLOAT rows.append(row) return rows @@ -46,8 +46,8 @@ def get_99_rows_types(): pa.string(), pa.string(), pa.binary(-1), - pa.binary(1) -# pa.float32() + pa.binary(1), + pa.float32() ] def name_of(type, i): @@ -148,6 +148,8 @@ def type_of(type): return 'BLOB' elif type == pa.binary(1): return 'BLOB' + elif type == pa.float32(): + return 'DOUBLE' else: raise ValueError('unknown type: {}'.format(type)) diff --git a/parquet-generator/unsupported-decimal-10-0-.parquet b/parquet-generator/unsupported-decimal-10-0-.parquet index b392ef1..5717b70 100644 Binary files a/parquet-generator/unsupported-decimal-10-0-.parquet and b/parquet-generator/unsupported-decimal-10-0-.parquet differ diff --git a/parquet-generator/unsupported-null.parquet b/parquet-generator/unsupported-null.parquet index cc73d75..f9a152b 100644 Binary files a/parquet-generator/unsupported-null.parquet and b/parquet-generator/unsupported-null.parquet differ diff --git a/parquet-generator/unsupported-uint16.parquet b/parquet-generator/unsupported-uint16.parquet index fa7a4c9..3b5848f 100644 Binary files a/parquet-generator/unsupported-uint16.parquet and b/parquet-generator/unsupported-uint16.parquet differ diff --git a/parquet-generator/unsupported-uint64.parquet b/parquet-generator/unsupported-uint64.parquet index 6405262..60414b0 100644 Binary files a/parquet-generator/unsupported-uint64.parquet and b/parquet-generator/unsupported-uint64.parquet differ diff --git a/parquet-generator/unsupported-uint8.parquet b/parquet-generator/unsupported-uint8.parquet index 92ca10f..2cce135 100644 Binary files a/parquet-generator/unsupported-uint8.parquet and b/parquet-generator/unsupported-uint8.parquet differ diff --git a/tests/templates/143-float-eq.sql b/tests/templates/143-float-eq.sql new file mode 100644 index 0000000..b11f4c6 --- /dev/null +++ b/tests/templates/143-float-eq.sql @@ -0,0 +1,2 @@ +select float_11 from nulls where float_11 = 1.0 +1.0 diff --git a/tests/templates/144-float-eq2.sql b/tests/templates/144-float-eq2.sql new file mode 100644 index 0000000..7e0bb60 --- /dev/null +++ b/tests/templates/144-float-eq2.sql @@ -0,0 +1 @@ +select float_11 from nulls where float_11 = 123.0 diff --git a/tests/templates/145-float-eq3.sql b/tests/templates/145-float-eq3.sql new file mode 100644 index 0000000..be29d42 --- /dev/null +++ b/tests/templates/145-float-eq3.sql @@ -0,0 +1,2 @@ +select float_11 from nulls where float_11 = '1' +1.0 diff --git a/tests/templates/146-float-ne.sql b/tests/templates/146-float-ne.sql new file mode 100644 index 0000000..c8805ae --- /dev/null +++ b/tests/templates/146-float-ne.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where float_11 <> 1.0 +49 diff --git a/tests/templates/147-float-is-null.sql b/tests/templates/147-float-is-null.sql new file mode 100644 index 0000000..057f598 --- /dev/null +++ b/tests/templates/147-float-is-null.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where float_11 is null +49 diff --git a/tests/templates/148-float-is-not-null.sql b/tests/templates/148-float-is-not-null.sql new file mode 100644 index 0000000..2ff14d2 --- /dev/null +++ b/tests/templates/148-float-is-not-null.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where float_11 is not null +50 diff --git a/tests/templates/149-float-gte.sql b/tests/templates/149-float-gte.sql new file mode 100644 index 0000000..6368870 --- /dev/null +++ b/tests/templates/149-float-gte.sql @@ -0,0 +1,2 @@ +select float_11 from nulls where float_11 >= 1.0 +1.0 diff --git a/tests/templates/150-float-gt.sql b/tests/templates/150-float-gt.sql new file mode 100644 index 0000000..48a7644 --- /dev/null +++ b/tests/templates/150-float-gt.sql @@ -0,0 +1 @@ +select float_11 from nulls where float_11 > 1.0 diff --git a/tests/templates/151-float-gt-2.sql b/tests/templates/151-float-gt-2.sql new file mode 100644 index 0000000..ad121b7 --- /dev/null +++ b/tests/templates/151-float-gt-2.sql @@ -0,0 +1,2 @@ +select float_11 from nulls where float_11 > 0.5 +1.0 diff --git a/tests/templates/152-float-lt.sql b/tests/templates/152-float-lt.sql new file mode 100644 index 0000000..c59980c --- /dev/null +++ b/tests/templates/152-float-lt.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where float_11 < 0.0102 +1 diff --git a/tests/templates/153-float-lt.sql b/tests/templates/153-float-lt.sql new file mode 100644 index 0000000..1f6b900 --- /dev/null +++ b/tests/templates/153-float-lt.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where float_11 < 0.001 +0 diff --git a/tests/templates/154-float-lte.sql b/tests/templates/154-float-lte.sql new file mode 100644 index 0000000..c5d5c42 --- /dev/null +++ b/tests/templates/154-float-lte.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where float_11 <= 0.0102 +1 diff --git a/tests/test-random b/tests/test-random index f718882..e1dd145 100755 --- a/tests/test-random +++ b/tests/test-random @@ -84,7 +84,9 @@ def test_statement(conn, table, column_values, all_values): def test_table(conn, table): - column_names = get_columns(conn, table) + # Don't include the floating point columns in random tests - sqlite itself stores doubles, so + # it can't act as an oracle for the FP stuff. + column_names = [x for x in get_columns(conn, table) if not x.startswith('float_')] print('Table {}: {}'.format(table, column_names)) column_values = {} for name in column_names: @@ -94,7 +96,6 @@ def test_table(conn, table): all_values = [] for values in column_values.values(): all_values = all_values + values - print(all_values) for i in range(1000): test_statement(conn, table, column_values, all_values)