You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- query: select * from (select * from (select * from T1) as x where ID = 5) as y;
57
+
- query: select id, col1, col2 from (select * from (select * from T1) as x where ID = 5) as y;
58
58
- result: [{ID: !l 5, !l 10, !l 5}]
59
59
-
60
-
- query: select * from (select * from (select * from T1) as x) as y where ID = 5;
60
+
- query: select id, col1, col2 from (select * from (select * from T1) as x) as y where ID = 5;
61
61
- result: [{ID: !l 5, !l 10, !l 5}]
62
62
-
63
63
- query: select count(*) from (select * from (select * from (select * from T1 where ID = 5) as x) as y) as z;
64
-
- supported_version: 4.1.9.0
65
64
- explain: "SCAN([EQUALS promote(@c23 AS LONG)]) | MAP (_ AS _0) | AGG (count_star(*) AS _0) | ON EMPTY NULL | MAP (coalesce_long(_._0._0, promote(0l AS LONG)) AS _0)"
66
65
- result: [{!l 1}]
67
66
-
68
-
# Copy of above query to simulate force continuations mode, which does not work prior to 4.1.9.0 due to
69
-
# https://github.com/FoundationDB/fdb-record-layer/issues/3096. Can remove once we no longer with testing mixed-mode
70
-
# capabilities with versions older than 4.1.9.0
71
-
- query: select count(*) from (select * from (select * from (select * from T1 where ID = 5) as x) as y) as z;
72
-
- maxRows: 1
73
-
- initialVersionLessThan: 4.1.9.0
74
-
- result: [{!l 1}]
75
-
- result: [{!l 0}]
76
-
- result: [{!l 1}] # ad infinitum
77
-
- initialVersionAtLeast: 4.1.9.0
78
-
- result: [{!l 1}]
79
-
- result: []
80
-
-
81
-
- query: select * from (select * from (select * from (select * from T1 where ID > 10) as x) as y) as z;
67
+
- query: select id, col1, col2 from (select * from (select * from (select * from T1 where ID > 10) as x) as y) as z;
0 commit comments