diff --git a/parquet-generator/99-rows-99.parquet b/parquet-generator/99-rows-99.parquet new file mode 100644 index 0000000..b49320d Binary files /dev/null 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 new file mode 100644 index 0000000..42f4264 Binary files /dev/null and b/parquet-generator/99-rows-nulls-1.parquet differ diff --git a/parquet-generator/99-rows-nulls.parquet b/parquet-generator/99-rows-nulls-10.parquet similarity index 100% rename from parquet-generator/99-rows-nulls.parquet rename to parquet-generator/99-rows-nulls-10.parquet diff --git a/parquet-generator/99-rows-nulls-99.parquet b/parquet-generator/99-rows-nulls-99.parquet new file mode 100644 index 0000000..faca90a Binary files /dev/null and b/parquet-generator/99-rows-nulls-99.parquet differ diff --git a/parquet-generator/parquets.py b/parquet-generator/parquets.py index eb5b5c3..4c49444 100644 --- a/parquet-generator/parquets.py +++ b/parquet-generator/parquets.py @@ -136,12 +136,15 @@ def main(): write_parquet('99-rows-1.parquet', rows, types, row_group_size=99) write_csv('no-nulls.csv', rows) write_parquet('99-rows-10.parquet', rows, types, row_group_size=10) + write_parquet('99-rows-99.parquet', rows, types, row_group_size=1) for i in range(len(rows)): for j in range(len(rows[i])): if (i >= 10 and i <= 19) or (i >= 20 and (i + j) % 2 == 0): rows[i][j] = None - write_parquet('99-rows-nulls.parquet', rows, types,row_group_size=10) + write_parquet('99-rows-nulls-99.parquet', rows, types,row_group_size=99) + write_parquet('99-rows-nulls-10.parquet', rows, types,row_group_size=10) + write_parquet('99-rows-nulls-1.parquet', rows, types,row_group_size=1) write_csv('nulls.csv', rows) write_unsupported_parquets() diff --git a/tests/queries/002-table-scan-10-rowgroups.sql b/tests/queries/002-table-scan-10-rowgroups.sql deleted file mode 100644 index 1727299..0000000 --- a/tests/queries/002-table-scan-10-rowgroups.sql +++ /dev/null @@ -1,100 +0,0 @@ -SELECT rowid, bool_0, int8_1, int16_2, int32_3, int64_4, datetime(ts_5 / 1000, 'unixepoch'), printf('%.2f', double_6) AS double_6, string_7, string_8, quote(binary_9), quote(binary_10) FROM no_nulls2 -0|1|50|5000|50000000|50000000000|1985-07-20 00:00:00|99.00|0|000|X'00'|X'00' -1|0|49|4900|49000000|49000000000|1985-07-21 00:00:00|49.50|1|001|X'0101'|X'01' -2|1|48|4800|48000000|48000000000|1985-07-22 00:00:00|33.00|2|002|X'020202'|X'02' -3|0|47|4700|47000000|47000000000|1985-07-23 00:00:00|24.75|3|003|X'03030303'|X'03' -4|1|46|4600|46000000|46000000000|1985-07-24 00:00:00|19.80|4|004|X'0404040404'|X'04' -5|0|45|4500|45000000|45000000000|1985-07-25 00:00:00|16.50|5|005|X'05'|X'05' -6|1|44|4400|44000000|44000000000|1985-07-26 00:00:00|14.14|6|006|X'0606'|X'06' -7|0|43|4300|43000000|43000000000|1985-07-27 00:00:00|12.38|7|007|X'070707'|X'07' -8|1|42|4200|42000000|42000000000|1985-07-28 00:00:00|11.00|8|008|X'08080808'|X'08' -9|0|41|4100|41000000|41000000000|1985-07-29 00:00:00|9.90|9|009|X'0909090909'|X'09' -10|1|40|4000|40000000|40000000000|1985-07-30 00:00:00|9.00|10|010|X'0A'|X'0A' -11|0|39|3900|39000000|39000000000|1985-07-31 00:00:00|8.25|11|011|X'0B0B'|X'0B' -12|1|38|3800|38000000|38000000000|1985-08-01 00:00:00|7.62|12|012|X'0C0C0C'|X'0C' -13|0|37|3700|37000000|37000000000|1985-08-02 00:00:00|7.07|13|013|X'0D0D0D0D'|X'0D' -14|1|36|3600|36000000|36000000000|1985-08-03 00:00:00|6.60|14|014|X'0E0E0E0E0E'|X'0E' -15|0|35|3500|35000000|35000000000|1985-08-04 00:00:00|6.19|15|015|X'0F'|X'0F' -16|1|34|3400|34000000|34000000000|1985-08-05 00:00:00|5.82|16|016|X'1010'|X'10' -17|0|33|3300|33000000|33000000000|1985-08-06 00:00:00|5.50|17|017|X'111111'|X'11' -18|1|32|3200|32000000|32000000000|1985-08-07 00:00:00|5.21|18|018|X'12121212'|X'12' -19|0|31|3100|31000000|31000000000|1985-08-08 00:00:00|4.95|19|019|X'1313131313'|X'13' -20|1|30|3000|30000000|30000000000|1985-08-09 00:00:00|4.71|20|020|X'14'|X'14' -21|0|29|2900|29000000|29000000000|1985-08-10 00:00:00|4.50|21|021|X'1515'|X'15' -22|1|28|2800|28000000|28000000000|1985-08-11 00:00:00|4.30|22|022|X'161616'|X'16' -23|0|27|2700|27000000|27000000000|1985-08-12 00:00:00|4.13|23|023|X'17171717'|X'17' -24|1|26|2600|26000000|26000000000|1985-08-13 00:00:00|3.96|24|024|X'1818181818'|X'18' -25|0|25|2500|25000000|25000000000|1985-08-14 00:00:00|3.81|25|025|X'19'|X'19' -26|1|24|2400|24000000|24000000000|1985-08-15 00:00:00|3.67|26|026|X'1A1A'|X'1A' -27|0|23|2300|23000000|23000000000|1985-08-16 00:00:00|3.54|27|027|X'1B1B1B'|X'1B' -28|1|22|2200|22000000|22000000000|1985-08-17 00:00:00|3.41|28|028|X'1C1C1C1C'|X'1C' -29|0|21|2100|21000000|21000000000|1985-08-18 00:00:00|3.30|29|029|X'1D1D1D1D1D'|X'1D' -30|1|20|2000|20000000|20000000000|1985-08-19 00:00:00|3.19|30|030|X'1E'|X'1E' -31|0|19|1900|19000000|19000000000|1985-08-20 00:00:00|3.09|31|031|X'1F1F'|X'1F' -32|1|18|1800|18000000|18000000000|1985-08-21 00:00:00|3.00|32|032|X'202020'|X'20' -33|0|17|1700|17000000|17000000000|1985-08-22 00:00:00|2.91|33|033|X'21212121'|X'21' -34|1|16|1600|16000000|16000000000|1985-08-23 00:00:00|2.83|34|034|X'2222222222'|X'22' -35|0|15|1500|15000000|15000000000|1985-08-24 00:00:00|2.75|35|035|X'23'|X'23' -36|1|14|1400|14000000|14000000000|1985-08-25 00:00:00|2.68|36|036|X'2424'|X'24' -37|0|13|1300|13000000|13000000000|1985-08-26 00:00:00|2.61|37|037|X'252525'|X'25' -38|1|12|1200|12000000|12000000000|1985-08-27 00:00:00|2.54|38|038|X'26262626'|X'26' -39|0|11|1100|11000000|11000000000|1985-08-28 00:00:00|2.48|39|039|X'2727272727'|X'27' -40|1|10|1000|10000000|10000000000|1985-08-29 00:00:00|2.41|40|040|X'28'|X'28' -41|0|9|900|9000000|9000000000|1985-08-30 00:00:00|2.36|41|041|X'2929'|X'29' -42|1|8|800|8000000|8000000000|1985-08-31 00:00:00|2.30|42|042|X'2A2A2A'|X'2A' -43|0|7|700|7000000|7000000000|1985-09-01 00:00:00|2.25|43|043|X'2B2B2B2B'|X'2B' -44|1|6|600|6000000|6000000000|1985-09-02 00:00:00|2.20|44|044|X'2C2C2C2C2C'|X'2C' -45|0|5|500|5000000|5000000000|1985-09-03 00:00:00|2.15|45|045|X'2D'|X'2D' -46|1|4|400|4000000|4000000000|1985-09-04 00:00:00|2.11|46|046|X'2E2E'|X'2E' -47|0|3|300|3000000|3000000000|1985-09-05 00:00:00|2.06|47|047|X'2F2F2F'|X'2F' -48|1|2|200|2000000|2000000000|1985-09-06 00:00:00|2.02|48|048|X'30303030'|X'30' -49|0|1|100|1000000|1000000000|1985-09-07 00:00:00|1.98|49|049|X'3131313131'|X'31' -50|1|0|0|0|0|1985-09-08 00:00:00|1.94|50|050|X'32'|X'32' -51|0|-1|-100|-1000000|-1000000000|1985-09-09 00:00:00|1.90|51|051|X'3333'|X'33' -52|1|-2|-200|-2000000|-2000000000|1985-09-10 00:00:00|1.87|52|052|X'343434'|X'34' -53|0|-3|-300|-3000000|-3000000000|1985-09-11 00:00:00|1.83|53|053|X'35353535'|X'35' -54|1|-4|-400|-4000000|-4000000000|1985-09-12 00:00:00|1.80|54|054|X'3636363636'|X'36' -55|0|-5|-500|-5000000|-5000000000|1985-09-13 00:00:00|1.77|55|055|X'37'|X'37' -56|1|-6|-600|-6000000|-6000000000|1985-09-14 00:00:00|1.74|56|056|X'3838'|X'38' -57|0|-7|-700|-7000000|-7000000000|1985-09-15 00:00:00|1.71|57|057|X'393939'|X'39' -58|1|-8|-800|-8000000|-8000000000|1985-09-16 00:00:00|1.68|58|058|X'3A3A3A3A'|X'3A' -59|0|-9|-900|-9000000|-9000000000|1985-09-17 00:00:00|1.65|59|059|X'3B3B3B3B3B'|X'3B' -60|1|-10|-1000|-10000000|-10000000000|1985-09-18 00:00:00|1.62|60|060|X'3C'|X'3C' -61|0|-11|-1100|-11000000|-11000000000|1985-09-19 00:00:00|1.60|61|061|X'3D3D'|X'3D' -62|1|-12|-1200|-12000000|-12000000000|1985-09-20 00:00:00|1.57|62|062|X'3E3E3E'|X'3E' -63|0|-13|-1300|-13000000|-13000000000|1985-09-21 00:00:00|1.55|63|063|X'3F3F3F3F'|X'3F' -64|1|-14|-1400|-14000000|-14000000000|1985-09-22 00:00:00|1.52|64|064|X'4040404040'|X'40' -65|0|-15|-1500|-15000000|-15000000000|1985-09-23 00:00:00|1.50|65|065|X'41'|X'41' -66|1|-16|-1600|-16000000|-16000000000|1985-09-24 00:00:00|1.48|66|066|X'4242'|X'42' -67|0|-17|-1700|-17000000|-17000000000|1985-09-25 00:00:00|1.46|67|067|X'434343'|X'43' -68|1|-18|-1800|-18000000|-18000000000|1985-09-26 00:00:00|1.43|68|068|X'44444444'|X'44' -69|0|-19|-1900|-19000000|-19000000000|1985-09-27 00:00:00|1.41|69|069|X'4545454545'|X'45' -70|1|-20|-2000|-20000000|-20000000000|1985-09-28 00:00:00|1.39|70|070|X'46'|X'46' -71|0|-21|-2100|-21000000|-21000000000|1985-09-29 00:00:00|1.38|71|071|X'4747'|X'47' -72|1|-22|-2200|-22000000|-22000000000|1985-09-30 00:00:00|1.36|72|072|X'484848'|X'48' -73|0|-23|-2300|-23000000|-23000000000|1985-10-01 00:00:00|1.34|73|073|X'49494949'|X'49' -74|1|-24|-2400|-24000000|-24000000000|1985-10-02 00:00:00|1.32|74|074|X'4A4A4A4A4A'|X'4A' -75|0|-25|-2500|-25000000|-25000000000|1985-10-03 00:00:00|1.30|75|075|X'4B'|X'4B' -76|1|-26|-2600|-26000000|-26000000000|1985-10-04 00:00:00|1.29|76|076|X'4C4C'|X'4C' -77|0|-27|-2700|-27000000|-27000000000|1985-10-05 00:00:00|1.27|77|077|X'4D4D4D'|X'4D' -78|1|-28|-2800|-28000000|-28000000000|1985-10-06 00:00:00|1.25|78|078|X'4E4E4E4E'|X'4E' -79|0|-29|-2900|-29000000|-29000000000|1985-10-07 00:00:00|1.24|79|079|X'4F4F4F4F4F'|X'4F' -80|1|-30|-3000|-30000000|-30000000000|1985-10-08 00:00:00|1.22|80|080|X'50'|X'50' -81|0|-31|-3100|-31000000|-31000000000|1985-10-09 00:00:00|1.21|81|081|X'5151'|X'51' -82|1|-32|-3200|-32000000|-32000000000|1985-10-10 00:00:00|1.19|82|082|X'525252'|X'52' -83|0|-33|-3300|-33000000|-33000000000|1985-10-11 00:00:00|1.18|83|083|X'53535353'|X'53' -84|1|-34|-3400|-34000000|-34000000000|1985-10-12 00:00:00|1.16|84|084|X'5454545454'|X'54' -85|0|-35|-3500|-35000000|-35000000000|1985-10-13 00:00:00|1.15|85|085|X'55'|X'55' -86|1|-36|-3600|-36000000|-36000000000|1985-10-14 00:00:00|1.14|86|086|X'5656'|X'56' -87|0|-37|-3700|-37000000|-37000000000|1985-10-15 00:00:00|1.13|87|087|X'575757'|X'57' -88|1|-38|-3800|-38000000|-38000000000|1985-10-16 00:00:00|1.11|88|088|X'58585858'|X'58' -89|0|-39|-3900|-39000000|-39000000000|1985-10-17 00:00:00|1.10|89|089|X'5959595959'|X'59' -90|1|-40|-4000|-40000000|-40000000000|1985-10-18 00:00:00|1.09|90|090|X'5A'|X'5A' -91|0|-41|-4100|-41000000|-41000000000|1985-10-19 00:00:00|1.08|91|091|X'5B5B'|X'5B' -92|1|-42|-4200|-42000000|-42000000000|1985-10-20 00:00:00|1.06|92|092|X'5C5C5C'|X'5C' -93|0|-43|-4300|-43000000|-43000000000|1985-10-21 00:00:00|1.05|93|093|X'5D5D5D5D'|X'5D' -94|1|-44|-4400|-44000000|-44000000000|1985-10-22 00:00:00|1.04|94|094|X'5E5E5E5E5E'|X'5E' -95|0|-45|-4500|-45000000|-45000000000|1985-10-23 00:00:00|1.03|95|095|X'5F'|X'5F' -96|1|-46|-4600|-46000000|-46000000000|1985-10-24 00:00:00|1.02|96|096|X'6060'|X'60' -97|0|-47|-4700|-47000000|-47000000000|1985-10-25 00:00:00|1.01|97|097|X'616161'|X'61' -98|1|-48|-4800|-48000000|-48000000000|1985-10-26 00:00:00|1.00|98|098|X'62626262'|X'62' diff --git a/tests/queries/004-cross-join-10-rowgroups.sql b/tests/queries/004-cross-join-10-rowgroups.sql index 765f3f5..92a8c73 100644 --- a/tests/queries/004-cross-join-10-rowgroups.sql +++ b/tests/queries/004-cross-join-10-rowgroups.sql @@ -1,2 +1,2 @@ -select count(*) from (select * from no_nulls2 t1, no_nulls2 t2); +select count(*) from (select * from no_nulls1 t1, no_nulls2 t2); 9801 diff --git a/tests/queries/006-rowid-10-rowgroups.sql b/tests/queries/006-rowid-10-rowgroups.sql deleted file mode 100644 index ef6860d..0000000 --- a/tests/queries/006-rowid-10-rowgroups.sql +++ /dev/null @@ -1,2 +0,0 @@ -select int8_1 from no_nulls2 where rowid = 50; -0 diff --git a/tests/queries/007-rowid-55-10-rowgroups.sql b/tests/queries/007-rowid-55-10-rowgroups.sql index 8c0f7a1..fd78d4a 100644 --- a/tests/queries/007-rowid-55-10-rowgroups.sql +++ b/tests/queries/007-rowid-55-10-rowgroups.sql @@ -1,2 +1,2 @@ -select int8_1 from no_nulls2 where rowid = 55; +select int8_1 from no_nulls1 where rowid = 55; -5 diff --git a/tests/queries/008-nulls.sql b/tests/queries/008-nulls.sql index 1c4b6d6..1f4c57d 100644 --- a/tests/queries/008-nulls.sql +++ b/tests/queries/008-nulls.sql @@ -1,2 +1,2 @@ -SELECT SUM(CASE WHEN bool_0 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN int8_1 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN int16_2 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN int32_3 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN int64_4 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN ts_5 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN double_6 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN string_7 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN string_8 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN binary_9 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN binary_10 IS NULL THEN 1 ELSE 0 END) from nulls; +SELECT SUM(CASE WHEN bool_0 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN int8_1 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN int16_2 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN int32_3 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN int64_4 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN ts_5 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN double_6 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN string_7 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN string_8 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN binary_9 IS NULL THEN 1 ELSE 0 END), SUM(CASE WHEN binary_10 IS NULL THEN 1 ELSE 0 END) from nulls1; 50|49|50|49|50|49|50|49|50|49|50 diff --git a/tests/queries/009-rowid-group-by.sql b/tests/queries/009-rowid-group-by.sql index 8632771..c35f7a6 100644 --- a/tests/queries/009-rowid-group-by.sql +++ b/tests/queries/009-rowid-group-by.sql @@ -1,4 +1,4 @@ -select rowid % 10, count(*) from nulls group by 1 order by 1 +select rowid % 10, count(*) from nulls1 group by 1 order by 1 0|10 1|10 2|10 diff --git a/tests/queries/012-string-7-is-null.sql b/tests/queries/012-string-7-is-null.sql index fc4c892..aa9b140 100644 --- a/tests/queries/012-string-7-is-null.sql +++ b/tests/queries/012-string-7-is-null.sql @@ -1,4 +1,4 @@ -select rowid, bool_0, quote(binary_10) from nulls where string_7 is null +select rowid, bool_0, quote(binary_10) from nulls1 where string_7 is null 10||NULL 11||NULL 12||NULL diff --git a/tests/queries/013-string-7-is-not-null.sql b/tests/queries/013-string-7-is-not-null.sql index ad0ccca..edf46f6 100644 --- a/tests/queries/013-string-7-is-not-null.sql +++ b/tests/queries/013-string-7-is-not-null.sql @@ -1,4 +1,4 @@ -select rowid, bool_0, quote(binary_10) from nulls where string_7 is not null +select rowid, bool_0, quote(binary_10) from nulls1 where string_7 is not null 0|1|X'00' 1|0|X'01' 2|1|X'02' diff --git a/tests/queries/014-nulls-like-percent-start.sql b/tests/queries/014-nulls-like-percent-start.sql index d5c5683..35c4517 100644 --- a/tests/queries/014-nulls-like-percent-start.sql +++ b/tests/queries/014-nulls-like-percent-start.sql @@ -1,2 +1,2 @@ -select string_7, string_8 from nulls where string_8 like '%0' +select string_7, string_8 from nulls1 where string_8 like '%0' 0|000 diff --git a/tests/queries/015-nulls-like-no-match.sql b/tests/queries/015-nulls-like-no-match.sql index 8f21f2b..0ec13dc 100644 --- a/tests/queries/015-nulls-like-no-match.sql +++ b/tests/queries/015-nulls-like-no-match.sql @@ -1 +1 @@ -select string_7, string_8 from nulls where string_8 like '0' +select string_7, string_8 from nulls1 where string_8 like '0' diff --git a/tests/queries/016-nulls-like-percent-end.sql b/tests/queries/016-nulls-like-percent-end.sql index 1a30122..f12a894 100644 --- a/tests/queries/016-nulls-like-percent-end.sql +++ b/tests/queries/016-nulls-like-percent-end.sql @@ -1,4 +1,4 @@ -select string_7, string_8 from nulls where string_8 like '0%' +select string_7, string_8 from nulls1 where string_8 like '0%' 0|000 1|001 2|002 diff --git a/tests/queries/017-nulls-like-underscore.sql b/tests/queries/017-nulls-like-underscore.sql index 560419d..680203b 100644 --- a/tests/queries/017-nulls-like-underscore.sql +++ b/tests/queries/017-nulls-like-underscore.sql @@ -1,2 +1,2 @@ -select string_7, string_8 from nulls where string_8 like '0_0' +select string_7, string_8 from nulls1 where string_8 like '0_0' 0|000 diff --git a/tests/queries/018-string-gt-lt.sql b/tests/queries/018-string-gt-lt.sql index 626e080..8775ee0 100644 --- a/tests/queries/018-string-gt-lt.sql +++ b/tests/queries/018-string-gt-lt.sql @@ -1,3 +1,3 @@ -select string_8 from nulls where string_8 > '010' and string_8 < '024' +select string_8 from nulls1 where string_8 > '010' and string_8 < '024' 021 023 diff --git a/tests/queries/019-string-gte-lte.sql b/tests/queries/019-string-gte-lte.sql index 42e74f3..128a2fc 100644 --- a/tests/queries/019-string-gte-lte.sql +++ b/tests/queries/019-string-gte-lte.sql @@ -1,2 +1,2 @@ -select string_8 from nulls where string_8 >= '021' and string_8 <= '021' +select string_8 from nulls1 where string_8 >= '021' and string_8 <= '021' 021 diff --git a/tests/queries/020-string-eq.sql b/tests/queries/020-string-eq.sql index 72a52bd..6c7d9f4 100644 --- a/tests/queries/020-string-eq.sql +++ b/tests/queries/020-string-eq.sql @@ -1,2 +1,2 @@ -select string_8 from nulls where string_8 = '021' +select string_8 from nulls1 where string_8 = '021' 021 diff --git a/tests/queries/021-rowid-and-field-eq.sql b/tests/queries/021-rowid-and-field-eq.sql index 7645d57..7932149 100644 --- a/tests/queries/021-rowid-and-field-eq.sql +++ b/tests/queries/021-rowid-and-field-eq.sql @@ -1,2 +1,2 @@ -select string_8 from nulls where rowid = 21 and string_8 = '021' +select string_8 from nulls1 where rowid = 21 and string_8 = '021' 021 diff --git a/tests/queries/022-rowid-and-field-ne.sql b/tests/queries/022-rowid-and-field-ne.sql index d5aa9f2..8862ac0 100644 --- a/tests/queries/022-rowid-and-field-ne.sql +++ b/tests/queries/022-rowid-and-field-ne.sql @@ -1 +1 @@ -select string_8 from nulls where rowid = 21 and string_8 <> '021' +select string_8 from nulls1 where rowid = 21 and string_8 <> '021' diff --git a/tests/queries/023-int8-eq.sql b/tests/queries/023-int8-eq.sql index e2dbe40..95213ae 100644 --- a/tests/queries/023-int8-eq.sql +++ b/tests/queries/023-int8-eq.sql @@ -1,2 +1,2 @@ -select int8_1 from nulls where int8_1 = 30 +select int8_1 from nulls1 where int8_1 = 30 30 diff --git a/tests/queries/024-int8-lt.sql b/tests/queries/024-int8-lt.sql index 06a3fa6..64cf4ec 100644 --- a/tests/queries/024-int8-lt.sql +++ b/tests/queries/024-int8-lt.sql @@ -1,2 +1,2 @@ -select int8_1 from nulls where int8_1 < -46 +select int8_1 from nulls1 where int8_1 < -46 -48 diff --git a/tests/queries/025-int8-lte.sql b/tests/queries/025-int8-lte.sql index 791cf1a..4647fcb 100644 --- a/tests/queries/025-int8-lte.sql +++ b/tests/queries/025-int8-lte.sql @@ -1,3 +1,3 @@ -select int8_1 from nulls where int8_1 <= -46 +select int8_1 from nulls1 where int8_1 <= -46 -46 -48 diff --git a/tests/queries/026-int8-gt.sql b/tests/queries/026-int8-gt.sql index d41ae46..2dd1398 100644 --- a/tests/queries/026-int8-gt.sql +++ b/tests/queries/026-int8-gt.sql @@ -1,2 +1,2 @@ -select int8_1 from nulls where int8_1 > 49 +select int8_1 from nulls1 where int8_1 > 49 50 diff --git a/tests/queries/027-int8-gte.sql b/tests/queries/027-int8-gte.sql index 231f425..bf19539 100644 --- a/tests/queries/027-int8-gte.sql +++ b/tests/queries/027-int8-gte.sql @@ -1,3 +1,3 @@ -select int8_1 from nulls where int8_1 >= 49 +select int8_1 from nulls1 where int8_1 >= 49 50 49 diff --git a/tests/queries/028-int8-rowid-eq-and-field-ne.sql b/tests/queries/028-int8-rowid-eq-and-field-ne.sql index 57fa9fa..cceeca7 100644 --- a/tests/queries/028-int8-rowid-eq-and-field-ne.sql +++ b/tests/queries/028-int8-rowid-eq-and-field-ne.sql @@ -1 +1 @@ -select int8_1 from nulls where rowid = 66 and int8_1 <> -16 +select int8_1 from nulls1 where rowid = 66 and int8_1 <> -16 diff --git a/tests/queries/029-int64-gte.sql b/tests/queries/029-int64-gte.sql index 8aa1b7a..8215392 100644 --- a/tests/queries/029-int64-gte.sql +++ b/tests/queries/029-int64-gte.sql @@ -1,3 +1,3 @@ -select int64_4 from nulls where int64_4 >= 49000000000 +select int64_4 from nulls1 where int64_4 >= 49000000000 50000000000 49000000000 diff --git a/tests/queries/030-int64-gt.sql b/tests/queries/030-int64-gt.sql index 5597ca8..274f56a 100644 --- a/tests/queries/030-int64-gt.sql +++ b/tests/queries/030-int64-gt.sql @@ -1,2 +1,2 @@ -select int64_4 from nulls where int64_4 > 49000000000 +select int64_4 from nulls1 where int64_4 > 49000000000 50000000000 diff --git a/tests/queries/031-int64-eq.sql b/tests/queries/031-int64-eq.sql index 71d0bfd..88df198 100644 --- a/tests/queries/031-int64-eq.sql +++ b/tests/queries/031-int64-eq.sql @@ -1,2 +1,2 @@ -select int64_4 from nulls where int64_4 = 49000000000 +select int64_4 from nulls1 where int64_4 = 49000000000 49000000000 diff --git a/tests/queries/032-int64-lt.sql b/tests/queries/032-int64-lt.sql index ae52655..7fa5e4e 100644 --- a/tests/queries/032-int64-lt.sql +++ b/tests/queries/032-int64-lt.sql @@ -1,2 +1,2 @@ -select int64_4 from nulls where int64_4 < -46000000000 +select int64_4 from nulls1 where int64_4 < -46000000000 -47000000000 diff --git a/tests/queries/033-int64-lte.sql b/tests/queries/033-int64-lte.sql index fbef373..0d305c2 100644 --- a/tests/queries/033-int64-lte.sql +++ b/tests/queries/033-int64-lte.sql @@ -1,3 +1,3 @@ -select int64_4 from nulls where int64_4 <= -45000000000 +select int64_4 from nulls1 where int64_4 <= -45000000000 -45000000000 -47000000000 diff --git a/tests/queries/034-int64-rowid-eq-and-field-ne.sql b/tests/queries/034-int64-rowid-eq-and-field-ne.sql index a8ed766..e5c1c36 100644 --- a/tests/queries/034-int64-rowid-eq-and-field-ne.sql +++ b/tests/queries/034-int64-rowid-eq-and-field-ne.sql @@ -1 +1 @@ -select int64_4 from nulls where rowid = 57 and int64_4 <> -7000000000 +select int64_4 from nulls1 where rowid = 57 and int64_4 <> -7000000000 diff --git a/tests/queries/035-int64-rowid-eq-and-field-ne2.sql b/tests/queries/035-int64-rowid-eq-and-field-ne2.sql index 73f8642..8bcc97b 100644 --- a/tests/queries/035-int64-rowid-eq-and-field-ne2.sql +++ b/tests/queries/035-int64-rowid-eq-and-field-ne2.sql @@ -1,2 +1,2 @@ -select int64_4 from nulls where rowid = 57 and int64_4 <> -8000000000 +select int64_4 from nulls1 where rowid = 57 and int64_4 <> -8000000000 -7000000000 diff --git a/tests/queries/036-double-eq.sql b/tests/queries/036-double-eq.sql index 2ec30fa..3439e49 100644 --- a/tests/queries/036-double-eq.sql +++ b/tests/queries/036-double-eq.sql @@ -1,2 +1,2 @@ -select printf('%.2f', double_6) as double_6 from nulls where double_6 = 99.0 +select printf('%.2f', double_6) as double_6 from nulls1 where double_6 = 99.0 99.00 diff --git a/tests/queries/037-double-gt.sql b/tests/queries/037-double-gt.sql index 83beb2e..0636e5f 100644 --- a/tests/queries/037-double-gt.sql +++ b/tests/queries/037-double-gt.sql @@ -1,2 +1,2 @@ -select printf('%.2f', double_6) as double_6 from nulls where double_6 > 98.0 +select printf('%.2f', double_6) as double_6 from nulls1 where double_6 > 98.0 99.00 diff --git a/tests/queries/038-double-gte.sql b/tests/queries/038-double-gte.sql index 61c6f75..8e7536f 100644 --- a/tests/queries/038-double-gte.sql +++ b/tests/queries/038-double-gte.sql @@ -1,3 +1,3 @@ -select printf('%.2f', double_6) as double_6 from nulls where double_6 >= 49.5 +select printf('%.2f', double_6) as double_6 from nulls1 where double_6 >= 49.5 99.00 49.50 diff --git a/tests/queries/039-double-lt.sql b/tests/queries/039-double-lt.sql index ad68a34..716e6d7 100644 --- a/tests/queries/039-double-lt.sql +++ b/tests/queries/039-double-lt.sql @@ -1,2 +1,2 @@ -select printf('%.2f', double_6) from nulls where double_6 < 99.0 order by double_6 desc limit 1 +select printf('%.2f', double_6) from nulls1 where double_6 < 99.0 order by double_6 desc limit 1 49.50 diff --git a/tests/queries/040-double-lte.sql b/tests/queries/040-double-lte.sql index d526c8c..a071b2c 100644 --- a/tests/queries/040-double-lte.sql +++ b/tests/queries/040-double-lte.sql @@ -1,2 +1,2 @@ -select printf('%.2f', double_6) from nulls where double_6 <= 99.0 order by double_6 desc limit 1 +select printf('%.2f', double_6) from nulls1 where double_6 <= 99.0 order by double_6 desc limit 1 99.00 diff --git a/tests/queries/041-double-rowid-and-field-ne.sql b/tests/queries/041-double-rowid-and-field-ne.sql index f12b7c0..ef9404e 100644 --- a/tests/queries/041-double-rowid-and-field-ne.sql +++ b/tests/queries/041-double-rowid-and-field-ne.sql @@ -1 +1 @@ -select printf('%.2f', double_6) from nulls where rowid = 0 and double_6 <> 99.0 +select printf('%.2f', double_6) from nulls1 where rowid = 0 and double_6 <> 99.0 diff --git a/tests/queries/042-double-rowid-and-field-ne2.sql b/tests/queries/042-double-rowid-and-field-ne2.sql index 6b4f78d..4af9635 100644 --- a/tests/queries/042-double-rowid-and-field-ne2.sql +++ b/tests/queries/042-double-rowid-and-field-ne2.sql @@ -1,2 +1,2 @@ -select printf('%.2f', double_6) from nulls where rowid = 0 and double_6 <> 100.0 +select printf('%.2f', double_6) from nulls1 where rowid = 0 and double_6 <> 100.0 99.00 diff --git a/tests/queries/043-binary-eq.sql b/tests/queries/043-binary-eq.sql index c83a9dd..8d4c96a 100644 --- a/tests/queries/043-binary-eq.sql +++ b/tests/queries/043-binary-eq.sql @@ -1,2 +1,2 @@ -select rowid from nulls where binary_10 = x'01'; +select rowid from nulls1 where binary_10 = x'01'; 1 diff --git a/tests/queries/044-binary-rowid-and-ne.sql b/tests/queries/044-binary-rowid-and-ne.sql index 688e4e1..9c818b2 100644 --- a/tests/queries/044-binary-rowid-and-ne.sql +++ b/tests/queries/044-binary-rowid-and-ne.sql @@ -1 +1 @@ -select rowid from nulls where rowid = 1 and binary_10 <> x'01'; +select rowid from nulls1 where rowid = 1 and binary_10 <> x'01'; diff --git a/tests/queries/045-binary-lt.sql b/tests/queries/045-binary-lt.sql index 4123e1f..2673833 100644 --- a/tests/queries/045-binary-lt.sql +++ b/tests/queries/045-binary-lt.sql @@ -1,2 +1,2 @@ -select rowid from nulls where binary_10 < x'01'; +select rowid from nulls1 where binary_10 < x'01'; 0 diff --git a/tests/queries/046-binary-lte.sql b/tests/queries/046-binary-lte.sql index 5b97f2b..5a6ae96 100644 --- a/tests/queries/046-binary-lte.sql +++ b/tests/queries/046-binary-lte.sql @@ -1,3 +1,3 @@ -select rowid from nulls where binary_10 <= x'01' order by 1; +select rowid from nulls1 where binary_10 <= x'01' order by 1; 0 1 diff --git a/tests/queries/047-binary-gt.sql b/tests/queries/047-binary-gt.sql index 31e66f5..5da1ecc 100644 --- a/tests/queries/047-binary-gt.sql +++ b/tests/queries/047-binary-gt.sql @@ -1,2 +1,2 @@ -select rowid from nulls where binary_10 > x'60'; +select rowid from nulls1 where binary_10 > x'60'; 97 diff --git a/tests/queries/048-binary-gte.sql b/tests/queries/048-binary-gte.sql index 241e5bb..97205b4 100644 --- a/tests/queries/048-binary-gte.sql +++ b/tests/queries/048-binary-gte.sql @@ -1,3 +1,3 @@ -select rowid from nulls where binary_10 >= x'5F' order by 1; +select rowid from nulls1 where binary_10 >= x'5F' order by 1; 95 97 diff --git a/tests/queries/061-string-eq-int.sql b/tests/queries/061-string-eq-int.sql index 2af041c..e9bc52e 100644 --- a/tests/queries/061-string-eq-int.sql +++ b/tests/queries/061-string-eq-int.sql @@ -1,2 +1,2 @@ -select string_7 from nulls where string_7 = 22; +select string_7 from nulls1 where string_7 = 22; 22 diff --git a/tests/queries/062-string-eq-double.sql b/tests/queries/062-string-eq-double.sql index 903b82d..6ea46c4 100644 --- a/tests/queries/062-string-eq-double.sql +++ b/tests/queries/062-string-eq-double.sql @@ -1 +1 @@ -select string_7 from nulls where string_7 = 22.0; +select string_7 from nulls1 where string_7 = 22.0; diff --git a/tests/queries/063-int8-eq-double.sql b/tests/queries/063-int8-eq-double.sql index cae3a57..76c9223 100644 --- a/tests/queries/063-int8-eq-double.sql +++ b/tests/queries/063-int8-eq-double.sql @@ -1,2 +1,2 @@ -select int8_1 from nulls where int8_1 = 30.0; +select int8_1 from nulls1 where int8_1 = 30.0; 30 diff --git a/tests/queries/064-int8-eq-str.sql b/tests/queries/064-int8-eq-str.sql index 5631731..53cc566 100644 --- a/tests/queries/064-int8-eq-str.sql +++ b/tests/queries/064-int8-eq-str.sql @@ -1,2 +1,2 @@ -select int8_1 from nulls where int8_1 = '30.0'; +select int8_1 from nulls1 where int8_1 = '30.0'; 30 diff --git a/tests/queries/065-int8-eq-str2.sql b/tests/queries/065-int8-eq-str2.sql index 106bbd4..54fd20a 100644 --- a/tests/queries/065-int8-eq-str2.sql +++ b/tests/queries/065-int8-eq-str2.sql @@ -1,2 +1,2 @@ -select int8_1 from nulls where int8_1 = '30'; +select int8_1 from nulls1 where int8_1 = '30'; 30 diff --git a/tests/queries/066-int8-eq-bogus-str.sql b/tests/queries/066-int8-eq-bogus-str.sql index 0c72dc7..f427a87 100644 --- a/tests/queries/066-int8-eq-bogus-str.sql +++ b/tests/queries/066-int8-eq-bogus-str.sql @@ -1 +1 @@ -select int8_1 from nulls where int8_1 = '30f'; +select int8_1 from nulls1 where int8_1 = '30f'; diff --git a/tests/queries/067-int8-lt-str.sql b/tests/queries/067-int8-lt-str.sql index 0a7e8c2..1cddf5d 100644 --- a/tests/queries/067-int8-lt-str.sql +++ b/tests/queries/067-int8-lt-str.sql @@ -1,2 +1,2 @@ -select int8_1 from nulls where int8_1 < '-46' +select int8_1 from nulls1 where int8_1 < '-46' -48 diff --git a/tests/queries/068-int8-lt-double.sql b/tests/queries/068-int8-lt-double.sql index af93808..d3e90d4 100644 --- a/tests/queries/068-int8-lt-double.sql +++ b/tests/queries/068-int8-lt-double.sql @@ -1,2 +1,2 @@ -select int8_1 from nulls where int8_1 < -46.0 +select int8_1 from nulls1 where int8_1 < -46.0 -48 diff --git a/tests/queries/069-int8-lte-str.sql b/tests/queries/069-int8-lte-str.sql index a2d12fb..2a2e041 100644 --- a/tests/queries/069-int8-lte-str.sql +++ b/tests/queries/069-int8-lte-str.sql @@ -1,3 +1,3 @@ -select int8_1 from nulls where int8_1 <= '-46' +select int8_1 from nulls1 where int8_1 <= '-46' -46 -48 diff --git a/tests/queries/070-int8-lte-double.sql b/tests/queries/070-int8-lte-double.sql index 1adff8f..d6375b8 100644 --- a/tests/queries/070-int8-lte-double.sql +++ b/tests/queries/070-int8-lte-double.sql @@ -1,3 +1,3 @@ -select int8_1 from nulls where int8_1 <= -46.0 +select int8_1 from nulls1 where int8_1 <= -46.0 -46 -48 diff --git a/tests/queries/071-int8-gt-str.sql b/tests/queries/071-int8-gt-str.sql index bdb00d4..fa71236 100644 --- a/tests/queries/071-int8-gt-str.sql +++ b/tests/queries/071-int8-gt-str.sql @@ -1,2 +1,2 @@ -select int8_1 from nulls where int8_1 > '49' +select int8_1 from nulls1 where int8_1 > '49' 50 diff --git a/tests/queries/072-int8-gt-double.sql b/tests/queries/072-int8-gt-double.sql index 556c391..8cbc669 100644 --- a/tests/queries/072-int8-gt-double.sql +++ b/tests/queries/072-int8-gt-double.sql @@ -1,2 +1,2 @@ -select int8_1 from nulls where int8_1 > 49.0 +select int8_1 from nulls1 where int8_1 > 49.0 50 diff --git a/tests/queries/073-int8-gte-str.sql b/tests/queries/073-int8-gte-str.sql index 9f414df..14c83be 100644 --- a/tests/queries/073-int8-gte-str.sql +++ b/tests/queries/073-int8-gte-str.sql @@ -1,3 +1,3 @@ -select int8_1 from nulls where int8_1 >= '49' +select int8_1 from nulls1 where int8_1 >= '49' 50 49 diff --git a/tests/queries/074-int8-gte-double.sql b/tests/queries/074-int8-gte-double.sql index b24a1f5..f61e158 100644 --- a/tests/queries/074-int8-gte-double.sql +++ b/tests/queries/074-int8-gte-double.sql @@ -1,3 +1,3 @@ -select int8_1 from nulls where int8_1 >= 49.0 +select int8_1 from nulls1 where int8_1 >= 49.0 50 49 diff --git a/tests/queries/075-int8-ne-str.sql b/tests/queries/075-int8-ne-str.sql index 1c9f57c..25742a7 100644 --- a/tests/queries/075-int8-ne-str.sql +++ b/tests/queries/075-int8-ne-str.sql @@ -1 +1 @@ -select int8_1 from nulls where rowid = 66 and int8_1 <> '-16' +select int8_1 from nulls1 where rowid = 66 and int8_1 <> '-16' diff --git a/tests/queries/076-int8-ne-double.sql b/tests/queries/076-int8-ne-double.sql index d15790a..958b4ed 100644 --- a/tests/queries/076-int8-ne-double.sql +++ b/tests/queries/076-int8-ne-double.sql @@ -1 +1 @@ -select int8_1 from nulls where rowid = 66 and int8_1 <> -16.0 +select int8_1 from nulls1 where rowid = 66 and int8_1 <> -16.0 diff --git a/tests/queries/077-int64-gte-str.sql b/tests/queries/077-int64-gte-str.sql index c23ac35..ce32e12 100644 --- a/tests/queries/077-int64-gte-str.sql +++ b/tests/queries/077-int64-gte-str.sql @@ -1,3 +1,3 @@ -select int64_4 from nulls where int64_4 >= '49000000000' +select int64_4 from nulls1 where int64_4 >= '49000000000' 50000000000 49000000000 diff --git a/tests/queries/078-int64-gte-double.sql b/tests/queries/078-int64-gte-double.sql index 38e17a7..684a87c 100644 --- a/tests/queries/078-int64-gte-double.sql +++ b/tests/queries/078-int64-gte-double.sql @@ -1,3 +1,3 @@ -select int64_4 from nulls where int64_4 >= 49000000000.0 +select int64_4 from nulls1 where int64_4 >= 49000000000.0 50000000000 49000000000 diff --git a/tests/queries/079-int65-gt-str.sql b/tests/queries/079-int65-gt-str.sql index 60b9599..3f73f86 100644 --- a/tests/queries/079-int65-gt-str.sql +++ b/tests/queries/079-int65-gt-str.sql @@ -1,2 +1,2 @@ -select int64_4 from nulls where int64_4 > '49000000000' +select int64_4 from nulls1 where int64_4 > '49000000000' 50000000000 diff --git a/tests/queries/080-int65-gt-double.sql b/tests/queries/080-int65-gt-double.sql index 35a1131..fbd4489 100644 --- a/tests/queries/080-int65-gt-double.sql +++ b/tests/queries/080-int65-gt-double.sql @@ -1,2 +1,2 @@ -select int64_4 from nulls where int64_4 > 49000000000.0 +select int64_4 from nulls1 where int64_4 > 49000000000.0 50000000000 diff --git a/tests/queries/081-int64-eq-str.sql b/tests/queries/081-int64-eq-str.sql index 2a706f4..fec63b6 100644 --- a/tests/queries/081-int64-eq-str.sql +++ b/tests/queries/081-int64-eq-str.sql @@ -1,2 +1,2 @@ -select int64_4 from nulls where int64_4 = '49000000000' +select int64_4 from nulls1 where int64_4 = '49000000000' 49000000000 diff --git a/tests/queries/082-int64-eq-double.sql b/tests/queries/082-int64-eq-double.sql index 56ce1d3..f938657 100644 --- a/tests/queries/082-int64-eq-double.sql +++ b/tests/queries/082-int64-eq-double.sql @@ -1,2 +1,2 @@ -select int64_4 from nulls where int64_4 = 49000000000.0 +select int64_4 from nulls1 where int64_4 = 49000000000.0 49000000000 diff --git a/tests/queries/083-int64-lt-str.sql b/tests/queries/083-int64-lt-str.sql index 6e72b69..306fa80 100644 --- a/tests/queries/083-int64-lt-str.sql +++ b/tests/queries/083-int64-lt-str.sql @@ -1,2 +1,2 @@ -select int64_4 from nulls where int64_4 < '-46000000000' +select int64_4 from nulls1 where int64_4 < '-46000000000' -47000000000 diff --git a/tests/queries/084-int64-lt-double.sql b/tests/queries/084-int64-lt-double.sql index 380f5d6..d905218 100644 --- a/tests/queries/084-int64-lt-double.sql +++ b/tests/queries/084-int64-lt-double.sql @@ -1,2 +1,2 @@ -select int64_4 from nulls where int64_4 < -46000000000.0 +select int64_4 from nulls1 where int64_4 < -46000000000.0 -47000000000 diff --git a/tests/queries/085-int64-lte-str.sql b/tests/queries/085-int64-lte-str.sql index 52da2fa..eef3607 100644 --- a/tests/queries/085-int64-lte-str.sql +++ b/tests/queries/085-int64-lte-str.sql @@ -1,3 +1,3 @@ -select int64_4 from nulls where int64_4 <= '-45000000000' +select int64_4 from nulls1 where int64_4 <= '-45000000000' -45000000000 -47000000000 diff --git a/tests/queries/086-int64-lte-double.sql b/tests/queries/086-int64-lte-double.sql index fb04332..dfc225b 100644 --- a/tests/queries/086-int64-lte-double.sql +++ b/tests/queries/086-int64-lte-double.sql @@ -1,3 +1,3 @@ -select int64_4 from nulls where int64_4 <= -45000000000.0 +select int64_4 from nulls1 where int64_4 <= -45000000000.0 -45000000000 -47000000000 diff --git a/tests/queries/087-int64-ne-str.sql b/tests/queries/087-int64-ne-str.sql index cac8fc6..41a8718 100644 --- a/tests/queries/087-int64-ne-str.sql +++ b/tests/queries/087-int64-ne-str.sql @@ -1 +1 @@ -select int64_4 from nulls where rowid = 57 and int64_4 <> '-7000000000' +select int64_4 from nulls1 where rowid = 57 and int64_4 <> '-7000000000' diff --git a/tests/queries/088-int64-ne-double.sql b/tests/queries/088-int64-ne-double.sql index ce9f0d3..40555f5 100644 --- a/tests/queries/088-int64-ne-double.sql +++ b/tests/queries/088-int64-ne-double.sql @@ -1 +1 @@ -select int64_4 from nulls where rowid = 57 and int64_4 <> -7000000000.0 +select int64_4 from nulls1 where rowid = 57 and int64_4 <> -7000000000.0 diff --git a/tests/queries/089-int64-ne-some-str.sql b/tests/queries/089-int64-ne-some-str.sql index 72dcc98..831aced 100644 --- a/tests/queries/089-int64-ne-some-str.sql +++ b/tests/queries/089-int64-ne-some-str.sql @@ -1,2 +1,2 @@ -select int64_4 from nulls where rowid = 57 and int64_4 <> '-8000000000' +select int64_4 from nulls1 where rowid = 57 and int64_4 <> '-8000000000' -7000000000 diff --git a/tests/queries/090-int64-ne-some-double.sql b/tests/queries/090-int64-ne-some-double.sql index ebf8b0c..d51736e 100644 --- a/tests/queries/090-int64-ne-some-double.sql +++ b/tests/queries/090-int64-ne-some-double.sql @@ -1,2 +1,2 @@ -select int64_4 from nulls where rowid = 57 and int64_4 <> -8000000000.0 +select int64_4 from nulls1 where rowid = 57 and int64_4 <> -8000000000.0 -7000000000 diff --git a/tests/queries/091-double-eq-str.sql b/tests/queries/091-double-eq-str.sql index 09147c4..4e9af68 100644 --- a/tests/queries/091-double-eq-str.sql +++ b/tests/queries/091-double-eq-str.sql @@ -1,2 +1,2 @@ -select printf('%.2f', double_6) as double_6 from nulls where double_6 = '99.0' +select printf('%.2f', double_6) as double_6 from nulls1 where double_6 = '99.0' 99.00 diff --git a/tests/queries/092-double-eq-int.sql b/tests/queries/092-double-eq-int.sql index b21841f..e5b40fa 100644 --- a/tests/queries/092-double-eq-int.sql +++ b/tests/queries/092-double-eq-int.sql @@ -1,2 +1,2 @@ -select printf('%.2f', double_6) as double_6 from nulls where double_6 = 99 +select printf('%.2f', double_6) as double_6 from nulls1 where double_6 = 99 99.00 diff --git a/tests/queries/093-double-gt-str.sql b/tests/queries/093-double-gt-str.sql index 5462292..91198fc 100644 --- a/tests/queries/093-double-gt-str.sql +++ b/tests/queries/093-double-gt-str.sql @@ -1,2 +1,2 @@ -select printf('%.2f', double_6) as double_6 from nulls where double_6 > '98' +select printf('%.2f', double_6) as double_6 from nulls1 where double_6 > '98' 99.00 diff --git a/tests/queries/094-double-gt-int.sql b/tests/queries/094-double-gt-int.sql index 22d0c4f..be17f03 100644 --- a/tests/queries/094-double-gt-int.sql +++ b/tests/queries/094-double-gt-int.sql @@ -1,2 +1,2 @@ -select printf('%.2f', double_6) as double_6 from nulls where double_6 > 98 +select printf('%.2f', double_6) as double_6 from nulls1 where double_6 > 98 99.00 diff --git a/tests/queries/095-double-gte-str.sql b/tests/queries/095-double-gte-str.sql index b3eb211..0b20634 100644 --- a/tests/queries/095-double-gte-str.sql +++ b/tests/queries/095-double-gte-str.sql @@ -1,3 +1,3 @@ -select printf('%.2f', double_6) as double_6 from nulls where double_6 >= '49.5' +select printf('%.2f', double_6) as double_6 from nulls1 where double_6 >= '49.5' 99.00 49.50 diff --git a/tests/queries/096-double-gte-int.sql b/tests/queries/096-double-gte-int.sql index 2a0776e..9ff614c 100644 --- a/tests/queries/096-double-gte-int.sql +++ b/tests/queries/096-double-gte-int.sql @@ -1,2 +1,2 @@ -select printf('%.2f', double_6) as double_6 from nulls where double_6 >= '99' +select printf('%.2f', double_6) as double_6 from nulls1 where double_6 >= '99' 99.00 diff --git a/tests/queries/097-double-lt-str.sql b/tests/queries/097-double-lt-str.sql index 95fa35b..895815c 100644 --- a/tests/queries/097-double-lt-str.sql +++ b/tests/queries/097-double-lt-str.sql @@ -1,2 +1,2 @@ -select printf('%.2f', double_6) from nulls where double_6 < '99.0' order by double_6 desc limit 1 +select printf('%.2f', double_6) from nulls1 where double_6 < '99.0' order by double_6 desc limit 1 49.50 diff --git a/tests/queries/098-double-lt-int.sql b/tests/queries/098-double-lt-int.sql index 4afcce9..2219f18 100644 --- a/tests/queries/098-double-lt-int.sql +++ b/tests/queries/098-double-lt-int.sql @@ -1,2 +1,2 @@ -select printf('%.2f', double_6) from nulls where double_6 < 99 order by double_6 desc limit 1 +select printf('%.2f', double_6) from nulls1 where double_6 < 99 order by double_6 desc limit 1 49.50 diff --git a/tests/queries/099-double-lte-str.sql b/tests/queries/099-double-lte-str.sql index b6028d7..2005580 100644 --- a/tests/queries/099-double-lte-str.sql +++ b/tests/queries/099-double-lte-str.sql @@ -1,2 +1,2 @@ -select printf('%.2f', double_6) from nulls where double_6 <= '99.0' order by double_6 desc limit 1 +select printf('%.2f', double_6) from nulls1 where double_6 <= '99.0' order by double_6 desc limit 1 99.00 diff --git a/tests/queries/100-double-lte-int.sql b/tests/queries/100-double-lte-int.sql index 97b8140..cef9659 100644 --- a/tests/queries/100-double-lte-int.sql +++ b/tests/queries/100-double-lte-int.sql @@ -1,2 +1,2 @@ -select printf('%.2f', double_6) from nulls where double_6 <= 99 order by double_6 desc limit 1 +select printf('%.2f', double_6) from nulls1 where double_6 <= 99 order by double_6 desc limit 1 99.00 diff --git a/tests/queries/101-double-rowid-and-field-ne-str.sql b/tests/queries/101-double-rowid-and-field-ne-str.sql index 61d059b..a7c8a8b 100644 --- a/tests/queries/101-double-rowid-and-field-ne-str.sql +++ b/tests/queries/101-double-rowid-and-field-ne-str.sql @@ -1 +1 @@ -select printf('%.2f', double_6) from nulls where rowid = 0 and double_6 <> '99.0' +select printf('%.2f', double_6) from nulls1 where rowid = 0 and double_6 <> '99.0' diff --git a/tests/queries/102-double-rowid-and-field-ne-int.sql b/tests/queries/102-double-rowid-and-field-ne-int.sql index b1e47fb..91d8048 100644 --- a/tests/queries/102-double-rowid-and-field-ne-int.sql +++ b/tests/queries/102-double-rowid-and-field-ne-int.sql @@ -1 +1 @@ -select printf('%.2f', double_6) from nulls where rowid = 0 and double_6 <> 99 +select printf('%.2f', double_6) from nulls1 where rowid = 0 and double_6 <> 99 diff --git a/tests/queries/103-double-rowid-and-field-ne2-some-str.sql b/tests/queries/103-double-rowid-and-field-ne2-some-str.sql index 32a3f02..2e6401b 100644 --- a/tests/queries/103-double-rowid-and-field-ne2-some-str.sql +++ b/tests/queries/103-double-rowid-and-field-ne2-some-str.sql @@ -1,2 +1,2 @@ -select printf('%.2f', double_6) from nulls where rowid = 0 and double_6 <> '100' +select printf('%.2f', double_6) from nulls1 where rowid = 0 and double_6 <> '100' 99.00 diff --git a/tests/queries/104-double-rowid-and-field-ne2-some-int.sql b/tests/queries/104-double-rowid-and-field-ne2-some-int.sql index 6c2c43d..171b5b3 100644 --- a/tests/queries/104-double-rowid-and-field-ne2-some-int.sql +++ b/tests/queries/104-double-rowid-and-field-ne2-some-int.sql @@ -1,2 +1,2 @@ -select printf('%.2f', double_6) from nulls where rowid = 0 and double_6 <> 100 +select printf('%.2f', double_6) from nulls1 where rowid = 0 and double_6 <> 100 99.00 diff --git a/tests/queries/107-rowid-gt-0.sql b/tests/queries/107-rowid-gt-0.sql deleted file mode 100644 index 7f1c921..0000000 --- a/tests/queries/107-rowid-gt-0.sql +++ /dev/null @@ -1,2 +0,0 @@ -select count(*) from no_nulls2 where rowid > 0 -98 diff --git a/tests/queries/108-rowid-gte-0.sql b/tests/queries/108-rowid-gte-0.sql deleted file mode 100644 index 4618b4d..0000000 --- a/tests/queries/108-rowid-gte-0.sql +++ /dev/null @@ -1,2 +0,0 @@ -select count(*) from no_nulls2 where rowid >= 0 -99 diff --git a/tests/queries/109-bool-where-eq-0.sql b/tests/queries/109-bool-where-eq-0.sql index fed038f..c359765 100644 --- a/tests/queries/109-bool-where-eq-0.sql +++ b/tests/queries/109-bool-where-eq-0.sql @@ -1,2 +1,2 @@ -select count(*) from nulls where bool_0 = 0 +select count(*) from nulls1 where bool_0 = 0 44 diff --git a/tests/queries/110-bool-where-eq-1.sql b/tests/queries/110-bool-where-eq-1.sql index 2c15c3d..4596109 100644 --- a/tests/queries/110-bool-where-eq-1.sql +++ b/tests/queries/110-bool-where-eq-1.sql @@ -1,2 +1,2 @@ -select count(*) from nulls where bool_0 = 1 +select count(*) from nulls1 where bool_0 = 1 5 diff --git a/tests/queries/111-bool-where-bool.sql b/tests/queries/111-bool-where-bool.sql index 6e869ef..22a9370 100644 --- a/tests/queries/111-bool-where-bool.sql +++ b/tests/queries/111-bool-where-bool.sql @@ -1,2 +1,2 @@ -select count(*) from nulls where bool_0 +select count(*) from nulls1 where bool_0 5 diff --git a/tests/queries/112-bool-where-not-bool.sql b/tests/queries/112-bool-where-not-bool.sql index 4b52cdc..73dd46c 100644 --- a/tests/queries/112-bool-where-not-bool.sql +++ b/tests/queries/112-bool-where-not-bool.sql @@ -1,2 +1,2 @@ -select count(*) from nulls where not bool_0 +select count(*) from nulls1 where not bool_0 44 diff --git a/tests/queries/113-bool-where-gt-0.sql b/tests/queries/113-bool-where-gt-0.sql index 3c98495..3c60dc5 100644 --- a/tests/queries/113-bool-where-gt-0.sql +++ b/tests/queries/113-bool-where-gt-0.sql @@ -1,2 +1,2 @@ -select count(*) from nulls where bool_0 > 0 +select count(*) from nulls1 where bool_0 > 0 5 diff --git a/tests/queries/114-bool-where-gte-0.sql b/tests/queries/114-bool-where-gte-0.sql index 84cdb7b..479b815 100644 --- a/tests/queries/114-bool-where-gte-0.sql +++ b/tests/queries/114-bool-where-gte-0.sql @@ -1,2 +1,2 @@ -select count(*) from nulls where bool_0 >= 0 +select count(*) from nulls1 where bool_0 >= 0 49 diff --git a/tests/queries/115-bool-where-gt-1.sql b/tests/queries/115-bool-where-gt-1.sql index a65f84c..2f33d93 100644 --- a/tests/queries/115-bool-where-gt-1.sql +++ b/tests/queries/115-bool-where-gt-1.sql @@ -1,2 +1,2 @@ -select count(*) from nulls where bool_0 > 1 +select count(*) from nulls1 where bool_0 > 1 0 diff --git a/tests/queries/116-bool-where-lt-0.sql b/tests/queries/116-bool-where-lt-0.sql index 0c8f2cc..7764906 100644 --- a/tests/queries/116-bool-where-lt-0.sql +++ b/tests/queries/116-bool-where-lt-0.sql @@ -1,2 +1,2 @@ -select count(*) from nulls where bool_0 < 0 +select count(*) from nulls1 where bool_0 < 0 0 diff --git a/tests/queries/117-bool-where-lt-1.sql b/tests/queries/117-bool-where-lt-1.sql index b22bf71..4066908 100644 --- a/tests/queries/117-bool-where-lt-1.sql +++ b/tests/queries/117-bool-where-lt-1.sql @@ -1,2 +1,2 @@ -select count(*) from nulls where bool_0 < 1 +select count(*) from nulls1 where bool_0 < 1 44 diff --git a/tests/queries/118-bool-where-lte-1.sql b/tests/queries/118-bool-where-lte-1.sql index a9f2357..0881aaf 100644 --- a/tests/queries/118-bool-where-lte-1.sql +++ b/tests/queries/118-bool-where-lte-1.sql @@ -1,2 +1,2 @@ -select count(*) from nulls where bool_0 <= 1 +select count(*) from nulls1 where bool_0 <= 1 49 diff --git a/tests/queries/119-ts-eq-july-20.sql b/tests/queries/119-ts-eq-july-20.sql index e89b1a9..c552939 100644 --- a/tests/queries/119-ts-eq-july-20.sql +++ b/tests/queries/119-ts-eq-july-20.sql @@ -1,2 +1,2 @@ -select count(*) from nulls where ts_5 = 490665600000 +select count(*) from nulls1 where ts_5 = 490665600000 1 diff --git a/tests/queries/120-ts-lt-july-20.sql b/tests/queries/120-ts-lt-july-20.sql index 405fe2c..2269103 100644 --- a/tests/queries/120-ts-lt-july-20.sql +++ b/tests/queries/120-ts-lt-july-20.sql @@ -1,2 +1,2 @@ -select count(*) from nulls where ts_5 < 490665600000 +select count(*) from nulls1 where ts_5 < 490665600000 0 diff --git a/tests/queries/121-ts-lte-july-20.sql b/tests/queries/121-ts-lte-july-20.sql index 78b66c0..44c3891 100644 --- a/tests/queries/121-ts-lte-july-20.sql +++ b/tests/queries/121-ts-lte-july-20.sql @@ -1,2 +1,2 @@ -select count(*) from nulls where ts_5 <= 490665600000 +select count(*) from nulls1 where ts_5 <= 490665600000 1 diff --git a/tests/queries/122-ts-gt-july-20.sql b/tests/queries/122-ts-gt-july-20.sql index 06d8b37..126e0ce 100644 --- a/tests/queries/122-ts-gt-july-20.sql +++ b/tests/queries/122-ts-gt-july-20.sql @@ -1,2 +1,2 @@ -select count(*) from nulls where ts_5 > 490665600000 +select count(*) from nulls1 where ts_5 > 490665600000 49 diff --git a/tests/queries/123-ts-gte-july-20.sql b/tests/queries/123-ts-gte-july-20.sql index f7dce14..bf869e0 100644 --- a/tests/queries/123-ts-gte-july-20.sql +++ b/tests/queries/123-ts-gte-july-20.sql @@ -1,2 +1,2 @@ -select count(*) from nulls where ts_5 >= 490665600000 +select count(*) from nulls1 where ts_5 >= 490665600000 50 diff --git a/tests/queries/124-ts-ne-july-20.sql b/tests/queries/124-ts-ne-july-20.sql index 528cceb..1d4f330 100644 --- a/tests/queries/124-ts-ne-july-20.sql +++ b/tests/queries/124-ts-ne-july-20.sql @@ -1,2 +1,2 @@ -select count(*) from nulls where ts_5 <> 490665600000 +select count(*) from nulls1 where ts_5 <> 490665600000 49 diff --git a/tests/queries/125-fixed-bytearray-eq.sql b/tests/queries/125-fixed-bytearray-eq.sql index c895e1d..9c74478 100644 --- a/tests/queries/125-fixed-bytearray-eq.sql +++ b/tests/queries/125-fixed-bytearray-eq.sql @@ -1,2 +1,2 @@ -SELECT COUNT(*) FROM no_nulls2 WHERE binary_10 = X'10' +SELECT COUNT(*) FROM no_nulls1 WHERE binary_10 = X'10' 1 diff --git a/tests/queries/126-fixed-bytearray-lt.sql b/tests/queries/126-fixed-bytearray-lt.sql index 2dea0f9..b56c898 100644 --- a/tests/queries/126-fixed-bytearray-lt.sql +++ b/tests/queries/126-fixed-bytearray-lt.sql @@ -1,2 +1,2 @@ -SELECT COUNT(*) FROM no_nulls2 WHERE binary_10 < X'10' +SELECT COUNT(*) FROM no_nulls1 WHERE binary_10 < X'10' 16 diff --git a/tests/queries/127-fixed-bytearray-lte.sql b/tests/queries/127-fixed-bytearray-lte.sql index 9c45f94..4b94ce3 100644 --- a/tests/queries/127-fixed-bytearray-lte.sql +++ b/tests/queries/127-fixed-bytearray-lte.sql @@ -1,2 +1,2 @@ -SELECT COUNT(*) FROM no_nulls2 WHERE binary_10 <= X'10' +SELECT COUNT(*) FROM no_nulls1 WHERE binary_10 <= X'10' 17 diff --git a/tests/queries/128-fixed-bytearray-gt.sql b/tests/queries/128-fixed-bytearray-gt.sql index 1b95bb0..241f8d9 100644 --- a/tests/queries/128-fixed-bytearray-gt.sql +++ b/tests/queries/128-fixed-bytearray-gt.sql @@ -1,2 +1,2 @@ -SELECT COUNT(*) FROM no_nulls2 WHERE binary_10 > X'' +SELECT COUNT(*) FROM no_nulls1 WHERE binary_10 > X'' 99 diff --git a/tests/queries/129-fixed-bytearray-gte.sql b/tests/queries/129-fixed-bytearray-gte.sql index 959ce52..b3a164c 100644 --- a/tests/queries/129-fixed-bytearray-gte.sql +++ b/tests/queries/129-fixed-bytearray-gte.sql @@ -1,2 +1,2 @@ -SELECT COUNT(*) FROM no_nulls2 WHERE binary_10 >= X'01' +SELECT COUNT(*) FROM no_nulls1 WHERE binary_10 >= X'01' 98 diff --git a/tests/queries/130-fixed-bytearray-ne.sql b/tests/queries/130-fixed-bytearray-ne.sql index a71905a..396b49b 100644 --- a/tests/queries/130-fixed-bytearray-ne.sql +++ b/tests/queries/130-fixed-bytearray-ne.sql @@ -1,2 +1,2 @@ -SELECT COUNT(*) FROM no_nulls2 WHERE binary_10 <> X'10' +SELECT COUNT(*) FROM no_nulls1 WHERE binary_10 <> X'10' 98 diff --git a/tests/queries/131-var-bytearray-eq.sql b/tests/queries/131-var-bytearray-eq.sql index 67b1d50..1971a04 100644 --- a/tests/queries/131-var-bytearray-eq.sql +++ b/tests/queries/131-var-bytearray-eq.sql @@ -1,2 +1,2 @@ -SELECT COUNT(*) FROM nulls WHERE binary_9 = X'020202' +SELECT COUNT(*) FROM nulls1 WHERE binary_9 = X'020202' 1 diff --git a/tests/queries/132-var-bytearray-lt.sql b/tests/queries/132-var-bytearray-lt.sql index 4f4fbf9..d68086a 100644 --- a/tests/queries/132-var-bytearray-lt.sql +++ b/tests/queries/132-var-bytearray-lt.sql @@ -1,2 +1,2 @@ -SELECT COUNT(*) FROM no_nulls2 WHERE binary_9 < X'020202' +SELECT COUNT(*) FROM no_nulls1 WHERE binary_9 < X'020202' 2 diff --git a/tests/queries/133-var-bytearray-lte.sql b/tests/queries/133-var-bytearray-lte.sql index f8bd7fe..8f66494 100644 --- a/tests/queries/133-var-bytearray-lte.sql +++ b/tests/queries/133-var-bytearray-lte.sql @@ -1,2 +1,2 @@ -SELECT COUNT(*) FROM nulls WHERE binary_9 <= X'0101' +SELECT COUNT(*) FROM nulls1 WHERE binary_9 <= X'0101' 2 diff --git a/tests/queries/134-var-bytearray-gt.sql b/tests/queries/134-var-bytearray-gt.sql index 855e877..6e86d53 100644 --- a/tests/queries/134-var-bytearray-gt.sql +++ b/tests/queries/134-var-bytearray-gt.sql @@ -1,2 +1,2 @@ -SELECT COUNT(*) FROM nulls WHERE binary_9 > X'' +SELECT COUNT(*) FROM nulls1 WHERE binary_9 > X'' 50 diff --git a/tests/queries/135-var-bytearray-gte.sql b/tests/queries/135-var-bytearray-gte.sql index 4525315..7494293 100644 --- a/tests/queries/135-var-bytearray-gte.sql +++ b/tests/queries/135-var-bytearray-gte.sql @@ -1,2 +1,2 @@ -SELECT COUNT(*) FROM nulls WHERE binary_9 >= X'62626262' +SELECT COUNT(*) FROM nulls1 WHERE binary_9 >= X'62626262' 1 diff --git a/tests/queries/136-var-bytearray-ne.sql b/tests/queries/136-var-bytearray-ne.sql index bd67285..a1daf7d 100644 --- a/tests/queries/136-var-bytearray-ne.sql +++ b/tests/queries/136-var-bytearray-ne.sql @@ -1,2 +1,2 @@ -SELECT COUNT(*) FROM nulls WHERE binary_9 <> X'62626262' +SELECT COUNT(*) FROM nulls1 WHERE binary_9 <> X'62626262' 49 diff --git a/tests/queries/137-var-bytearray-lte.sql b/tests/queries/137-var-bytearray-lte.sql index c40773c..529a1ef 100644 --- a/tests/queries/137-var-bytearray-lte.sql +++ b/tests/queries/137-var-bytearray-lte.sql @@ -1,2 +1,2 @@ -SELECT COUNT(*) FROM nulls WHERE binary_9 <= X'01' +SELECT COUNT(*) FROM nulls1 WHERE binary_9 <= X'01' 1 diff --git a/tests/test-queries b/tests/test-queries index 33f63aa..d73786f 100755 --- a/tests/test-queries +++ b/tests/test-queries @@ -12,9 +12,12 @@ run_query() { .load parquet/libparquet .testcase $basename .bail on -CREATE VIRTUAL TABLE nulls USING parquet('$root/parquet-generator/99-rows-nulls.parquet'); +CREATE VIRTUAL TABLE nulls1 USING parquet('$root/parquet-generator/99-rows-nulls-1.parquet'); +CREATE VIRTUAL TABLE nulls2 USING parquet('$root/parquet-generator/99-rows-nulls-10.parquet'); +CREATE VIRTUAL TABLE nulls3 USING parquet('$root/parquet-generator/99-rows-nulls-99.parquet'); CREATE VIRTUAL TABLE no_nulls1 USING parquet('$root/parquet-generator/99-rows-1.parquet'); CREATE VIRTUAL TABLE no_nulls2 USING parquet('$root/parquet-generator/99-rows-10.parquet'); +CREATE VIRTUAL TABLE no_nulls3 USING parquet('$root/parquet-generator/99-rows-99.parquet'); $query; .output EOF