mirror of
https://github.com/cldellow/sqlite-parquet-vtable.git
synced 2025-09-12 22:29:58 +00:00
Move queries/* to templates
This commit is contained in:
100
tests/templates/001-table-scan-1-rowgroup.sql
Normal file
100
tests/templates/001-table-scan-1-rowgroup.sql
Normal file
@@ -0,0 +1,100 @@
|
||||
SELECT rowid, bool_0, int8_1, int16_2, int32_3, int64_4, datetime(ts_5 / 1000, 'unixepoch'), printf('%.2f', double_6) AS double_6, string_7, string_8, quote(binary_9), quote(binary_10) FROM no_nulls1
|
||||
0|1|50|5000|50000000|50000000000|1985-07-20 00:00:00|99.00|0|000|X'00'|X'00'
|
||||
1|0|49|4900|49000000|49000000000|1985-07-21 00:00:00|49.50|1|001|X'0101'|X'01'
|
||||
2|1|48|4800|48000000|48000000000|1985-07-22 00:00:00|33.00|2|002|X'020202'|X'02'
|
||||
3|0|47|4700|47000000|47000000000|1985-07-23 00:00:00|24.75|3|003|X'03030303'|X'03'
|
||||
4|1|46|4600|46000000|46000000000|1985-07-24 00:00:00|19.80|4|004|X'0404040404'|X'04'
|
||||
5|0|45|4500|45000000|45000000000|1985-07-25 00:00:00|16.50|5|005|X'05'|X'05'
|
||||
6|1|44|4400|44000000|44000000000|1985-07-26 00:00:00|14.14|6|006|X'0606'|X'06'
|
||||
7|0|43|4300|43000000|43000000000|1985-07-27 00:00:00|12.38|7|007|X'070707'|X'07'
|
||||
8|1|42|4200|42000000|42000000000|1985-07-28 00:00:00|11.00|8|008|X'08080808'|X'08'
|
||||
9|0|41|4100|41000000|41000000000|1985-07-29 00:00:00|9.90|9|009|X'0909090909'|X'09'
|
||||
10|1|40|4000|40000000|40000000000|1985-07-30 00:00:00|9.00|10|010|X'0A'|X'0A'
|
||||
11|0|39|3900|39000000|39000000000|1985-07-31 00:00:00|8.25|11|011|X'0B0B'|X'0B'
|
||||
12|1|38|3800|38000000|38000000000|1985-08-01 00:00:00|7.62|12|012|X'0C0C0C'|X'0C'
|
||||
13|0|37|3700|37000000|37000000000|1985-08-02 00:00:00|7.07|13|013|X'0D0D0D0D'|X'0D'
|
||||
14|1|36|3600|36000000|36000000000|1985-08-03 00:00:00|6.60|14|014|X'0E0E0E0E0E'|X'0E'
|
||||
15|0|35|3500|35000000|35000000000|1985-08-04 00:00:00|6.19|15|015|X'0F'|X'0F'
|
||||
16|1|34|3400|34000000|34000000000|1985-08-05 00:00:00|5.82|16|016|X'1010'|X'10'
|
||||
17|0|33|3300|33000000|33000000000|1985-08-06 00:00:00|5.50|17|017|X'111111'|X'11'
|
||||
18|1|32|3200|32000000|32000000000|1985-08-07 00:00:00|5.21|18|018|X'12121212'|X'12'
|
||||
19|0|31|3100|31000000|31000000000|1985-08-08 00:00:00|4.95|19|019|X'1313131313'|X'13'
|
||||
20|1|30|3000|30000000|30000000000|1985-08-09 00:00:00|4.71|20|020|X'14'|X'14'
|
||||
21|0|29|2900|29000000|29000000000|1985-08-10 00:00:00|4.50|21|021|X'1515'|X'15'
|
||||
22|1|28|2800|28000000|28000000000|1985-08-11 00:00:00|4.30|22|022|X'161616'|X'16'
|
||||
23|0|27|2700|27000000|27000000000|1985-08-12 00:00:00|4.13|23|023|X'17171717'|X'17'
|
||||
24|1|26|2600|26000000|26000000000|1985-08-13 00:00:00|3.96|24|024|X'1818181818'|X'18'
|
||||
25|0|25|2500|25000000|25000000000|1985-08-14 00:00:00|3.81|25|025|X'19'|X'19'
|
||||
26|1|24|2400|24000000|24000000000|1985-08-15 00:00:00|3.67|26|026|X'1A1A'|X'1A'
|
||||
27|0|23|2300|23000000|23000000000|1985-08-16 00:00:00|3.54|27|027|X'1B1B1B'|X'1B'
|
||||
28|1|22|2200|22000000|22000000000|1985-08-17 00:00:00|3.41|28|028|X'1C1C1C1C'|X'1C'
|
||||
29|0|21|2100|21000000|21000000000|1985-08-18 00:00:00|3.30|29|029|X'1D1D1D1D1D'|X'1D'
|
||||
30|1|20|2000|20000000|20000000000|1985-08-19 00:00:00|3.19|30|030|X'1E'|X'1E'
|
||||
31|0|19|1900|19000000|19000000000|1985-08-20 00:00:00|3.09|31|031|X'1F1F'|X'1F'
|
||||
32|1|18|1800|18000000|18000000000|1985-08-21 00:00:00|3.00|32|032|X'202020'|X'20'
|
||||
33|0|17|1700|17000000|17000000000|1985-08-22 00:00:00|2.91|33|033|X'21212121'|X'21'
|
||||
34|1|16|1600|16000000|16000000000|1985-08-23 00:00:00|2.83|34|034|X'2222222222'|X'22'
|
||||
35|0|15|1500|15000000|15000000000|1985-08-24 00:00:00|2.75|35|035|X'23'|X'23'
|
||||
36|1|14|1400|14000000|14000000000|1985-08-25 00:00:00|2.68|36|036|X'2424'|X'24'
|
||||
37|0|13|1300|13000000|13000000000|1985-08-26 00:00:00|2.61|37|037|X'252525'|X'25'
|
||||
38|1|12|1200|12000000|12000000000|1985-08-27 00:00:00|2.54|38|038|X'26262626'|X'26'
|
||||
39|0|11|1100|11000000|11000000000|1985-08-28 00:00:00|2.48|39|039|X'2727272727'|X'27'
|
||||
40|1|10|1000|10000000|10000000000|1985-08-29 00:00:00|2.41|40|040|X'28'|X'28'
|
||||
41|0|9|900|9000000|9000000000|1985-08-30 00:00:00|2.36|41|041|X'2929'|X'29'
|
||||
42|1|8|800|8000000|8000000000|1985-08-31 00:00:00|2.30|42|042|X'2A2A2A'|X'2A'
|
||||
43|0|7|700|7000000|7000000000|1985-09-01 00:00:00|2.25|43|043|X'2B2B2B2B'|X'2B'
|
||||
44|1|6|600|6000000|6000000000|1985-09-02 00:00:00|2.20|44|044|X'2C2C2C2C2C'|X'2C'
|
||||
45|0|5|500|5000000|5000000000|1985-09-03 00:00:00|2.15|45|045|X'2D'|X'2D'
|
||||
46|1|4|400|4000000|4000000000|1985-09-04 00:00:00|2.11|46|046|X'2E2E'|X'2E'
|
||||
47|0|3|300|3000000|3000000000|1985-09-05 00:00:00|2.06|47|047|X'2F2F2F'|X'2F'
|
||||
48|1|2|200|2000000|2000000000|1985-09-06 00:00:00|2.02|48|048|X'30303030'|X'30'
|
||||
49|0|1|100|1000000|1000000000|1985-09-07 00:00:00|1.98|49|049|X'3131313131'|X'31'
|
||||
50|1|0|0|0|0|1985-09-08 00:00:00|1.94|50|050|X'32'|X'32'
|
||||
51|0|-1|-100|-1000000|-1000000000|1985-09-09 00:00:00|1.90|51|051|X'3333'|X'33'
|
||||
52|1|-2|-200|-2000000|-2000000000|1985-09-10 00:00:00|1.87|52|052|X'343434'|X'34'
|
||||
53|0|-3|-300|-3000000|-3000000000|1985-09-11 00:00:00|1.83|53|053|X'35353535'|X'35'
|
||||
54|1|-4|-400|-4000000|-4000000000|1985-09-12 00:00:00|1.80|54|054|X'3636363636'|X'36'
|
||||
55|0|-5|-500|-5000000|-5000000000|1985-09-13 00:00:00|1.77|55|055|X'37'|X'37'
|
||||
56|1|-6|-600|-6000000|-6000000000|1985-09-14 00:00:00|1.74|56|056|X'3838'|X'38'
|
||||
57|0|-7|-700|-7000000|-7000000000|1985-09-15 00:00:00|1.71|57|057|X'393939'|X'39'
|
||||
58|1|-8|-800|-8000000|-8000000000|1985-09-16 00:00:00|1.68|58|058|X'3A3A3A3A'|X'3A'
|
||||
59|0|-9|-900|-9000000|-9000000000|1985-09-17 00:00:00|1.65|59|059|X'3B3B3B3B3B'|X'3B'
|
||||
60|1|-10|-1000|-10000000|-10000000000|1985-09-18 00:00:00|1.62|60|060|X'3C'|X'3C'
|
||||
61|0|-11|-1100|-11000000|-11000000000|1985-09-19 00:00:00|1.60|61|061|X'3D3D'|X'3D'
|
||||
62|1|-12|-1200|-12000000|-12000000000|1985-09-20 00:00:00|1.57|62|062|X'3E3E3E'|X'3E'
|
||||
63|0|-13|-1300|-13000000|-13000000000|1985-09-21 00:00:00|1.55|63|063|X'3F3F3F3F'|X'3F'
|
||||
64|1|-14|-1400|-14000000|-14000000000|1985-09-22 00:00:00|1.52|64|064|X'4040404040'|X'40'
|
||||
65|0|-15|-1500|-15000000|-15000000000|1985-09-23 00:00:00|1.50|65|065|X'41'|X'41'
|
||||
66|1|-16|-1600|-16000000|-16000000000|1985-09-24 00:00:00|1.48|66|066|X'4242'|X'42'
|
||||
67|0|-17|-1700|-17000000|-17000000000|1985-09-25 00:00:00|1.46|67|067|X'434343'|X'43'
|
||||
68|1|-18|-1800|-18000000|-18000000000|1985-09-26 00:00:00|1.43|68|068|X'44444444'|X'44'
|
||||
69|0|-19|-1900|-19000000|-19000000000|1985-09-27 00:00:00|1.41|69|069|X'4545454545'|X'45'
|
||||
70|1|-20|-2000|-20000000|-20000000000|1985-09-28 00:00:00|1.39|70|070|X'46'|X'46'
|
||||
71|0|-21|-2100|-21000000|-21000000000|1985-09-29 00:00:00|1.38|71|071|X'4747'|X'47'
|
||||
72|1|-22|-2200|-22000000|-22000000000|1985-09-30 00:00:00|1.36|72|072|X'484848'|X'48'
|
||||
73|0|-23|-2300|-23000000|-23000000000|1985-10-01 00:00:00|1.34|73|073|X'49494949'|X'49'
|
||||
74|1|-24|-2400|-24000000|-24000000000|1985-10-02 00:00:00|1.32|74|074|X'4A4A4A4A4A'|X'4A'
|
||||
75|0|-25|-2500|-25000000|-25000000000|1985-10-03 00:00:00|1.30|75|075|X'4B'|X'4B'
|
||||
76|1|-26|-2600|-26000000|-26000000000|1985-10-04 00:00:00|1.29|76|076|X'4C4C'|X'4C'
|
||||
77|0|-27|-2700|-27000000|-27000000000|1985-10-05 00:00:00|1.27|77|077|X'4D4D4D'|X'4D'
|
||||
78|1|-28|-2800|-28000000|-28000000000|1985-10-06 00:00:00|1.25|78|078|X'4E4E4E4E'|X'4E'
|
||||
79|0|-29|-2900|-29000000|-29000000000|1985-10-07 00:00:00|1.24|79|079|X'4F4F4F4F4F'|X'4F'
|
||||
80|1|-30|-3000|-30000000|-30000000000|1985-10-08 00:00:00|1.22|80|080|X'50'|X'50'
|
||||
81|0|-31|-3100|-31000000|-31000000000|1985-10-09 00:00:00|1.21|81|081|X'5151'|X'51'
|
||||
82|1|-32|-3200|-32000000|-32000000000|1985-10-10 00:00:00|1.19|82|082|X'525252'|X'52'
|
||||
83|0|-33|-3300|-33000000|-33000000000|1985-10-11 00:00:00|1.18|83|083|X'53535353'|X'53'
|
||||
84|1|-34|-3400|-34000000|-34000000000|1985-10-12 00:00:00|1.16|84|084|X'5454545454'|X'54'
|
||||
85|0|-35|-3500|-35000000|-35000000000|1985-10-13 00:00:00|1.15|85|085|X'55'|X'55'
|
||||
86|1|-36|-3600|-36000000|-36000000000|1985-10-14 00:00:00|1.14|86|086|X'5656'|X'56'
|
||||
87|0|-37|-3700|-37000000|-37000000000|1985-10-15 00:00:00|1.13|87|087|X'575757'|X'57'
|
||||
88|1|-38|-3800|-38000000|-38000000000|1985-10-16 00:00:00|1.11|88|088|X'58585858'|X'58'
|
||||
89|0|-39|-3900|-39000000|-39000000000|1985-10-17 00:00:00|1.10|89|089|X'5959595959'|X'59'
|
||||
90|1|-40|-4000|-40000000|-40000000000|1985-10-18 00:00:00|1.09|90|090|X'5A'|X'5A'
|
||||
91|0|-41|-4100|-41000000|-41000000000|1985-10-19 00:00:00|1.08|91|091|X'5B5B'|X'5B'
|
||||
92|1|-42|-4200|-42000000|-42000000000|1985-10-20 00:00:00|1.06|92|092|X'5C5C5C'|X'5C'
|
||||
93|0|-43|-4300|-43000000|-43000000000|1985-10-21 00:00:00|1.05|93|093|X'5D5D5D5D'|X'5D'
|
||||
94|1|-44|-4400|-44000000|-44000000000|1985-10-22 00:00:00|1.04|94|094|X'5E5E5E5E5E'|X'5E'
|
||||
95|0|-45|-4500|-45000000|-45000000000|1985-10-23 00:00:00|1.03|95|095|X'5F'|X'5F'
|
||||
96|1|-46|-4600|-46000000|-46000000000|1985-10-24 00:00:00|1.02|96|096|X'6060'|X'60'
|
||||
97|0|-47|-4700|-47000000|-47000000000|1985-10-25 00:00:00|1.01|97|097|X'616161'|X'61'
|
||||
98|1|-48|-4800|-48000000|-48000000000|1985-10-26 00:00:00|1.00|98|098|X'62626262'|X'62'
|
2
tests/templates/003-cross-join-count-1-rowgroup.sql
Normal file
2
tests/templates/003-cross-join-count-1-rowgroup.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select count(*) from (select * from no_nulls1 t1, no_nulls1 t2);
|
||||
9801
|
2
tests/templates/004-cross-join-10-rowgroups.sql
Normal file
2
tests/templates/004-cross-join-10-rowgroups.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select count(*) from (select * from no_nulls1 t1, no_nulls2 t2);
|
||||
9801
|
2
tests/templates/005-rowid-1-rowgroup.sql
Normal file
2
tests/templates/005-rowid-1-rowgroup.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int8_1 from no_nulls1 where rowid = 50;
|
||||
0
|
2
tests/templates/007-rowid-55-10-rowgroups.sql
Normal file
2
tests/templates/007-rowid-55-10-rowgroups.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int8_1 from no_nulls1 where rowid = 55;
|
||||
-5
|
2
tests/templates/008-nulls.sql
Normal file
2
tests/templates/008-nulls.sql
Normal file
@@ -0,0 +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 nulls1;
|
||||
50|49|50|49|50|49|50|49|50|49|50
|
11
tests/templates/009-rowid-group-by.sql
Normal file
11
tests/templates/009-rowid-group-by.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
select rowid % 10, count(*) from nulls1 group by 1 order by 1
|
||||
0|10
|
||||
1|10
|
||||
2|10
|
||||
3|10
|
||||
4|10
|
||||
5|10
|
||||
6|10
|
||||
7|10
|
||||
8|10
|
||||
9|9
|
100
tests/templates/010-order-by-string7.sql
Normal file
100
tests/templates/010-order-by-string7.sql
Normal file
@@ -0,0 +1,100 @@
|
||||
select string_7 from no_nulls1 order by string_7
|
||||
0
|
||||
1
|
||||
10
|
||||
11
|
||||
12
|
||||
13
|
||||
14
|
||||
15
|
||||
16
|
||||
17
|
||||
18
|
||||
19
|
||||
2
|
||||
20
|
||||
21
|
||||
22
|
||||
23
|
||||
24
|
||||
25
|
||||
26
|
||||
27
|
||||
28
|
||||
29
|
||||
3
|
||||
30
|
||||
31
|
||||
32
|
||||
33
|
||||
34
|
||||
35
|
||||
36
|
||||
37
|
||||
38
|
||||
39
|
||||
4
|
||||
40
|
||||
41
|
||||
42
|
||||
43
|
||||
44
|
||||
45
|
||||
46
|
||||
47
|
||||
48
|
||||
49
|
||||
5
|
||||
50
|
||||
51
|
||||
52
|
||||
53
|
||||
54
|
||||
55
|
||||
56
|
||||
57
|
||||
58
|
||||
59
|
||||
6
|
||||
60
|
||||
61
|
||||
62
|
||||
63
|
||||
64
|
||||
65
|
||||
66
|
||||
67
|
||||
68
|
||||
69
|
||||
7
|
||||
70
|
||||
71
|
||||
72
|
||||
73
|
||||
74
|
||||
75
|
||||
76
|
||||
77
|
||||
78
|
||||
79
|
||||
8
|
||||
80
|
||||
81
|
||||
82
|
||||
83
|
||||
84
|
||||
85
|
||||
86
|
||||
87
|
||||
88
|
||||
89
|
||||
9
|
||||
90
|
||||
91
|
||||
92
|
||||
93
|
||||
94
|
||||
95
|
||||
96
|
||||
97
|
||||
98
|
100
tests/templates/011-order-by-string8.sql
Normal file
100
tests/templates/011-order-by-string8.sql
Normal file
@@ -0,0 +1,100 @@
|
||||
select string_8 from no_nulls1 order by string_8
|
||||
000
|
||||
001
|
||||
002
|
||||
003
|
||||
004
|
||||
005
|
||||
006
|
||||
007
|
||||
008
|
||||
009
|
||||
010
|
||||
011
|
||||
012
|
||||
013
|
||||
014
|
||||
015
|
||||
016
|
||||
017
|
||||
018
|
||||
019
|
||||
020
|
||||
021
|
||||
022
|
||||
023
|
||||
024
|
||||
025
|
||||
026
|
||||
027
|
||||
028
|
||||
029
|
||||
030
|
||||
031
|
||||
032
|
||||
033
|
||||
034
|
||||
035
|
||||
036
|
||||
037
|
||||
038
|
||||
039
|
||||
040
|
||||
041
|
||||
042
|
||||
043
|
||||
044
|
||||
045
|
||||
046
|
||||
047
|
||||
048
|
||||
049
|
||||
050
|
||||
051
|
||||
052
|
||||
053
|
||||
054
|
||||
055
|
||||
056
|
||||
057
|
||||
058
|
||||
059
|
||||
060
|
||||
061
|
||||
062
|
||||
063
|
||||
064
|
||||
065
|
||||
066
|
||||
067
|
||||
068
|
||||
069
|
||||
070
|
||||
071
|
||||
072
|
||||
073
|
||||
074
|
||||
075
|
||||
076
|
||||
077
|
||||
078
|
||||
079
|
||||
080
|
||||
081
|
||||
082
|
||||
083
|
||||
084
|
||||
085
|
||||
086
|
||||
087
|
||||
088
|
||||
089
|
||||
090
|
||||
091
|
||||
092
|
||||
093
|
||||
094
|
||||
095
|
||||
096
|
||||
097
|
||||
098
|
50
tests/templates/012-string-7-is-null.sql
Normal file
50
tests/templates/012-string-7-is-null.sql
Normal file
@@ -0,0 +1,50 @@
|
||||
select rowid, bool_0, quote(binary_10) from nulls1 where string_7 is null
|
||||
10||NULL
|
||||
11||NULL
|
||||
12||NULL
|
||||
13||NULL
|
||||
14||NULL
|
||||
15||NULL
|
||||
16||NULL
|
||||
17||NULL
|
||||
18||NULL
|
||||
19||NULL
|
||||
21|0|X'15'
|
||||
23|0|X'17'
|
||||
25|0|X'19'
|
||||
27|0|X'1B'
|
||||
29|0|X'1D'
|
||||
31|0|X'1F'
|
||||
33|0|X'21'
|
||||
35|0|X'23'
|
||||
37|0|X'25'
|
||||
39|0|X'27'
|
||||
41|0|X'29'
|
||||
43|0|X'2B'
|
||||
45|0|X'2D'
|
||||
47|0|X'2F'
|
||||
49|0|X'31'
|
||||
51|0|X'33'
|
||||
53|0|X'35'
|
||||
55|0|X'37'
|
||||
57|0|X'39'
|
||||
59|0|X'3B'
|
||||
61|0|X'3D'
|
||||
63|0|X'3F'
|
||||
65|0|X'41'
|
||||
67|0|X'43'
|
||||
69|0|X'45'
|
||||
71|0|X'47'
|
||||
73|0|X'49'
|
||||
75|0|X'4B'
|
||||
77|0|X'4D'
|
||||
79|0|X'4F'
|
||||
81|0|X'51'
|
||||
83|0|X'53'
|
||||
85|0|X'55'
|
||||
87|0|X'57'
|
||||
89|0|X'59'
|
||||
91|0|X'5B'
|
||||
93|0|X'5D'
|
||||
95|0|X'5F'
|
||||
97|0|X'61'
|
51
tests/templates/013-string-7-is-not-null.sql
Normal file
51
tests/templates/013-string-7-is-not-null.sql
Normal file
@@ -0,0 +1,51 @@
|
||||
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'
|
||||
3|0|X'03'
|
||||
4|1|X'04'
|
||||
5|0|X'05'
|
||||
6|1|X'06'
|
||||
7|0|X'07'
|
||||
8|1|X'08'
|
||||
9|0|X'09'
|
||||
20||NULL
|
||||
22||NULL
|
||||
24||NULL
|
||||
26||NULL
|
||||
28||NULL
|
||||
30||NULL
|
||||
32||NULL
|
||||
34||NULL
|
||||
36||NULL
|
||||
38||NULL
|
||||
40||NULL
|
||||
42||NULL
|
||||
44||NULL
|
||||
46||NULL
|
||||
48||NULL
|
||||
50||NULL
|
||||
52||NULL
|
||||
54||NULL
|
||||
56||NULL
|
||||
58||NULL
|
||||
60||NULL
|
||||
62||NULL
|
||||
64||NULL
|
||||
66||NULL
|
||||
68||NULL
|
||||
70||NULL
|
||||
72||NULL
|
||||
74||NULL
|
||||
76||NULL
|
||||
78||NULL
|
||||
80||NULL
|
||||
82||NULL
|
||||
84||NULL
|
||||
86||NULL
|
||||
88||NULL
|
||||
90||NULL
|
||||
92||NULL
|
||||
94||NULL
|
||||
96||NULL
|
||||
98||NULL
|
2
tests/templates/014-nulls-like-percent-start.sql
Normal file
2
tests/templates/014-nulls-like-percent-start.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select string_7, string_8 from nulls1 where string_8 like '%0'
|
||||
0|000
|
1
tests/templates/015-nulls-like-no-match.sql
Normal file
1
tests/templates/015-nulls-like-no-match.sql
Normal file
@@ -0,0 +1 @@
|
||||
select string_7, string_8 from nulls1 where string_8 like '0'
|
50
tests/templates/016-nulls-like-percent-end.sql
Normal file
50
tests/templates/016-nulls-like-percent-end.sql
Normal file
@@ -0,0 +1,50 @@
|
||||
select string_7, string_8 from nulls1 where string_8 like '0%'
|
||||
0|000
|
||||
1|001
|
||||
2|002
|
||||
3|003
|
||||
4|004
|
||||
5|005
|
||||
6|006
|
||||
7|007
|
||||
8|008
|
||||
9|009
|
||||
|021
|
||||
|023
|
||||
|025
|
||||
|027
|
||||
|029
|
||||
|031
|
||||
|033
|
||||
|035
|
||||
|037
|
||||
|039
|
||||
|041
|
||||
|043
|
||||
|045
|
||||
|047
|
||||
|049
|
||||
|051
|
||||
|053
|
||||
|055
|
||||
|057
|
||||
|059
|
||||
|061
|
||||
|063
|
||||
|065
|
||||
|067
|
||||
|069
|
||||
|071
|
||||
|073
|
||||
|075
|
||||
|077
|
||||
|079
|
||||
|081
|
||||
|083
|
||||
|085
|
||||
|087
|
||||
|089
|
||||
|091
|
||||
|093
|
||||
|095
|
||||
|097
|
2
tests/templates/017-nulls-like-underscore.sql
Normal file
2
tests/templates/017-nulls-like-underscore.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select string_7, string_8 from nulls1 where string_8 like '0_0'
|
||||
0|000
|
3
tests/templates/018-string-gt-lt.sql
Normal file
3
tests/templates/018-string-gt-lt.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
select string_8 from nulls1 where string_8 > '010' and string_8 < '024'
|
||||
021
|
||||
023
|
2
tests/templates/019-string-gte-lte.sql
Normal file
2
tests/templates/019-string-gte-lte.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select string_8 from nulls1 where string_8 >= '021' and string_8 <= '021'
|
||||
021
|
2
tests/templates/020-string-eq.sql
Normal file
2
tests/templates/020-string-eq.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select string_8 from nulls1 where string_8 = '021'
|
||||
021
|
2
tests/templates/021-rowid-and-field-eq.sql
Normal file
2
tests/templates/021-rowid-and-field-eq.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select string_8 from nulls1 where rowid = 21 and string_8 = '021'
|
||||
021
|
1
tests/templates/022-rowid-and-field-ne.sql
Normal file
1
tests/templates/022-rowid-and-field-ne.sql
Normal file
@@ -0,0 +1 @@
|
||||
select string_8 from nulls1 where rowid = 21 and string_8 <> '021'
|
2
tests/templates/023-int8-eq.sql
Normal file
2
tests/templates/023-int8-eq.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int8_1 from nulls1 where int8_1 = 30
|
||||
30
|
2
tests/templates/024-int8-lt.sql
Normal file
2
tests/templates/024-int8-lt.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int8_1 from nulls1 where int8_1 < -46
|
||||
-48
|
3
tests/templates/025-int8-lte.sql
Normal file
3
tests/templates/025-int8-lte.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
select int8_1 from nulls1 where int8_1 <= -46
|
||||
-46
|
||||
-48
|
2
tests/templates/026-int8-gt.sql
Normal file
2
tests/templates/026-int8-gt.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int8_1 from nulls1 where int8_1 > 49
|
||||
50
|
3
tests/templates/027-int8-gte.sql
Normal file
3
tests/templates/027-int8-gte.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
select int8_1 from nulls1 where int8_1 >= 49
|
||||
50
|
||||
49
|
1
tests/templates/028-int8-rowid-eq-and-field-ne.sql
Normal file
1
tests/templates/028-int8-rowid-eq-and-field-ne.sql
Normal file
@@ -0,0 +1 @@
|
||||
select int8_1 from nulls1 where rowid = 66 and int8_1 <> -16
|
3
tests/templates/029-int64-gte.sql
Normal file
3
tests/templates/029-int64-gte.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
select int64_4 from nulls1 where int64_4 >= 49000000000
|
||||
50000000000
|
||||
49000000000
|
2
tests/templates/030-int64-gt.sql
Normal file
2
tests/templates/030-int64-gt.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int64_4 from nulls1 where int64_4 > 49000000000
|
||||
50000000000
|
2
tests/templates/031-int64-eq.sql
Normal file
2
tests/templates/031-int64-eq.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int64_4 from nulls1 where int64_4 = 49000000000
|
||||
49000000000
|
2
tests/templates/032-int64-lt.sql
Normal file
2
tests/templates/032-int64-lt.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int64_4 from nulls1 where int64_4 < -46000000000
|
||||
-47000000000
|
3
tests/templates/033-int64-lte.sql
Normal file
3
tests/templates/033-int64-lte.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
select int64_4 from nulls1 where int64_4 <= -45000000000
|
||||
-45000000000
|
||||
-47000000000
|
1
tests/templates/034-int64-rowid-eq-and-field-ne.sql
Normal file
1
tests/templates/034-int64-rowid-eq-and-field-ne.sql
Normal file
@@ -0,0 +1 @@
|
||||
select int64_4 from nulls1 where rowid = 57 and int64_4 <> -7000000000
|
2
tests/templates/035-int64-rowid-eq-and-field-ne2.sql
Normal file
2
tests/templates/035-int64-rowid-eq-and-field-ne2.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int64_4 from nulls1 where rowid = 57 and int64_4 <> -8000000000
|
||||
-7000000000
|
2
tests/templates/036-double-eq.sql
Normal file
2
tests/templates/036-double-eq.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select printf('%.2f', double_6) as double_6 from nulls1 where double_6 = 99.0
|
||||
99.00
|
2
tests/templates/037-double-gt.sql
Normal file
2
tests/templates/037-double-gt.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select printf('%.2f', double_6) as double_6 from nulls1 where double_6 > 98.0
|
||||
99.00
|
3
tests/templates/038-double-gte.sql
Normal file
3
tests/templates/038-double-gte.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
select printf('%.2f', double_6) as double_6 from nulls1 where double_6 >= 49.5
|
||||
99.00
|
||||
49.50
|
2
tests/templates/039-double-lt.sql
Normal file
2
tests/templates/039-double-lt.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select printf('%.2f', double_6) from nulls1 where double_6 < 99.0 order by double_6 desc limit 1
|
||||
49.50
|
2
tests/templates/040-double-lte.sql
Normal file
2
tests/templates/040-double-lte.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select printf('%.2f', double_6) from nulls1 where double_6 <= 99.0 order by double_6 desc limit 1
|
||||
99.00
|
1
tests/templates/041-double-rowid-and-field-ne.sql
Normal file
1
tests/templates/041-double-rowid-and-field-ne.sql
Normal file
@@ -0,0 +1 @@
|
||||
select printf('%.2f', double_6) from nulls1 where rowid = 0 and double_6 <> 99.0
|
2
tests/templates/042-double-rowid-and-field-ne2.sql
Normal file
2
tests/templates/042-double-rowid-and-field-ne2.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select printf('%.2f', double_6) from nulls1 where rowid = 0 and double_6 <> 100.0
|
||||
99.00
|
2
tests/templates/043-binary-eq.sql
Normal file
2
tests/templates/043-binary-eq.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select rowid from nulls1 where binary_10 = x'01';
|
||||
1
|
1
tests/templates/044-binary-rowid-and-ne.sql
Normal file
1
tests/templates/044-binary-rowid-and-ne.sql
Normal file
@@ -0,0 +1 @@
|
||||
select rowid from nulls1 where rowid = 1 and binary_10 <> x'01';
|
2
tests/templates/045-binary-lt.sql
Normal file
2
tests/templates/045-binary-lt.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select rowid from nulls1 where binary_10 < x'01';
|
||||
0
|
3
tests/templates/046-binary-lte.sql
Normal file
3
tests/templates/046-binary-lte.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
select rowid from nulls1 where binary_10 <= x'01' order by 1;
|
||||
0
|
||||
1
|
2
tests/templates/047-binary-gt.sql
Normal file
2
tests/templates/047-binary-gt.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select rowid from nulls1 where binary_10 > x'60';
|
||||
97
|
3
tests/templates/048-binary-gte.sql
Normal file
3
tests/templates/048-binary-gte.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
select rowid from nulls1 where binary_10 >= x'5F' order by 1;
|
||||
95
|
||||
97
|
2
tests/templates/049-unusable-constraint.sql
Normal file
2
tests/templates/049-unusable-constraint.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select nn1.int8_1 from no_nulls1 nn1 join no_nulls2 nn2 using (int8_1) where nn1.int8_1 = 0;
|
||||
0
|
2
tests/templates/050-rowid-gt-none.sql
Normal file
2
tests/templates/050-rowid-gt-none.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select count(*) from no_nulls1 where rowid > 100
|
||||
0
|
2
tests/templates/051-rowid-gte-none.sql
Normal file
2
tests/templates/051-rowid-gte-none.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select count(*) from no_nulls1 where rowid >= 100
|
||||
0
|
2
tests/templates/052-rowid-lt-none.sql
Normal file
2
tests/templates/052-rowid-lt-none.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select count(*) from no_nulls1 where rowid < 0
|
||||
0
|
2
tests/templates/053-rowid-lte-none.sql
Normal file
2
tests/templates/053-rowid-lte-none.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select count(*) from no_nulls1 where rowid < -1
|
||||
0
|
2
tests/templates/054-rowid-lte-one.sql
Normal file
2
tests/templates/054-rowid-lte-one.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select count(*) from no_nulls1 where rowid <= 0
|
||||
1
|
2
tests/templates/055-rowid-lt-one.sql
Normal file
2
tests/templates/055-rowid-lt-one.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select count(*) from no_nulls1 where rowid < 1
|
||||
1
|
2
tests/templates/056-rowid-ne-some.sql
Normal file
2
tests/templates/056-rowid-ne-some.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select count(*) from no_nulls1 where rowid <> 1
|
||||
98
|
2
tests/templates/057-rowid-is-null.sql
Normal file
2
tests/templates/057-rowid-is-null.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select count(*) from no_nulls1 where rowid is null
|
||||
0
|
2
tests/templates/058-rowid-is-not-null.sql
Normal file
2
tests/templates/058-rowid-is-not-null.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select count(*) from no_nulls1 where rowid is not null
|
||||
99
|
2
tests/templates/059-rowid-eq-string.sql
Normal file
2
tests/templates/059-rowid-eq-string.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select count(*) from no_nulls1 where rowid = '1'
|
||||
1
|
2
tests/templates/060-rowid-double.sql
Normal file
2
tests/templates/060-rowid-double.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int8_1 from no_nulls1 where rowid = 50.0;
|
||||
0
|
2
tests/templates/061-string-eq-int.sql
Normal file
2
tests/templates/061-string-eq-int.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select string_7 from nulls1 where string_7 = 22;
|
||||
22
|
1
tests/templates/062-string-eq-double.sql
Normal file
1
tests/templates/062-string-eq-double.sql
Normal file
@@ -0,0 +1 @@
|
||||
select string_7 from nulls1 where string_7 = 22.0;
|
2
tests/templates/063-int8-eq-double.sql
Normal file
2
tests/templates/063-int8-eq-double.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int8_1 from nulls1 where int8_1 = 30.0;
|
||||
30
|
2
tests/templates/064-int8-eq-str.sql
Normal file
2
tests/templates/064-int8-eq-str.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int8_1 from nulls1 where int8_1 = '30.0';
|
||||
30
|
2
tests/templates/065-int8-eq-str2.sql
Normal file
2
tests/templates/065-int8-eq-str2.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int8_1 from nulls1 where int8_1 = '30';
|
||||
30
|
1
tests/templates/066-int8-eq-bogus-str.sql
Normal file
1
tests/templates/066-int8-eq-bogus-str.sql
Normal file
@@ -0,0 +1 @@
|
||||
select int8_1 from nulls1 where int8_1 = '30f';
|
2
tests/templates/067-int8-lt-str.sql
Normal file
2
tests/templates/067-int8-lt-str.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int8_1 from nulls1 where int8_1 < '-46'
|
||||
-48
|
2
tests/templates/068-int8-lt-double.sql
Normal file
2
tests/templates/068-int8-lt-double.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int8_1 from nulls1 where int8_1 < -46.0
|
||||
-48
|
3
tests/templates/069-int8-lte-str.sql
Normal file
3
tests/templates/069-int8-lte-str.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
select int8_1 from nulls1 where int8_1 <= '-46'
|
||||
-46
|
||||
-48
|
3
tests/templates/070-int8-lte-double.sql
Normal file
3
tests/templates/070-int8-lte-double.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
select int8_1 from nulls1 where int8_1 <= -46.0
|
||||
-46
|
||||
-48
|
2
tests/templates/071-int8-gt-str.sql
Normal file
2
tests/templates/071-int8-gt-str.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int8_1 from nulls1 where int8_1 > '49'
|
||||
50
|
2
tests/templates/072-int8-gt-double.sql
Normal file
2
tests/templates/072-int8-gt-double.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int8_1 from nulls1 where int8_1 > 49.0
|
||||
50
|
3
tests/templates/073-int8-gte-str.sql
Normal file
3
tests/templates/073-int8-gte-str.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
select int8_1 from nulls1 where int8_1 >= '49'
|
||||
50
|
||||
49
|
3
tests/templates/074-int8-gte-double.sql
Normal file
3
tests/templates/074-int8-gte-double.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
select int8_1 from nulls1 where int8_1 >= 49.0
|
||||
50
|
||||
49
|
1
tests/templates/075-int8-ne-str.sql
Normal file
1
tests/templates/075-int8-ne-str.sql
Normal file
@@ -0,0 +1 @@
|
||||
select int8_1 from nulls1 where rowid = 66 and int8_1 <> '-16'
|
1
tests/templates/076-int8-ne-double.sql
Normal file
1
tests/templates/076-int8-ne-double.sql
Normal file
@@ -0,0 +1 @@
|
||||
select int8_1 from nulls1 where rowid = 66 and int8_1 <> -16.0
|
3
tests/templates/077-int64-gte-str.sql
Normal file
3
tests/templates/077-int64-gte-str.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
select int64_4 from nulls1 where int64_4 >= '49000000000'
|
||||
50000000000
|
||||
49000000000
|
3
tests/templates/078-int64-gte-double.sql
Normal file
3
tests/templates/078-int64-gte-double.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
select int64_4 from nulls1 where int64_4 >= 49000000000.0
|
||||
50000000000
|
||||
49000000000
|
2
tests/templates/079-int65-gt-str.sql
Normal file
2
tests/templates/079-int65-gt-str.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int64_4 from nulls1 where int64_4 > '49000000000'
|
||||
50000000000
|
2
tests/templates/080-int65-gt-double.sql
Normal file
2
tests/templates/080-int65-gt-double.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int64_4 from nulls1 where int64_4 > 49000000000.0
|
||||
50000000000
|
2
tests/templates/081-int64-eq-str.sql
Normal file
2
tests/templates/081-int64-eq-str.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int64_4 from nulls1 where int64_4 = '49000000000'
|
||||
49000000000
|
2
tests/templates/082-int64-eq-double.sql
Normal file
2
tests/templates/082-int64-eq-double.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int64_4 from nulls1 where int64_4 = 49000000000.0
|
||||
49000000000
|
2
tests/templates/083-int64-lt-str.sql
Normal file
2
tests/templates/083-int64-lt-str.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int64_4 from nulls1 where int64_4 < '-46000000000'
|
||||
-47000000000
|
2
tests/templates/084-int64-lt-double.sql
Normal file
2
tests/templates/084-int64-lt-double.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int64_4 from nulls1 where int64_4 < -46000000000.0
|
||||
-47000000000
|
3
tests/templates/085-int64-lte-str.sql
Normal file
3
tests/templates/085-int64-lte-str.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
select int64_4 from nulls1 where int64_4 <= '-45000000000'
|
||||
-45000000000
|
||||
-47000000000
|
3
tests/templates/086-int64-lte-double.sql
Normal file
3
tests/templates/086-int64-lte-double.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
select int64_4 from nulls1 where int64_4 <= -45000000000.0
|
||||
-45000000000
|
||||
-47000000000
|
1
tests/templates/087-int64-ne-str.sql
Normal file
1
tests/templates/087-int64-ne-str.sql
Normal file
@@ -0,0 +1 @@
|
||||
select int64_4 from nulls1 where rowid = 57 and int64_4 <> '-7000000000'
|
1
tests/templates/088-int64-ne-double.sql
Normal file
1
tests/templates/088-int64-ne-double.sql
Normal file
@@ -0,0 +1 @@
|
||||
select int64_4 from nulls1 where rowid = 57 and int64_4 <> -7000000000.0
|
2
tests/templates/089-int64-ne-some-str.sql
Normal file
2
tests/templates/089-int64-ne-some-str.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int64_4 from nulls1 where rowid = 57 and int64_4 <> '-8000000000'
|
||||
-7000000000
|
2
tests/templates/090-int64-ne-some-double.sql
Normal file
2
tests/templates/090-int64-ne-some-double.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select int64_4 from nulls1 where rowid = 57 and int64_4 <> -8000000000.0
|
||||
-7000000000
|
2
tests/templates/091-double-eq-str.sql
Normal file
2
tests/templates/091-double-eq-str.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select printf('%.2f', double_6) as double_6 from nulls1 where double_6 = '99.0'
|
||||
99.00
|
2
tests/templates/092-double-eq-int.sql
Normal file
2
tests/templates/092-double-eq-int.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select printf('%.2f', double_6) as double_6 from nulls1 where double_6 = 99
|
||||
99.00
|
2
tests/templates/093-double-gt-str.sql
Normal file
2
tests/templates/093-double-gt-str.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select printf('%.2f', double_6) as double_6 from nulls1 where double_6 > '98'
|
||||
99.00
|
2
tests/templates/094-double-gt-int.sql
Normal file
2
tests/templates/094-double-gt-int.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select printf('%.2f', double_6) as double_6 from nulls1 where double_6 > 98
|
||||
99.00
|
3
tests/templates/095-double-gte-str.sql
Normal file
3
tests/templates/095-double-gte-str.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
select printf('%.2f', double_6) as double_6 from nulls1 where double_6 >= '49.5'
|
||||
99.00
|
||||
49.50
|
2
tests/templates/096-double-gte-int.sql
Normal file
2
tests/templates/096-double-gte-int.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select printf('%.2f', double_6) as double_6 from nulls1 where double_6 >= '99'
|
||||
99.00
|
2
tests/templates/097-double-lt-str.sql
Normal file
2
tests/templates/097-double-lt-str.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select printf('%.2f', double_6) from nulls1 where double_6 < '99.0' order by double_6 desc limit 1
|
||||
49.50
|
2
tests/templates/098-double-lt-int.sql
Normal file
2
tests/templates/098-double-lt-int.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select printf('%.2f', double_6) from nulls1 where double_6 < 99 order by double_6 desc limit 1
|
||||
49.50
|
2
tests/templates/099-double-lte-str.sql
Normal file
2
tests/templates/099-double-lte-str.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select printf('%.2f', double_6) from nulls1 where double_6 <= '99.0' order by double_6 desc limit 1
|
||||
99.00
|
2
tests/templates/100-double-lte-int.sql
Normal file
2
tests/templates/100-double-lte-int.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select printf('%.2f', double_6) from nulls1 where double_6 <= 99 order by double_6 desc limit 1
|
||||
99.00
|
1
tests/templates/101-double-rowid-and-field-ne-str.sql
Normal file
1
tests/templates/101-double-rowid-and-field-ne-str.sql
Normal file
@@ -0,0 +1 @@
|
||||
select printf('%.2f', double_6) from nulls1 where rowid = 0 and double_6 <> '99.0'
|
1
tests/templates/102-double-rowid-and-field-ne-int.sql
Normal file
1
tests/templates/102-double-rowid-and-field-ne-int.sql
Normal file
@@ -0,0 +1 @@
|
||||
select printf('%.2f', double_6) from nulls1 where rowid = 0 and double_6 <> 99
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user