Skip to content

Commit 7dc7393

Browse files
Updating !current_version in yamsql files to 4.8.1.0
1 parent 9f01096 commit 7dc7393

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

yaml-tests/src/test/resources/aggregate-index-tests-count.yamsql

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ test_block:
5353
-
5454
- query: select count(*) from t1
5555
- explain: "AISCAN(MV1 <,> BY_GROUP -> [_0: VALUE:[0]]) | MAP (_ AS _0) | ON EMPTY NULL | MAP (coalesce_long(_._0._0, promote(0l AS LONG)) AS _0)"
56-
# https://github.com/FoundationDB/fdb-record-layer/issues/3206 is fixed since !current_version
56+
# https://github.com/FoundationDB/fdb-record-layer/issues/3206 is fixed since 4.8.1.0
5757
- maxRows: 1
58-
- initialVersionAtLeast: !current_version
58+
- initialVersionAtLeast: 4.8.1.0
5959
- result: [{4}]
6060
- result: []
61-
- initialVersionLessThan: !current_version
61+
- initialVersionLessThan: 4.8.1.0
6262
-
6363
- query: select count(*) from t1 group by col2
6464
- explain: "AISCAN(MV2 <,> BY_GROUP -> [_0: KEY:[0], _1: VALUE:[0]]) | MAP (_._1 AS _0)"
@@ -72,12 +72,12 @@ test_block:
7272
-
7373
- query: select count(col1) from t1
7474
- explain: "AISCAN(MV3 <,> BY_GROUP -> [_0: VALUE:[0]]) | MAP (_ AS _0) | ON EMPTY NULL | MAP (coalesce_long(_._0._0, promote(0l AS LONG)) AS _0)"
75-
# https://github.com/FoundationDB/fdb-record-layer/issues/3206 is fixed since !current_version
75+
# https://github.com/FoundationDB/fdb-record-layer/issues/3206 is fixed since 4.8.1.0
7676
- maxRows: 1
77-
- initialVersionAtLeast: !current_version
77+
- initialVersionAtLeast: 4.8.1.0
7878
- result: [{2}]
7979
- result: []
80-
- initialVersionLessThan: !current_version
80+
- initialVersionLessThan: 4.8.1.0
8181
-
8282
- query: select count(col1) from t1 group by col2
8383
- explain: "AISCAN(MV4 <,> BY_GROUP -> [_0: KEY:[0], _1: VALUE:[0]]) | MAP (_._1 AS _0)"

yaml-tests/src/test/resources/in-predicate.yamsql

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -192,57 +192,57 @@ test_block:
192192
-
193193
# Test IN predicate with primitive array column - string in string array
194194
- query: select id from array_table where 'apple' in fruits
195-
- supported_version: !current_version
195+
- supported_version: 4.8.1.0
196196
- unorderedResult: [{1}, {3}]
197197
-
198198
# Test IN predicate with primitive array column - multiple matches
199199
- query: select id from array_table where 'banana' in fruits
200-
- supported_version: !current_version
200+
- supported_version: 4.8.1.0
201201
- unorderedResult: [{1}, {5}]
202202
-
203203
# Test IN predicate with primitive array column - no match
204204
- query: select id from array_table where 'pineapple' in fruits
205-
- supported_version: !current_version
205+
- supported_version: 4.8.1.0
206206
- result: []
207207
-
208208
# Test IN predicate with primitive array column - bigint in bigint array
209209
- query: select id from array_table where 10 in numbers
210-
- supported_version: !current_version
210+
- supported_version: 4.8.1.0
211211
- unorderedResult: [{1}, {3}]
212212
-
213213
# Test IN predicate with primitive array column - bigint no match
214214
- query: select id from array_table where 15 in numbers
215-
- supported_version: !current_version
215+
- supported_version: 4.8.1.0
216216
- result: []
217217
-
218218
# Test IN predicate with record array column - struct in struct array
219219
- query: select id from array_table where ('apple', 'red') in fruit_records
220-
- supported_version: !current_version
220+
- supported_version: 4.8.1.0
221221
- unorderedResult: [{1}]
222222
-
223223
# Test IN predicate with record array column - different struct match
224224
- query: select id from array_table where ('mango', 'orange') in fruit_records
225-
- supported_version: !current_version
225+
- supported_version: 4.8.1.0
226226
- unorderedResult: [{3}]
227227
-
228228
# Test IN predicate with record array column - no match
229229
- query: select id from array_table where ('apple', 'blue') in fruit_records
230-
- supported_version: !current_version
230+
- supported_version: 4.8.1.0
231231
- result: []
232232
-
233233
# Test IN predicate with record array column - partial field match (should not match)
234234
- query: select id from array_table where ('grape', 'green') in fruit_records
235-
- supported_version: !current_version
235+
- supported_version: 4.8.1.0
236236
- result: []
237237
-
238238
# Test NOT IN predicate with primitive array column
239239
- query: select id from array_table where 'apple' not in fruits
240-
- supported_version: !current_version
240+
- supported_version: 4.8.1.0
241241
- unorderedResult: [{2}, {4}, {5}]
242242
-
243243
# Test NOT IN predicate with record array column
244244
- query: select id from array_table where ('apple', 'red') not in fruit_records
245-
- supported_version: !current_version
245+
- supported_version: 4.8.1.0
246246
- unorderedResult: [{2}, {3}, {4}, {5}]
247247
---
248248
# Following tests are run once because running them the second time around causes the error to be different. This is

0 commit comments

Comments
 (0)