Skip to content

Commit 895bb35

Browse files
committed
remove two not in cases
1 parent 7c129d9 commit 895bb35

File tree

2 files changed

+1
-58
lines changed

2 files changed

+1
-58
lines changed

sql/core/src/test/resources/sql-tests/inputs/subquery/in-subquery/simple-in.sql

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -110,23 +110,3 @@ WHERE t1a NOT IN (SELECT t2a
110110
FROM t2);
111111

112112

113-
-- TC 01.08
114-
SELECT DISTINCT( t1a ),
115-
t1b
116-
FROM t1
117-
WHERE t1b NOT IN (SELECT t2b
118-
FROM t2
119-
WHERE t1a < t2a
120-
AND t2b > 8);
121-
122-
-- TC 01.09
123-
SELECT t1a,
124-
t1b
125-
FROM t1
126-
WHERE t1h NOT IN (SELECT t2h
127-
FROM t2
128-
WHERE t2a = t1a)
129-
AND t1b NOT IN ((SELECT Min(t3b)
130-
FROM t3
131-
WHERE t3d = t1d));
132-

sql/core/src/test/resources/sql-tests/results/subquery/in-subquery/simple-in.sql.out

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-- Automatically generated by SQLQueryTestSuite
2-
-- Number of queries: 12
2+
-- Number of queries: 10
33

44

55
-- !query 0
@@ -174,40 +174,3 @@ t1a 6 2014-04-04 01:02:00.001
174174
t1d 10 2015-05-04 01:01:00
175175
t1d NULL 2014-06-04 01:01:00
176176
t1d NULL 2014-07-04 01:02:00.001
177-
178-
179-
-- !query 10
180-
SELECT DISTINCT( t1a ),
181-
t1b
182-
FROM t1
183-
WHERE t1b NOT IN (SELECT t2b
184-
FROM t2
185-
WHERE t1a < t2a
186-
AND t2b > 8)
187-
-- !query 10 schema
188-
struct<t1a:string,t1b:smallint>
189-
-- !query 10 output
190-
t1a 16
191-
t1a 6
192-
t1b 8
193-
t1c 8
194-
t1d 10
195-
t1e 10
196-
197-
198-
-- !query 11
199-
SELECT t1a,
200-
t1b
201-
FROM t1
202-
WHERE t1h NOT IN (SELECT t2h
203-
FROM t2
204-
WHERE t2a = t1a)
205-
AND t1b NOT IN ((SELECT Min(t3b)
206-
FROM t3
207-
WHERE t3d = t1d))
208-
-- !query 11 schema
209-
struct<t1a:string,t1b:smallint>
210-
-- !query 11 output
211-
t1a 16
212-
t1e 10
213-
t1e 10

0 commit comments

Comments
 (0)