From 429a25b660e5060cd775955a5cd8fadeae17ae74 Mon Sep 17 00:00:00 2001 From: tanyagupta17 <59756970+tanyagupta17@users.noreply.github.com> Date: Mon, 29 Jul 2024 18:22:04 +0530 Subject: [PATCH 1/5] Adding fix for edge cases in Space function (#2742) Currently for string function SPACE() we only handle positive integers and throws error for input 0 or negative number. This commit will handle those edge cases and when a negative number is passed we will return NULL and when 0 is passed we will return an empty string. Additionally, this commit adds handling when input integer is greater than 8000. Task: BABEL-4811 Signed-off-by: Tanya Gupta --- .../babelfishpg_tsql/sql/sys_functions.sql | 9 +- .../babelfishpg_tsql--3.6.0--3.7.0.sql | 13 + test/JDBC/expected/space-vu-cleanup.out | 50 ++ test/JDBC/expected/space-vu-prepare.out | 91 +++ test/JDBC/expected/space-vu-verify.out | 283 ++++++++++ test/JDBC/input/space-vu-cleanup.sql | 50 ++ test/JDBC/input/space-vu-prepare.sql | 85 +++ test/JDBC/input/space-vu-verify.sql | 108 ++++ test/JDBC/upgrade/13_6/schedule | 2 + test/JDBC/upgrade/13_7/schedule | 2 + test/JDBC/upgrade/13_8/schedule | 2 + test/JDBC/upgrade/13_9/schedule | 2 + test/JDBC/upgrade/14_10/schedule | 2 + test/JDBC/upgrade/14_11/schedule | 2 + test/JDBC/upgrade/14_12/schedule | 2 + test/JDBC/upgrade/14_13/schedule | 2 + test/JDBC/upgrade/14_3/schedule | 2 + test/JDBC/upgrade/14_5/schedule | 2 + test/JDBC/upgrade/14_6/schedule | 2 + test/JDBC/upgrade/14_7/schedule | 2 + test/JDBC/upgrade/14_8/schedule | 2 + test/JDBC/upgrade/14_9/schedule | 2 + test/JDBC/upgrade/15_1/schedule | 2 + test/JDBC/upgrade/15_2/schedule | 2 + test/JDBC/upgrade/15_3/schedule | 2 + test/JDBC/upgrade/15_4/schedule | 2 + test/JDBC/upgrade/15_5/schedule | 2 + test/JDBC/upgrade/15_6/schedule | 2 + test/JDBC/upgrade/15_7/schedule | 3 + test/JDBC/upgrade/16_1/schedule | 531 ++++++++++++++++++ test/JDBC/upgrade/latest/schedule | 2 + .../expected_create.out | 1 - .../expected_dependency.out | 2 - 33 files changed, 1262 insertions(+), 6 deletions(-) create mode 100644 test/JDBC/expected/space-vu-cleanup.out create mode 100644 test/JDBC/expected/space-vu-prepare.out create mode 100644 test/JDBC/expected/space-vu-verify.out create mode 100644 test/JDBC/input/space-vu-cleanup.sql create mode 100644 test/JDBC/input/space-vu-prepare.sql create mode 100644 test/JDBC/input/space-vu-verify.sql create mode 100644 test/JDBC/upgrade/16_1/schedule diff --git a/contrib/babelfishpg_tsql/sql/sys_functions.sql b/contrib/babelfishpg_tsql/sql/sys_functions.sql index acd3ea0ce3..78d8ca44bd 100644 --- a/contrib/babelfishpg_tsql/sql/sys_functions.sql +++ b/contrib/babelfishpg_tsql/sql/sys_functions.sql @@ -1510,10 +1510,13 @@ STRICT LANGUAGE SQL IMMUTABLE; CREATE OR REPLACE FUNCTION sys.space(IN number INTEGER, OUT result SYS.VARCHAR) AS $$ --- sys.varchar has default length of 1, so we have to pass in 'number' to be the --- type modifier. BEGIN - EXECUTE pg_catalog.format(E'SELECT repeat(\' \', %s)::SYS.VARCHAR(%s)', number, number) INTO result; + IF number < 0 THEN + result := NULL; + ELSE + -- TSQL has a limitation of 8000 character spaces for space function. + result := PG_CATALOG.repeat(' ',least(number, 8000)); + END IF; END; $$ STRICT diff --git a/contrib/babelfishpg_tsql/sql/upgrades/babelfishpg_tsql--3.6.0--3.7.0.sql b/contrib/babelfishpg_tsql/sql/upgrades/babelfishpg_tsql--3.6.0--3.7.0.sql index 7bc4915fd5..f3687ba41e 100644 --- a/contrib/babelfishpg_tsql/sql/upgrades/babelfishpg_tsql--3.6.0--3.7.0.sql +++ b/contrib/babelfishpg_tsql/sql/upgrades/babelfishpg_tsql--3.6.0--3.7.0.sql @@ -9984,6 +9984,19 @@ BEGIN END; $$ LANGUAGE plpgsql IMMUTABLE STRICT PARALLEL SAFE; +CREATE OR REPLACE FUNCTION sys.space(IN number INTEGER, OUT result SYS.VARCHAR) AS $$ +BEGIN + IF number < 0 THEN + result := NULL; + ELSE + -- TSQL has a limitation of 8000 character spaces for space function. + result := PG_CATALOG.repeat(' ',least(number, 8000)); + END IF; +END; +$$ +STRICT +LANGUAGE plpgsql; + -- Drops the temporary procedure used by the upgrade script. -- Please have this be one of the last statements executed in this upgrade script. DROP PROCEDURE sys.babelfish_drop_deprecated_object(varchar, varchar, varchar); diff --git a/test/JDBC/expected/space-vu-cleanup.out b/test/JDBC/expected/space-vu-cleanup.out new file mode 100644 index 0000000000..d6e4646bfd --- /dev/null +++ b/test/JDBC/expected/space-vu-cleanup.out @@ -0,0 +1,50 @@ +DROP FUNCTION babel_4811_vu_prepare_f1 +GO + +DROP FUNCTION babel_4811_vu_prepare_f2 +GO + +DROP FUNCTION babel_4811_vu_prepare_f3 +GO + +DROP PROCEDURE babel_4811_vu_prepare_p1 +GO + +DROP PROCEDURE babel_4811_vu_prepare_p2 +GO + +DROP VIEW babel_4811_vu_prepare_v1 +GO + +DROP VIEW babel_4811_vu_prepare_v2 +GO + +DROP VIEW babel_4811_vu_prepare_v3 +GO + +DROP VIEW babel_4811_vu_prepare_v4 +GO + +DROP VIEW babel_4811_vu_prepare_v5 +GO + +DROP VIEW babel_4811_vu_prepare_v6 +GO + +DROP VIEW babel_4811_vu_prepare_v7 +GO + +DROP VIEW babel_4811_vu_prepare_v8 +GO + +DROP VIEW babel_4811_vu_prepare_v9 +GO + +DROP TABLE babel_4811_vu_prepare_t1 +GO + +DROP TABLE babel_4811_vu_prepare_t2 +GO + +DROP TABLE babel_4811_vu_prepare_t3 +GO diff --git a/test/JDBC/expected/space-vu-prepare.out b/test/JDBC/expected/space-vu-prepare.out new file mode 100644 index 0000000000..5614773b02 --- /dev/null +++ b/test/JDBC/expected/space-vu-prepare.out @@ -0,0 +1,91 @@ +CREATE TABLE babel_4811_vu_prepare_t1(number int) +GO +INSERT INTO babel_4811_vu_prepare_t1 VALUES(5) +GO +~~ROW COUNT: 1~~ + + +CREATE TABLE babel_4811_vu_prepare_t2(number int) +GO +INSERT INTO babel_4811_vu_prepare_t2 VALUES(-10) +GO +~~ROW COUNT: 1~~ + + +CREATE TABLE babel_4811_vu_prepare_t3(number int) +GO +INSERT INTO babel_4811_vu_prepare_t3 VALUES(0) +GO +~~ROW COUNT: 1~~ + + +CREATE FUNCTION babel_4811_vu_prepare_f1(@number int) +returns int +BEGIN + RETURN DATALENGTH(SPACE(@number)) +END +GO + +CREATE FUNCTION babel_4811_vu_prepare_f2(@number int) +returns varchar(20) +BEGIN + RETURN '|' + SPACE(@number) + '|' +END +GO + +CREATE FUNCTION babel_4811_vu_prepare_f3() +returns table +AS + RETURN (select '|' + SPACE(number) + '|' as result from babel_4811_vu_prepare_t1) +GO + +CREATE PROCEDURE babel_4811_vu_prepare_p1 (@number AS INT) +AS +BEGIN +SELECT DATALENGTH(SPACE(@number)) +END; +GO + +CREATE PROCEDURE babel_4811_vu_prepare_p2 (@number AS INT) +AS +BEGIN +SELECT '|' + SPACE(@number) + '|' AS result +END; +GO + +CREATE VIEW babel_4811_vu_prepare_v1 AS +SELECT DATALENGTH(SPACE(10)) as result +GO + + +CREATE VIEW babel_4811_vu_prepare_v2 AS +SELECT DATALENGTH(SPACE(0)) as result +GO + +CREATE VIEW babel_4811_vu_prepare_v3 AS +SELECT DATALENGTH(SPACE(-10)) as result +GO + +CREATE VIEW babel_4811_vu_prepare_v4 AS + SELECT DATALENGTH(SPACE(number)) as result FROM babel_4811_vu_prepare_t1 +GO + +CREATE VIEW babel_4811_vu_prepare_v5 AS + SELECT DATALENGTH(SPACE(number)) as result FROM babel_4811_vu_prepare_t2 +GO + +CREATE VIEW babel_4811_vu_prepare_v6 AS + SELECT DATALENGTH(SPACE(number)) as result FROM babel_4811_vu_prepare_t3 +GO + +CREATE VIEW babel_4811_vu_prepare_v7 AS +SELECT '|' + SPACE(10) + '|' AS result +GO + +CREATE VIEW babel_4811_vu_prepare_v8 AS +SELECT '|' + SPACE(0) + '|' AS result +GO + +CREATE VIEW babel_4811_vu_prepare_v9 AS +SELECT '|' + SPACE(-10) + '|' AS result +GO diff --git a/test/JDBC/expected/space-vu-verify.out b/test/JDBC/expected/space-vu-verify.out new file mode 100644 index 0000000000..fb3d249950 --- /dev/null +++ b/test/JDBC/expected/space-vu-verify.out @@ -0,0 +1,283 @@ +-- test SPACE function +SELECT SPACE(NULL); +GO +~~START~~ +varchar + +~~END~~ + + +SELECT SPACE(2); +GO +~~START~~ +varchar + +~~END~~ + + +SELECT LEN(SPACE(5)); +GO +~~START~~ +int +0 +~~END~~ + + +SELECT DATALENGTH(SPACE(5)); +GO +~~START~~ +int +5 +~~END~~ + + +SELECT SPACE(-10); +GO +~~START~~ +varchar + +~~END~~ + + +SELECT SPACE(0); +GO +~~START~~ +varchar + +~~END~~ + + +SELECT LEN(SPACE(-10)); +GO +~~START~~ +int + +~~END~~ + + +SELECT DATALENGTH(SPACE(-10)); +GO +~~START~~ +int + +~~END~~ + + +SELECT LEN(SPACE(0)); +GO +~~START~~ +int +0 +~~END~~ + + +SELECT DATALENGTH(SPACE(0)); +GO +~~START~~ +int +0 +~~END~~ + + +-- INT_MAX +SELECT datalength(SPACE(2147483647)) +GO +~~START~~ +int +8000 +~~END~~ + + +-- INT_MAX/2 +SELECT datalength(SPACE(1073741823)) +GO +~~START~~ +int +8000 +~~END~~ + + +-- INT_MIN +SELECT datalength(SPACE(-2147483648)) +GO +~~START~~ +int + +~~END~~ + + +SELECT dbo.babel_4811_vu_prepare_f1(5); +GO +~~START~~ +int +5 +~~END~~ + + +SELECT dbo.babel_4811_vu_prepare_f1(-10); +GO +~~START~~ +int + +~~END~~ + + +SELECT dbo.babel_4811_vu_prepare_f1(0); +GO +~~START~~ +int +0 +~~END~~ + + +SELECT dbo.babel_4811_vu_prepare_f2(5); +GO +~~START~~ +varchar +| | +~~END~~ + + +SELECT dbo.babel_4811_vu_prepare_f2(-10); +GO +~~START~~ +varchar + +~~END~~ + + +SELECT dbo.babel_4811_vu_prepare_f2(0); +GO +~~START~~ +varchar +|| +~~END~~ + + +SELECT * from babel_4811_vu_prepare_f3(); +GO +~~START~~ +varchar +| | +~~END~~ + + +EXEC babel_4811_vu_prepare_p1 @number = 5; +GO +~~START~~ +int +5 +~~END~~ + + +EXEC babel_4811_vu_prepare_p1 @number = -10; +GO +~~START~~ +int + +~~END~~ + + +EXEC babel_4811_vu_prepare_p1 @number = 0; +GO +~~START~~ +int +0 +~~END~~ + + +EXEC babel_4811_vu_prepare_p2 @number = 5; +GO +~~START~~ +varchar +| | +~~END~~ + + +EXEC babel_4811_vu_prepare_p2 @number = -10; +GO +~~START~~ +varchar + +~~END~~ + + +EXEC babel_4811_vu_prepare_p2 @number = 0; +GO +~~START~~ +varchar +|| +~~END~~ + + +SELECT * from babel_4811_vu_prepare_v1; +GO +~~START~~ +int +10 +~~END~~ + + +SELECT * from babel_4811_vu_prepare_v2; +GO +~~START~~ +int +0 +~~END~~ + + +SELECT * from babel_4811_vu_prepare_v3; +GO +~~START~~ +int + +~~END~~ + + +SELECT * from babel_4811_vu_prepare_v4; +GO +~~START~~ +int +5 +~~END~~ + + +SELECT * from babel_4811_vu_prepare_v5; +GO +~~START~~ +int + +~~END~~ + + +SELECT * from babel_4811_vu_prepare_v6; +GO +~~START~~ +int +0 +~~END~~ + + +SELECT * from babel_4811_vu_prepare_v7; +GO +~~START~~ +varchar +| | +~~END~~ + + +SELECT * from babel_4811_vu_prepare_v8; +GO +~~START~~ +varchar +|| +~~END~~ + + +SELECT * from babel_4811_vu_prepare_v9; +GO +~~START~~ +varchar + +~~END~~ + diff --git a/test/JDBC/input/space-vu-cleanup.sql b/test/JDBC/input/space-vu-cleanup.sql new file mode 100644 index 0000000000..d6e4646bfd --- /dev/null +++ b/test/JDBC/input/space-vu-cleanup.sql @@ -0,0 +1,50 @@ +DROP FUNCTION babel_4811_vu_prepare_f1 +GO + +DROP FUNCTION babel_4811_vu_prepare_f2 +GO + +DROP FUNCTION babel_4811_vu_prepare_f3 +GO + +DROP PROCEDURE babel_4811_vu_prepare_p1 +GO + +DROP PROCEDURE babel_4811_vu_prepare_p2 +GO + +DROP VIEW babel_4811_vu_prepare_v1 +GO + +DROP VIEW babel_4811_vu_prepare_v2 +GO + +DROP VIEW babel_4811_vu_prepare_v3 +GO + +DROP VIEW babel_4811_vu_prepare_v4 +GO + +DROP VIEW babel_4811_vu_prepare_v5 +GO + +DROP VIEW babel_4811_vu_prepare_v6 +GO + +DROP VIEW babel_4811_vu_prepare_v7 +GO + +DROP VIEW babel_4811_vu_prepare_v8 +GO + +DROP VIEW babel_4811_vu_prepare_v9 +GO + +DROP TABLE babel_4811_vu_prepare_t1 +GO + +DROP TABLE babel_4811_vu_prepare_t2 +GO + +DROP TABLE babel_4811_vu_prepare_t3 +GO diff --git a/test/JDBC/input/space-vu-prepare.sql b/test/JDBC/input/space-vu-prepare.sql new file mode 100644 index 0000000000..f5abae77b3 --- /dev/null +++ b/test/JDBC/input/space-vu-prepare.sql @@ -0,0 +1,85 @@ +CREATE TABLE babel_4811_vu_prepare_t1(number int) +GO +INSERT INTO babel_4811_vu_prepare_t1 VALUES(5) +GO + +CREATE TABLE babel_4811_vu_prepare_t2(number int) +GO +INSERT INTO babel_4811_vu_prepare_t2 VALUES(-10) +GO + +CREATE TABLE babel_4811_vu_prepare_t3(number int) +GO +INSERT INTO babel_4811_vu_prepare_t3 VALUES(0) +GO + +CREATE FUNCTION babel_4811_vu_prepare_f1(@number int) +returns int +BEGIN + RETURN DATALENGTH(SPACE(@number)) +END +GO + +CREATE FUNCTION babel_4811_vu_prepare_f2(@number int) +returns varchar(20) +BEGIN + RETURN '|' + SPACE(@number) + '|' +END +GO + +CREATE FUNCTION babel_4811_vu_prepare_f3() +returns table +AS + RETURN (select '|' + SPACE(number) + '|' as result from babel_4811_vu_prepare_t1) +GO + +CREATE PROCEDURE babel_4811_vu_prepare_p1 (@number AS INT) +AS +BEGIN +SELECT DATALENGTH(SPACE(@number)) +END; +GO + +CREATE PROCEDURE babel_4811_vu_prepare_p2 (@number AS INT) +AS +BEGIN +SELECT '|' + SPACE(@number) + '|' AS result +END; +GO + +CREATE VIEW babel_4811_vu_prepare_v1 AS +SELECT DATALENGTH(SPACE(10)) as result +GO + + +CREATE VIEW babel_4811_vu_prepare_v2 AS +SELECT DATALENGTH(SPACE(0)) as result +GO + +CREATE VIEW babel_4811_vu_prepare_v3 AS +SELECT DATALENGTH(SPACE(-10)) as result +GO + +CREATE VIEW babel_4811_vu_prepare_v4 AS + SELECT DATALENGTH(SPACE(number)) as result FROM babel_4811_vu_prepare_t1 +GO + +CREATE VIEW babel_4811_vu_prepare_v5 AS + SELECT DATALENGTH(SPACE(number)) as result FROM babel_4811_vu_prepare_t2 +GO + +CREATE VIEW babel_4811_vu_prepare_v6 AS + SELECT DATALENGTH(SPACE(number)) as result FROM babel_4811_vu_prepare_t3 +GO + +CREATE VIEW babel_4811_vu_prepare_v7 AS +SELECT '|' + SPACE(10) + '|' AS result +GO + +CREATE VIEW babel_4811_vu_prepare_v8 AS +SELECT '|' + SPACE(0) + '|' AS result +GO + +CREATE VIEW babel_4811_vu_prepare_v9 AS +SELECT '|' + SPACE(-10) + '|' AS result +GO diff --git a/test/JDBC/input/space-vu-verify.sql b/test/JDBC/input/space-vu-verify.sql new file mode 100644 index 0000000000..b7541bcb89 --- /dev/null +++ b/test/JDBC/input/space-vu-verify.sql @@ -0,0 +1,108 @@ +-- test SPACE function +SELECT SPACE(NULL); +GO + +SELECT SPACE(2); +GO + +SELECT LEN(SPACE(5)); +GO + +SELECT DATALENGTH(SPACE(5)); +GO + +SELECT SPACE(-10); +GO + +SELECT SPACE(0); +GO + +SELECT LEN(SPACE(-10)); +GO + +SELECT DATALENGTH(SPACE(-10)); +GO + +SELECT LEN(SPACE(0)); +GO + +SELECT DATALENGTH(SPACE(0)); +GO + +-- INT_MAX +SELECT datalength(SPACE(2147483647)) +GO + +-- INT_MAX/2 +SELECT datalength(SPACE(1073741823)) +GO + +-- INT_MIN +SELECT datalength(SPACE(-2147483648)) +GO + +SELECT dbo.babel_4811_vu_prepare_f1(5); +GO + +SELECT dbo.babel_4811_vu_prepare_f1(-10); +GO + +SELECT dbo.babel_4811_vu_prepare_f1(0); +GO + +SELECT dbo.babel_4811_vu_prepare_f2(5); +GO + +SELECT dbo.babel_4811_vu_prepare_f2(-10); +GO + +SELECT dbo.babel_4811_vu_prepare_f2(0); +GO + +SELECT * from babel_4811_vu_prepare_f3(); +GO + +EXEC babel_4811_vu_prepare_p1 @number = 5; +GO + +EXEC babel_4811_vu_prepare_p1 @number = -10; +GO + +EXEC babel_4811_vu_prepare_p1 @number = 0; +GO + +EXEC babel_4811_vu_prepare_p2 @number = 5; +GO + +EXEC babel_4811_vu_prepare_p2 @number = -10; +GO + +EXEC babel_4811_vu_prepare_p2 @number = 0; +GO + +SELECT * from babel_4811_vu_prepare_v1; +GO + +SELECT * from babel_4811_vu_prepare_v2; +GO + +SELECT * from babel_4811_vu_prepare_v3; +GO + +SELECT * from babel_4811_vu_prepare_v4; +GO + +SELECT * from babel_4811_vu_prepare_v5; +GO + +SELECT * from babel_4811_vu_prepare_v6; +GO + +SELECT * from babel_4811_vu_prepare_v7; +GO + +SELECT * from babel_4811_vu_prepare_v8; +GO + +SELECT * from babel_4811_vu_prepare_v9; +GO diff --git a/test/JDBC/upgrade/13_6/schedule b/test/JDBC/upgrade/13_6/schedule index 9d6da192a9..510032c0a7 100644 --- a/test/JDBC/upgrade/13_6/schedule +++ b/test/JDBC/upgrade/13_6/schedule @@ -355,3 +355,5 @@ translate-before-15_8-or-16_4 babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/13_7/schedule b/test/JDBC/upgrade/13_7/schedule index 737aa93d3d..263037a286 100644 --- a/test/JDBC/upgrade/13_7/schedule +++ b/test/JDBC/upgrade/13_7/schedule @@ -348,3 +348,5 @@ translate-before-15_8-or-16_4 babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/13_8/schedule b/test/JDBC/upgrade/13_8/schedule index 737aa93d3d..263037a286 100644 --- a/test/JDBC/upgrade/13_8/schedule +++ b/test/JDBC/upgrade/13_8/schedule @@ -348,3 +348,5 @@ translate-before-15_8-or-16_4 babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/13_9/schedule b/test/JDBC/upgrade/13_9/schedule index 2765e2073a..790208ac14 100644 --- a/test/JDBC/upgrade/13_9/schedule +++ b/test/JDBC/upgrade/13_9/schedule @@ -353,3 +353,5 @@ translate-before-15_8-or-16_4 babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/14_10/schedule b/test/JDBC/upgrade/14_10/schedule index b1ce55e4c1..c1020fb585 100644 --- a/test/JDBC/upgrade/14_10/schedule +++ b/test/JDBC/upgrade/14_10/schedule @@ -452,3 +452,5 @@ translate-before-15_8-or-16_4 babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/14_11/schedule b/test/JDBC/upgrade/14_11/schedule index ddfdd42ca3..07a1c49d08 100644 --- a/test/JDBC/upgrade/14_11/schedule +++ b/test/JDBC/upgrade/14_11/schedule @@ -451,3 +451,5 @@ translate-before-15_8-or-16_4 babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/14_12/schedule b/test/JDBC/upgrade/14_12/schedule index 428e1e5bbe..867fac2ee4 100644 --- a/test/JDBC/upgrade/14_12/schedule +++ b/test/JDBC/upgrade/14_12/schedule @@ -453,3 +453,5 @@ translate-before-15_8-or-16_4 babel_726 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/14_13/schedule b/test/JDBC/upgrade/14_13/schedule index f3ceee3e2f..6a41cc0cce 100644 --- a/test/JDBC/upgrade/14_13/schedule +++ b/test/JDBC/upgrade/14_13/schedule @@ -453,3 +453,5 @@ upper_lower-before-15_8-or-16_4 babel_726 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/14_3/schedule b/test/JDBC/upgrade/14_3/schedule index 9923c83be2..c80c4d6583 100644 --- a/test/JDBC/upgrade/14_3/schedule +++ b/test/JDBC/upgrade/14_3/schedule @@ -374,3 +374,5 @@ translate-before-15_8-or-16_4 babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/14_5/schedule b/test/JDBC/upgrade/14_5/schedule index d300e58267..fa667c1ed4 100644 --- a/test/JDBC/upgrade/14_5/schedule +++ b/test/JDBC/upgrade/14_5/schedule @@ -386,3 +386,5 @@ translate-before-15_8-or-16_4 babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/14_6/schedule b/test/JDBC/upgrade/14_6/schedule index 223c2bd492..4931c24533 100644 --- a/test/JDBC/upgrade/14_6/schedule +++ b/test/JDBC/upgrade/14_6/schedule @@ -423,3 +423,5 @@ translate-before-15_8-or-16_4 babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/14_7/schedule b/test/JDBC/upgrade/14_7/schedule index 1e178ec561..cfeb8a3a8f 100644 --- a/test/JDBC/upgrade/14_7/schedule +++ b/test/JDBC/upgrade/14_7/schedule @@ -443,3 +443,5 @@ translate-before-15_8-or-16_4 babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/14_8/schedule b/test/JDBC/upgrade/14_8/schedule index 2d058c27f4..b0fe3d7b6b 100644 --- a/test/JDBC/upgrade/14_8/schedule +++ b/test/JDBC/upgrade/14_8/schedule @@ -444,3 +444,5 @@ translate-before-15_8-or-16_4 babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/14_9/schedule b/test/JDBC/upgrade/14_9/schedule index 6f379df373..dddc1c2998 100644 --- a/test/JDBC/upgrade/14_9/schedule +++ b/test/JDBC/upgrade/14_9/schedule @@ -448,3 +448,5 @@ translate-before-15_8-or-16_4 babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/15_1/schedule b/test/JDBC/upgrade/15_1/schedule index 1e60c46b53..2c7df9fb55 100644 --- a/test/JDBC/upgrade/15_1/schedule +++ b/test/JDBC/upgrade/15_1/schedule @@ -422,3 +422,5 @@ translate-before-15_8-or-16_4 babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/15_2/schedule b/test/JDBC/upgrade/15_2/schedule index cd5855ae02..85358fc080 100644 --- a/test/JDBC/upgrade/15_2/schedule +++ b/test/JDBC/upgrade/15_2/schedule @@ -458,3 +458,5 @@ translate-before-15_8-or-16_4 babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/15_3/schedule b/test/JDBC/upgrade/15_3/schedule index b7d9902be8..7b3b971ccf 100644 --- a/test/JDBC/upgrade/15_3/schedule +++ b/test/JDBC/upgrade/15_3/schedule @@ -476,3 +476,5 @@ translate-before-15_8-or-16_4 babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/15_4/schedule b/test/JDBC/upgrade/15_4/schedule index 1175c3be7a..e5096833db 100644 --- a/test/JDBC/upgrade/15_4/schedule +++ b/test/JDBC/upgrade/15_4/schedule @@ -489,3 +489,5 @@ translate-before-15_8-or-16_4 babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/15_5/schedule b/test/JDBC/upgrade/15_5/schedule index 6469d77952..40dfb515f3 100644 --- a/test/JDBC/upgrade/15_5/schedule +++ b/test/JDBC/upgrade/15_5/schedule @@ -521,3 +521,5 @@ translate-before-15_8-or-16_4 babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/15_6/schedule b/test/JDBC/upgrade/15_6/schedule index 46ade8313b..a722dfb36c 100644 --- a/test/JDBC/upgrade/15_6/schedule +++ b/test/JDBC/upgrade/15_6/schedule @@ -537,3 +537,5 @@ translate-before-15_8-or-16_4 babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/15_7/schedule b/test/JDBC/upgrade/15_7/schedule index 1c8fae9d7a..26f586d68e 100644 --- a/test/JDBC/upgrade/15_7/schedule +++ b/test/JDBC/upgrade/15_7/schedule @@ -545,3 +545,6 @@ babel_4328_datetime babel_4328_datetime2 babel_4328_datetimeoffset BABEL-3820 +replicate-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/16_1/schedule b/test/JDBC/upgrade/16_1/schedule new file mode 100644 index 0000000000..313aeaf086 --- /dev/null +++ b/test/JDBC/upgrade/16_1/schedule @@ -0,0 +1,531 @@ +# Schedule File for JDBC Test Framework for local run +# 1. Lines starting with '#' will be treated as comments +# 2. To run a postgres command: cmd#!#postgresql#!# +# 3. To run a T-SQL command: cmd#!#sqlserver#!# +# 4. Keyword "all" is equivalent to running all test files in input folder +# 5. To add a test, add test name (without extension, , and . For example if test file name is TestBigInt.txt write TestBigInt) on a new line + +# This should be the first test to check there are no duplicated object_ids +BABEL-3613 + +app_name +atn2 +ATTIMEZONE-dep +AVG-Aggregate-common +AVG-Aggregate-Dep +BABEL-1062 +BABEL-1189 +BABEL-1206 +BABEL-1243 +BABEL-1249 +BABEL-1251 +BABEL-1291 +BABEL-1319 +BABEL-1438 +BABEL-1444 +BABEL-1465 +BABEL-1466 +BABEL-1475 +BABEL-1493 +BABEL-1510 +BABEL-1566 +BABEL-1625 +BABEL-1654 +BABEL-1683 +BABEL-1715 +BABEL-1953 +BABEL-1963 +BABEL-1994-CHAR +BABEL-1994-VARCHAR +BABEL-2086 +BABEL-2170 +BABEL-4390 +BABEL-2203 +BABEL-2208 +BABEL-2257 +BABEL-2449 +BABEL-2535 +BABEL-2688 +BABEL-2765 +BABEL-2787 +BABEL-2787-2 +BABEL-2795 +BABEL-2805 +BABEL-2812 +BABEL-2819 +BABEL-2845 +babelfish_function_ext-before_16_4_or_15_8_or_14_13 +BABEL-2884 +BABEL-2917 +BABEL-2944 +BABEL-2955 +BABEL-3000 +BABEL-3000-dep +BABEL-3010 +BABEL-3116 +BABEL-3117 +BABEL-3118 +BABEL-3121 +BABEL-3144 +BABEL-3147-before-16_3-or-15_7-or-14_12 +BABEL-3166 +BABEL-3192 +BABEL-3204 +BABEL-3213 +BABEL-3215 +BABEL-3221 +BABEL-3234 +BABEL-3249 +BABEL-3268 +BABEL-328 +BABEL-3314 +BABEL-3326 +BABEL-3347 +BABEL-3358 +BABEL-3360 +BABEL-3369 +BABEL-3370 +BABEL-3380 +BABEL-3392 +BABEL-3402 +BABEL-3474 +BABEL-3478 +BABEL-3486 +BABEL-3513_before_15_8_or_16_4 +BABEL-3556 +BABEL-3588 +BABEL-3614 +BABEL-3640 +BABEL-3646 +BABEL-3655 +BABEL-3657 +BABEL-3696 +BABEL-3697 +BABEL-3702 +BABEL-3725 +BABEL-3747 +BABEL-3748 +BABEL-3781 +BABEL-3801 +BABEL-3802 +BABEL-3818 +BABEL-3828 +BABEL-383 +BABEL-3844 +BABEL-3914 +BABEL-3938 +BABEL-3952 +BABEL-3953-datetrunc +BABEL-404-before-15_7-or-16_3 +BABEL-405 +BABEL-4078 +BABEL-4098 +BABEL-4214 +BABEL-4516 +babel_417 +BABEL-493 +BABEL_539 +BABEL-621-before-15_7-or-16_3 +BABEL-728 +BABEL-733 +BABEL-741 +BABEL-745 +BABEL-775 +BABEL-889 +BABEL-937 +BABEL-APPLOCK +babel_char +BABEL-CHECK-CONSTRAINT +babel_context_info +BABEL-CROSS-DB +babel_datatype_sqlvariant +babel_datetime +Babel_domain_mapping_test +BABEL-EXECUTE_AS_CALLER +BABEL-EXTENDEDPROPERTY +BABEL-EXTENDEDPROPERTY-v2 +babel_int4_varbinary_div +babelfish_authid_login_ext +babelfish_authid_user_ext +babelfish_cast_floor +babelfish_inconsistent_metadata +babelfish_integrity_checker +babelfish_migration_mode +babelfish_namespace_ext +babelfish_sysdatabases +babel_function_string +BABEL_GRANT_CONNECT +babel_isnumeric +BABEL_COL_NAME +BABEL-LOGIN +BABEL-LOGIN-USER-EXT +BABEL-NEXT-VALUE-FOR +BABEL_OBJECT_DEFINITION +BABEL_OBJECT_ID +BABEL_OBJECT_NAME +BABEL-PG-SYSTEM-FUNCTIONS +BABEL-PROCID +BABEL-RAND +BABEL-ROLE +BABEL-ROLE-MEMBER +BABEL_SCHEMATA +BABEL-SPCOLUMNS +BABEL-SPCOLUMNS-dep +BABEL-SP_COLUMNS_MANAGED-dep +BABEL-SP_DATATYPE_INFO +BABEL-SP_FKEYS +BABEL-SP_FKEYS-dep +BABEL-sp_helpdb +BABEL-SP_SPECIAL_COLUMNS +BABEL-SP_SPECIAL_COLUMNS_100-dep +BABEL-SP_SPECIAL_COLUMNS-dep +BABEL-SP_SPROC_COLUMNS +BABEL-SP_SPROC_COLUMNS_100-dep +BABEL-SP_SPROC_COLUMNS-dep +BABEL-SP_STORED_PROCEDURES +BABEL-SP_STORED_PROCEDURES-dep +BABEL-SP_TABLE_PRIVILIGES +BABEL-SP_TABLES +SP_TABLES-dep +babel_sqlvariant_cast_compare +BABEL-SQUARE +BABEL-TABLEOPTIONS +babel_trigger +babel_try_parse +BABEL-USER +babel_varbinary_int4_div +bbf_view_def +binary-index +bitwise_not-operator +case_insensitive_collation +cast_numeric_types_to_datetime +cast_numeric_types_to_smalldatetime +col_length +collation_tests +collation_tests_arabic +collation_tests_greek +collation_tests_mongolian +collation_tests_polish +column_domain_usage +constraint_column_usage +dateadd_internal_df +datediff_big +datediff +dateadd +datepart +datetime2fromparts-after-15-2 +forjson +forjson-datatypes +forjson-subquery +forjson-nesting +format +format-dep +forxml +forxml-subquery +fulltextserviceproperty +FULLTEXT_INDEX +fts-contains +get_tds_id +HAS_DBACCESS +identity_function +indexproperty +insteadof_nested_trigger_inside_proc +insteadof_nested_trigger_with_dml +insteadoftriggers_with_transaction +ISC-Columns +isc-schemata-dep +ISC-sequences +ISC-Table_Constraints +ISC-Tables-before_16_4_or_15_8_or_14_13 +ISC-Views +is_srvrolemember +jira-BABEL-3504-upgrade +key_column_usage +linked_servers +msdb-dbo-fn_syspolicy_is_automation_enabled +msdb-dbo-syspolicy_configuration +msdb-dbo-syspolicy_system_health_state +nested_trigger_inside_proc +nested_trigger_with_dml +newid_before_14_12_or_15_7_or_16_3 +objectpropertyex +openjson +openquery_upgrd_before_15_4 +orderby +routines_definition +rowcount +schema_resolution_func +schema_resolution_proc +schema_resolution_trigger +select-strip-parens +sp_describe_first_result_set +sp_tablecollations +smalldatetimefromparts-dep +str +switchoffset-dep +sys-all_columns +sys-all_columns-dep +sys_all_objects +sys_all_objects-dep +sys-all_parameters +sys-all_parameters-dep +sys-all_sql_modules +sys-all_sql_modules-before-15_7-or-16_2-dep +sys-all_views +sys-assemblies +sys-assembly_modules +sys-assembly_types +sys_babelfish_configurations_view +sys-change_tracking_databases +sys-change_tracking_tables +sys-check_constraints +sys-check_constraints-dep +sys-column-property +sys-columns +sys-columns-dep +sys-computed_columns +sys-computed_columns-dep +sys-configurations +sys-database_files +sys-database_filestream_options +sys-database_mirroring +sys_database_principals_dep +sys_syslogins_dep +sys-database_recovery_status +sys-databases +sys-databases-dep +sys-data_spaces-before-16-4 +sys-datefirst +sys-default_constraints +sys-default_constraints-dep +sys-dm_exec_connections +sys-dm_exec_connections-dep +sys-dm_exec_sessions +sys-dm_exec_sessions-dep +sys-dm_hadr_cluster +sys-dm_hadr_database_replica_states +sys-dm_os_host_info +sys-endpoints +sys-eomonth +sys-events +sys-extended_properties +sys-sql_expression_dependencies +sys-filegroups-before-16-4 +sys-filetables +sys-filetable_system_defined_objects +sys-foreign_key_columns +sys-foreign_key_columns-dep +sys-foreign_keys +sys-foreign_keys-dep +sys-fulltext_catalogs +sys-fulltext_index_columns +sys-fulltext_indexes +sys-fulltext_languages +sys-fulltext_stoplists +sys-hash_indexes +sys-has_perms_by_name +sys-has_perms_by_name-dep +sys-host_name-before-15_8-or-16_4 +sys-identity_columns +sys-identity_columns-dep +sys-index_columns +sys-index_columns-dep +sys-indexes +sys-indexes-dep +sys-key_constraints +sys-key_constraints-dep +sys-lock_timeout +sys-master_files +sys-max_connections +sys-nestlevel-dep +sys-numbered_procedures +sys-objects +sys-original_login +sys-parsename +sys-partitions +sys-partitions-dep +sys-plan_guides +sys-procedures +sys-proc_param_helper-dep +sys-registered_search_property_lists +sys-schema-name +sys-schemas +sys-schemas-dep +sys-selective_xml_index_paths +sys-server_principals +sys_server_role_members +sys_server_principals_dep +sys-sid_binary +sys-spatial_indexes +sys-spatial_index_tessellations +sys-sp_databases +sys-sp_databases-dep +sys-sp_pkeys +sys-sp_pkeys-dep +sys-sp_statistics +sys-sp_statistics-dep +sys-sp_tables_view +sys-sp_tables_view-dep +sys-sql_modules +sys-sql_modules-before-15_7-or-16_2-dep +sys-stats +sys-suser_sid +sys-suser_sname +sys-synonyms +sys-syscharsets +sys-syscolumns +sys-syscolumns-dep +sys-sysdatabases +sys-sysforeignkeys +sys-sysforeignkeys-dep +sys-sysindexes +sys-syslanguages +sys-sysobjects +sys-system_objects +sys-system_sql_modules +sys-system_sql_modules-dep +sys-systypes +sys_sysusers_dep +sys-tables +sys-tables-dep +sys-table_types +sys-table_types-dep +sys-table_types_internal +sys-table_types_internal-dep +SYSTEM_USER +sys-trigger_events +sys-trigger_nestlevel +sys-triggers +sys-triggers-dep +sys-types +sys-types-dep +sys-userid +sys-views +sys-views-dep +sys-xml_indexes +sys-xml_schema_collections +table-variable +tdscollation +temp-tables +TestBigInt +TestBinary +TestBIT +TestChar +Test-Computed-Columns +TestDate +TestDatetime +TestDatetime2 +TestDatetime-numeric-dateaddfunction +TestDatetime-numeric-representation +TestDecimal +TestFloat +Test-Identity +TestImage +TestInt +TestMoney +TestNotNull +TestNumeric +TestReal +TestRowVersion +TestSmallDatetime +TestSmallInt +TestSmallMoney +Test-sp_addrole +Test-sp_addrolemember +Test-sp_babelfish_volatility +Test-sp_droprole +Test-sp_droprolemember +Test-sp_execute_postgresql +Test-sp_helpdbfixedrole +Test-sp_helprole-dep +Test-sp_helprolemember-dep +Test-sp_helpsrvrolemember +Test-sp_helpuser +Test-sp_rename +Test-sp_rename-dep +Test-sp_set_session_context +Test-sp_set_session_context-dep +TestSQLVariant +TestTableType +TestText +TestTime +TestTinyInt +TestUDD-before-15_7-or-16_3 +TestUniqueIdentifier +Test_user_from_win_login +TestVarChar +TestVariableDataLength +test_windows_alter_login +test_windows_alter_user +test_windows_login +test_windows_sp_helpuser +TestXML +timefromparts +todatetimeoffset-dep +triggers_with_transaction +typeid-typename +typeid-typename-dep +unquoted_string +doublequoted_string +alter_authorization_change_db_owner +sp_changedbowner +datetimeoffset-timezone +BABEL-4046 +host_id +linked_srv_4229 +BABEL-4175 +sp_who +BABEL_4330 +kill +BABEL-4217 +Test_ISNULL +BABEL-4270 +BABEL-4410 +BABEL-4231 +typeproperty-dep +sys_asymmetric_keys +sys_certificates +sys_database_permissions +#BABEL-4279 +BABEL-4484 +pivot +#AUTO_ANALYZE #uncomment this test when preparing for new minor version +cast_eliminate +TestDatatypeAggSort +babel_index_nulls_order +BABEL-2999 +BABEL-4606 +BABEL-4672 +permission_restrictions_from_pg +BABEL-4529-before-15_6-or-14_11 +BABEL-730-before-15_6-or-16_1 +babel-4475 +babel-4517 +BABEL_4553 +GRANT_SCHEMA-before-15_7-16_3 +BABEL-4815 +BABEL-4641-before-16_3-or-15_7-or-14_12 +Test_alter_db_rename +Test_sp_renamedb +Test_sp_rename_database +BABEL-4863-before-16_3-or-15_7-or-14_12 +babel_test_int4_numeric_oper_before_16_3 +babel_test_int8_numeric_oper_before_16_3 +babel_test_int2_numeric_oper_before_16_3 +BABEL_3571-15_5-or-15_6-or-16_1-or-16_2 +BABEL-4869 +babel_4328_datetime-before-16_3 +babel_4328_datetime2-before-16_3 +babel_4328_datetimeoffset-before-16_3 +babel_726-before-14_12-or-15_7-or-16_3 +BABEL-5071 +upper_lower-before-15_8-or-16_4 +trim-before-15_8-or-16_4 +ltrim-before-15_8-or-16_4 +rtrim-before-15_8-or-16_4 +left-before-15_8-or-16_4 +right-before-15_8-or-16_4 +reverse-before-15_8-or-16_4 +replicate-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/latest/schedule b/test/JDBC/upgrade/latest/schedule index e7c22615f2..e00f168dd8 100644 --- a/test/JDBC/upgrade/latest/schedule +++ b/test/JDBC/upgrade/latest/schedule @@ -546,3 +546,5 @@ BABEL-3820 replicate reverse sys_sequences +space + diff --git a/test/python/expected/sql_validation_framework/expected_create.out b/test/python/expected/sql_validation_framework/expected_create.out index aa18184d0c..acb2fd9fd7 100644 --- a/test/python/expected/sql_validation_framework/expected_create.out +++ b/test/python/expected/sql_validation_framework/expected_create.out @@ -150,7 +150,6 @@ Could not find upgrade tests for function sys.sp_special_columns_precision_helpe Could not find upgrade tests for function sys.sp_special_columns_scale_helper Could not find upgrade tests for function sys.sp_statistics_internal Could not find upgrade tests for function sys.sp_tables_internal -Could not find upgrade tests for function sys.space Could not find upgrade tests for function sys.stuff Could not find upgrade tests for function sys.suser_id_internal Could not find upgrade tests for function sys.suser_name_internal diff --git a/test/python/expected/upgrade_validation/expected_dependency.out b/test/python/expected/upgrade_validation/expected_dependency.out index 5d7295a070..9b8718fd46 100644 --- a/test/python/expected/upgrade_validation/expected_dependency.out +++ b/test/python/expected/upgrade_validation/expected_dependency.out @@ -301,7 +301,6 @@ Function sys.connectionproperty(text) Function sys.cursor_rows() Function sys.cursor_status(text,text) Function sys.databasepropertyex(text,text) -Function sys.datalength(anyelement) Function sys.datalength(character) Function sys.datalength(sys.sql_variant) Function sys.datalength(text) @@ -631,7 +630,6 @@ Function sys.sp_special_columns_precision_helper(text,integer,smallint,bigint) Function sys.sp_special_columns_scale_helper(text,integer) Function sys.sp_statistics_internal(sys.sysname,sys.sysname,sys.sysname,sys.sysname,character,character) Function sys.sp_tables_internal(sys.nvarchar,sys.nvarchar,sys.sysname,sys."varchar",sys."bit") -Function sys.space(integer) Function sys.sql_variant_property(sys.sql_variant,sys."varchar") Function sys.sqlvariant_bbfbinary(sys.sql_variant) Function sys.sqlvariant_bbfvarbinary(sys.sql_variant) From 50a9e7f7fe47d6427715146fda50c534fe43d4f8 Mon Sep 17 00:00:00 2001 From: Tanya Gupta Date: Mon, 29 Jul 2024 13:53:07 +0000 Subject: [PATCH 2/5] Resolving merge conflict Signed-off-by: Tanya Gupta --- test/JDBC/upgrade/13_4/schedule | 2 ++ test/JDBC/upgrade/13_5/schedule | 2 ++ test/JDBC/upgrade/15_7/schedule | 1 - 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/test/JDBC/upgrade/13_4/schedule b/test/JDBC/upgrade/13_4/schedule index da8baae49f..ef78456c58 100644 --- a/test/JDBC/upgrade/13_4/schedule +++ b/test/JDBC/upgrade/13_4/schedule @@ -246,3 +246,5 @@ translate-before-15_8-or-16_4 babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/13_5/schedule b/test/JDBC/upgrade/13_5/schedule index 2b52275efa..111aa6a04c 100644 --- a/test/JDBC/upgrade/13_5/schedule +++ b/test/JDBC/upgrade/13_5/schedule @@ -299,3 +299,5 @@ translate-before-15_8-or-16_4 babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 +space + diff --git a/test/JDBC/upgrade/15_7/schedule b/test/JDBC/upgrade/15_7/schedule index 26f586d68e..0710539796 100644 --- a/test/JDBC/upgrade/15_7/schedule +++ b/test/JDBC/upgrade/15_7/schedule @@ -545,6 +545,5 @@ babel_4328_datetime babel_4328_datetime2 babel_4328_datetimeoffset BABEL-3820 -replicate-before-15_8-or-16_4 space From 7e5370577dcde798513ef06145a108e3e06a0aa6 Mon Sep 17 00:00:00 2001 From: Tanya Gupta Date: Mon, 29 Jul 2024 16:50:32 +0000 Subject: [PATCH 3/5] Removing extra file 16_1 upgrade and adding single extra line in schedule file Signed-off-by: Tanya Gupta --- test/JDBC/upgrade/13_4/schedule | 1 - test/JDBC/upgrade/13_5/schedule | 1 - test/JDBC/upgrade/13_6/schedule | 1 - test/JDBC/upgrade/13_7/schedule | 1 - test/JDBC/upgrade/13_8/schedule | 1 - test/JDBC/upgrade/13_9/schedule | 1 - test/JDBC/upgrade/14_10/schedule | 1 - test/JDBC/upgrade/14_11/schedule | 1 - test/JDBC/upgrade/14_12/schedule | 1 - test/JDBC/upgrade/14_13/schedule | 1 - test/JDBC/upgrade/14_3/schedule | 1 - test/JDBC/upgrade/14_5/schedule | 1 - test/JDBC/upgrade/14_6/schedule | 1 - test/JDBC/upgrade/14_7/schedule | 1 - test/JDBC/upgrade/14_8/schedule | 1 - test/JDBC/upgrade/14_9/schedule | 1 - test/JDBC/upgrade/15_1/schedule | 1 - test/JDBC/upgrade/15_2/schedule | 1 - test/JDBC/upgrade/15_3/schedule | 1 - test/JDBC/upgrade/15_4/schedule | 1 - test/JDBC/upgrade/15_5/schedule | 1 - test/JDBC/upgrade/15_6/schedule | 1 - test/JDBC/upgrade/15_7/schedule | 1 - test/JDBC/upgrade/16_1/schedule | 531 ------------------------------ test/JDBC/upgrade/latest/schedule | 2 +- 25 files changed, 1 insertion(+), 555 deletions(-) delete mode 100644 test/JDBC/upgrade/16_1/schedule diff --git a/test/JDBC/upgrade/13_4/schedule b/test/JDBC/upgrade/13_4/schedule index ef78456c58..8ae6de17d9 100644 --- a/test/JDBC/upgrade/13_4/schedule +++ b/test/JDBC/upgrade/13_4/schedule @@ -247,4 +247,3 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/13_5/schedule b/test/JDBC/upgrade/13_5/schedule index 111aa6a04c..827740f63c 100644 --- a/test/JDBC/upgrade/13_5/schedule +++ b/test/JDBC/upgrade/13_5/schedule @@ -300,4 +300,3 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/13_6/schedule b/test/JDBC/upgrade/13_6/schedule index 510032c0a7..9e1a675669 100644 --- a/test/JDBC/upgrade/13_6/schedule +++ b/test/JDBC/upgrade/13_6/schedule @@ -356,4 +356,3 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/13_7/schedule b/test/JDBC/upgrade/13_7/schedule index 263037a286..d4278b8282 100644 --- a/test/JDBC/upgrade/13_7/schedule +++ b/test/JDBC/upgrade/13_7/schedule @@ -349,4 +349,3 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/13_8/schedule b/test/JDBC/upgrade/13_8/schedule index 263037a286..d4278b8282 100644 --- a/test/JDBC/upgrade/13_8/schedule +++ b/test/JDBC/upgrade/13_8/schedule @@ -349,4 +349,3 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/13_9/schedule b/test/JDBC/upgrade/13_9/schedule index 790208ac14..fc418c4ffd 100644 --- a/test/JDBC/upgrade/13_9/schedule +++ b/test/JDBC/upgrade/13_9/schedule @@ -354,4 +354,3 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/14_10/schedule b/test/JDBC/upgrade/14_10/schedule index c1020fb585..043567e1e1 100644 --- a/test/JDBC/upgrade/14_10/schedule +++ b/test/JDBC/upgrade/14_10/schedule @@ -453,4 +453,3 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/14_11/schedule b/test/JDBC/upgrade/14_11/schedule index 07a1c49d08..915031702d 100644 --- a/test/JDBC/upgrade/14_11/schedule +++ b/test/JDBC/upgrade/14_11/schedule @@ -452,4 +452,3 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/14_12/schedule b/test/JDBC/upgrade/14_12/schedule index 867fac2ee4..cf6f7758e5 100644 --- a/test/JDBC/upgrade/14_12/schedule +++ b/test/JDBC/upgrade/14_12/schedule @@ -454,4 +454,3 @@ babel_726 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/14_13/schedule b/test/JDBC/upgrade/14_13/schedule index 6a41cc0cce..36cfe1b395 100644 --- a/test/JDBC/upgrade/14_13/schedule +++ b/test/JDBC/upgrade/14_13/schedule @@ -454,4 +454,3 @@ babel_726 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/14_3/schedule b/test/JDBC/upgrade/14_3/schedule index c80c4d6583..63fd9492a4 100644 --- a/test/JDBC/upgrade/14_3/schedule +++ b/test/JDBC/upgrade/14_3/schedule @@ -375,4 +375,3 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/14_5/schedule b/test/JDBC/upgrade/14_5/schedule index fa667c1ed4..b7a0e24fa3 100644 --- a/test/JDBC/upgrade/14_5/schedule +++ b/test/JDBC/upgrade/14_5/schedule @@ -387,4 +387,3 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/14_6/schedule b/test/JDBC/upgrade/14_6/schedule index 4931c24533..ebe2b1e601 100644 --- a/test/JDBC/upgrade/14_6/schedule +++ b/test/JDBC/upgrade/14_6/schedule @@ -424,4 +424,3 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/14_7/schedule b/test/JDBC/upgrade/14_7/schedule index cfeb8a3a8f..9ea423cbfb 100644 --- a/test/JDBC/upgrade/14_7/schedule +++ b/test/JDBC/upgrade/14_7/schedule @@ -444,4 +444,3 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/14_8/schedule b/test/JDBC/upgrade/14_8/schedule index b0fe3d7b6b..75321670c2 100644 --- a/test/JDBC/upgrade/14_8/schedule +++ b/test/JDBC/upgrade/14_8/schedule @@ -445,4 +445,3 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/14_9/schedule b/test/JDBC/upgrade/14_9/schedule index dddc1c2998..b699e5df5e 100644 --- a/test/JDBC/upgrade/14_9/schedule +++ b/test/JDBC/upgrade/14_9/schedule @@ -449,4 +449,3 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/15_1/schedule b/test/JDBC/upgrade/15_1/schedule index 2c7df9fb55..add1baa30a 100644 --- a/test/JDBC/upgrade/15_1/schedule +++ b/test/JDBC/upgrade/15_1/schedule @@ -423,4 +423,3 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/15_2/schedule b/test/JDBC/upgrade/15_2/schedule index 85358fc080..4d3cb3b951 100644 --- a/test/JDBC/upgrade/15_2/schedule +++ b/test/JDBC/upgrade/15_2/schedule @@ -459,4 +459,3 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/15_3/schedule b/test/JDBC/upgrade/15_3/schedule index 7b3b971ccf..f855cd6a2c 100644 --- a/test/JDBC/upgrade/15_3/schedule +++ b/test/JDBC/upgrade/15_3/schedule @@ -477,4 +477,3 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/15_4/schedule b/test/JDBC/upgrade/15_4/schedule index e5096833db..4042481309 100644 --- a/test/JDBC/upgrade/15_4/schedule +++ b/test/JDBC/upgrade/15_4/schedule @@ -490,4 +490,3 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/15_5/schedule b/test/JDBC/upgrade/15_5/schedule index 40dfb515f3..5f0a8ede42 100644 --- a/test/JDBC/upgrade/15_5/schedule +++ b/test/JDBC/upgrade/15_5/schedule @@ -522,4 +522,3 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/15_6/schedule b/test/JDBC/upgrade/15_6/schedule index a722dfb36c..0f24383fed 100644 --- a/test/JDBC/upgrade/15_6/schedule +++ b/test/JDBC/upgrade/15_6/schedule @@ -538,4 +538,3 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space - diff --git a/test/JDBC/upgrade/15_7/schedule b/test/JDBC/upgrade/15_7/schedule index 0710539796..10c10f482b 100644 --- a/test/JDBC/upgrade/15_7/schedule +++ b/test/JDBC/upgrade/15_7/schedule @@ -546,4 +546,3 @@ babel_4328_datetime2 babel_4328_datetimeoffset BABEL-3820 space - diff --git a/test/JDBC/upgrade/16_1/schedule b/test/JDBC/upgrade/16_1/schedule deleted file mode 100644 index 313aeaf086..0000000000 --- a/test/JDBC/upgrade/16_1/schedule +++ /dev/null @@ -1,531 +0,0 @@ -# Schedule File for JDBC Test Framework for local run -# 1. Lines starting with '#' will be treated as comments -# 2. To run a postgres command: cmd#!#postgresql#!# -# 3. To run a T-SQL command: cmd#!#sqlserver#!# -# 4. Keyword "all" is equivalent to running all test files in input folder -# 5. To add a test, add test name (without extension, , and . For example if test file name is TestBigInt.txt write TestBigInt) on a new line - -# This should be the first test to check there are no duplicated object_ids -BABEL-3613 - -app_name -atn2 -ATTIMEZONE-dep -AVG-Aggregate-common -AVG-Aggregate-Dep -BABEL-1062 -BABEL-1189 -BABEL-1206 -BABEL-1243 -BABEL-1249 -BABEL-1251 -BABEL-1291 -BABEL-1319 -BABEL-1438 -BABEL-1444 -BABEL-1465 -BABEL-1466 -BABEL-1475 -BABEL-1493 -BABEL-1510 -BABEL-1566 -BABEL-1625 -BABEL-1654 -BABEL-1683 -BABEL-1715 -BABEL-1953 -BABEL-1963 -BABEL-1994-CHAR -BABEL-1994-VARCHAR -BABEL-2086 -BABEL-2170 -BABEL-4390 -BABEL-2203 -BABEL-2208 -BABEL-2257 -BABEL-2449 -BABEL-2535 -BABEL-2688 -BABEL-2765 -BABEL-2787 -BABEL-2787-2 -BABEL-2795 -BABEL-2805 -BABEL-2812 -BABEL-2819 -BABEL-2845 -babelfish_function_ext-before_16_4_or_15_8_or_14_13 -BABEL-2884 -BABEL-2917 -BABEL-2944 -BABEL-2955 -BABEL-3000 -BABEL-3000-dep -BABEL-3010 -BABEL-3116 -BABEL-3117 -BABEL-3118 -BABEL-3121 -BABEL-3144 -BABEL-3147-before-16_3-or-15_7-or-14_12 -BABEL-3166 -BABEL-3192 -BABEL-3204 -BABEL-3213 -BABEL-3215 -BABEL-3221 -BABEL-3234 -BABEL-3249 -BABEL-3268 -BABEL-328 -BABEL-3314 -BABEL-3326 -BABEL-3347 -BABEL-3358 -BABEL-3360 -BABEL-3369 -BABEL-3370 -BABEL-3380 -BABEL-3392 -BABEL-3402 -BABEL-3474 -BABEL-3478 -BABEL-3486 -BABEL-3513_before_15_8_or_16_4 -BABEL-3556 -BABEL-3588 -BABEL-3614 -BABEL-3640 -BABEL-3646 -BABEL-3655 -BABEL-3657 -BABEL-3696 -BABEL-3697 -BABEL-3702 -BABEL-3725 -BABEL-3747 -BABEL-3748 -BABEL-3781 -BABEL-3801 -BABEL-3802 -BABEL-3818 -BABEL-3828 -BABEL-383 -BABEL-3844 -BABEL-3914 -BABEL-3938 -BABEL-3952 -BABEL-3953-datetrunc -BABEL-404-before-15_7-or-16_3 -BABEL-405 -BABEL-4078 -BABEL-4098 -BABEL-4214 -BABEL-4516 -babel_417 -BABEL-493 -BABEL_539 -BABEL-621-before-15_7-or-16_3 -BABEL-728 -BABEL-733 -BABEL-741 -BABEL-745 -BABEL-775 -BABEL-889 -BABEL-937 -BABEL-APPLOCK -babel_char -BABEL-CHECK-CONSTRAINT -babel_context_info -BABEL-CROSS-DB -babel_datatype_sqlvariant -babel_datetime -Babel_domain_mapping_test -BABEL-EXECUTE_AS_CALLER -BABEL-EXTENDEDPROPERTY -BABEL-EXTENDEDPROPERTY-v2 -babel_int4_varbinary_div -babelfish_authid_login_ext -babelfish_authid_user_ext -babelfish_cast_floor -babelfish_inconsistent_metadata -babelfish_integrity_checker -babelfish_migration_mode -babelfish_namespace_ext -babelfish_sysdatabases -babel_function_string -BABEL_GRANT_CONNECT -babel_isnumeric -BABEL_COL_NAME -BABEL-LOGIN -BABEL-LOGIN-USER-EXT -BABEL-NEXT-VALUE-FOR -BABEL_OBJECT_DEFINITION -BABEL_OBJECT_ID -BABEL_OBJECT_NAME -BABEL-PG-SYSTEM-FUNCTIONS -BABEL-PROCID -BABEL-RAND -BABEL-ROLE -BABEL-ROLE-MEMBER -BABEL_SCHEMATA -BABEL-SPCOLUMNS -BABEL-SPCOLUMNS-dep -BABEL-SP_COLUMNS_MANAGED-dep -BABEL-SP_DATATYPE_INFO -BABEL-SP_FKEYS -BABEL-SP_FKEYS-dep -BABEL-sp_helpdb -BABEL-SP_SPECIAL_COLUMNS -BABEL-SP_SPECIAL_COLUMNS_100-dep -BABEL-SP_SPECIAL_COLUMNS-dep -BABEL-SP_SPROC_COLUMNS -BABEL-SP_SPROC_COLUMNS_100-dep -BABEL-SP_SPROC_COLUMNS-dep -BABEL-SP_STORED_PROCEDURES -BABEL-SP_STORED_PROCEDURES-dep -BABEL-SP_TABLE_PRIVILIGES -BABEL-SP_TABLES -SP_TABLES-dep -babel_sqlvariant_cast_compare -BABEL-SQUARE -BABEL-TABLEOPTIONS -babel_trigger -babel_try_parse -BABEL-USER -babel_varbinary_int4_div -bbf_view_def -binary-index -bitwise_not-operator -case_insensitive_collation -cast_numeric_types_to_datetime -cast_numeric_types_to_smalldatetime -col_length -collation_tests -collation_tests_arabic -collation_tests_greek -collation_tests_mongolian -collation_tests_polish -column_domain_usage -constraint_column_usage -dateadd_internal_df -datediff_big -datediff -dateadd -datepart -datetime2fromparts-after-15-2 -forjson -forjson-datatypes -forjson-subquery -forjson-nesting -format -format-dep -forxml -forxml-subquery -fulltextserviceproperty -FULLTEXT_INDEX -fts-contains -get_tds_id -HAS_DBACCESS -identity_function -indexproperty -insteadof_nested_trigger_inside_proc -insteadof_nested_trigger_with_dml -insteadoftriggers_with_transaction -ISC-Columns -isc-schemata-dep -ISC-sequences -ISC-Table_Constraints -ISC-Tables-before_16_4_or_15_8_or_14_13 -ISC-Views -is_srvrolemember -jira-BABEL-3504-upgrade -key_column_usage -linked_servers -msdb-dbo-fn_syspolicy_is_automation_enabled -msdb-dbo-syspolicy_configuration -msdb-dbo-syspolicy_system_health_state -nested_trigger_inside_proc -nested_trigger_with_dml -newid_before_14_12_or_15_7_or_16_3 -objectpropertyex -openjson -openquery_upgrd_before_15_4 -orderby -routines_definition -rowcount -schema_resolution_func -schema_resolution_proc -schema_resolution_trigger -select-strip-parens -sp_describe_first_result_set -sp_tablecollations -smalldatetimefromparts-dep -str -switchoffset-dep -sys-all_columns -sys-all_columns-dep -sys_all_objects -sys_all_objects-dep -sys-all_parameters -sys-all_parameters-dep -sys-all_sql_modules -sys-all_sql_modules-before-15_7-or-16_2-dep -sys-all_views -sys-assemblies -sys-assembly_modules -sys-assembly_types -sys_babelfish_configurations_view -sys-change_tracking_databases -sys-change_tracking_tables -sys-check_constraints -sys-check_constraints-dep -sys-column-property -sys-columns -sys-columns-dep -sys-computed_columns -sys-computed_columns-dep -sys-configurations -sys-database_files -sys-database_filestream_options -sys-database_mirroring -sys_database_principals_dep -sys_syslogins_dep -sys-database_recovery_status -sys-databases -sys-databases-dep -sys-data_spaces-before-16-4 -sys-datefirst -sys-default_constraints -sys-default_constraints-dep -sys-dm_exec_connections -sys-dm_exec_connections-dep -sys-dm_exec_sessions -sys-dm_exec_sessions-dep -sys-dm_hadr_cluster -sys-dm_hadr_database_replica_states -sys-dm_os_host_info -sys-endpoints -sys-eomonth -sys-events -sys-extended_properties -sys-sql_expression_dependencies -sys-filegroups-before-16-4 -sys-filetables -sys-filetable_system_defined_objects -sys-foreign_key_columns -sys-foreign_key_columns-dep -sys-foreign_keys -sys-foreign_keys-dep -sys-fulltext_catalogs -sys-fulltext_index_columns -sys-fulltext_indexes -sys-fulltext_languages -sys-fulltext_stoplists -sys-hash_indexes -sys-has_perms_by_name -sys-has_perms_by_name-dep -sys-host_name-before-15_8-or-16_4 -sys-identity_columns -sys-identity_columns-dep -sys-index_columns -sys-index_columns-dep -sys-indexes -sys-indexes-dep -sys-key_constraints -sys-key_constraints-dep -sys-lock_timeout -sys-master_files -sys-max_connections -sys-nestlevel-dep -sys-numbered_procedures -sys-objects -sys-original_login -sys-parsename -sys-partitions -sys-partitions-dep -sys-plan_guides -sys-procedures -sys-proc_param_helper-dep -sys-registered_search_property_lists -sys-schema-name -sys-schemas -sys-schemas-dep -sys-selective_xml_index_paths -sys-server_principals -sys_server_role_members -sys_server_principals_dep -sys-sid_binary -sys-spatial_indexes -sys-spatial_index_tessellations -sys-sp_databases -sys-sp_databases-dep -sys-sp_pkeys -sys-sp_pkeys-dep -sys-sp_statistics -sys-sp_statistics-dep -sys-sp_tables_view -sys-sp_tables_view-dep -sys-sql_modules -sys-sql_modules-before-15_7-or-16_2-dep -sys-stats -sys-suser_sid -sys-suser_sname -sys-synonyms -sys-syscharsets -sys-syscolumns -sys-syscolumns-dep -sys-sysdatabases -sys-sysforeignkeys -sys-sysforeignkeys-dep -sys-sysindexes -sys-syslanguages -sys-sysobjects -sys-system_objects -sys-system_sql_modules -sys-system_sql_modules-dep -sys-systypes -sys_sysusers_dep -sys-tables -sys-tables-dep -sys-table_types -sys-table_types-dep -sys-table_types_internal -sys-table_types_internal-dep -SYSTEM_USER -sys-trigger_events -sys-trigger_nestlevel -sys-triggers -sys-triggers-dep -sys-types -sys-types-dep -sys-userid -sys-views -sys-views-dep -sys-xml_indexes -sys-xml_schema_collections -table-variable -tdscollation -temp-tables -TestBigInt -TestBinary -TestBIT -TestChar -Test-Computed-Columns -TestDate -TestDatetime -TestDatetime2 -TestDatetime-numeric-dateaddfunction -TestDatetime-numeric-representation -TestDecimal -TestFloat -Test-Identity -TestImage -TestInt -TestMoney -TestNotNull -TestNumeric -TestReal -TestRowVersion -TestSmallDatetime -TestSmallInt -TestSmallMoney -Test-sp_addrole -Test-sp_addrolemember -Test-sp_babelfish_volatility -Test-sp_droprole -Test-sp_droprolemember -Test-sp_execute_postgresql -Test-sp_helpdbfixedrole -Test-sp_helprole-dep -Test-sp_helprolemember-dep -Test-sp_helpsrvrolemember -Test-sp_helpuser -Test-sp_rename -Test-sp_rename-dep -Test-sp_set_session_context -Test-sp_set_session_context-dep -TestSQLVariant -TestTableType -TestText -TestTime -TestTinyInt -TestUDD-before-15_7-or-16_3 -TestUniqueIdentifier -Test_user_from_win_login -TestVarChar -TestVariableDataLength -test_windows_alter_login -test_windows_alter_user -test_windows_login -test_windows_sp_helpuser -TestXML -timefromparts -todatetimeoffset-dep -triggers_with_transaction -typeid-typename -typeid-typename-dep -unquoted_string -doublequoted_string -alter_authorization_change_db_owner -sp_changedbowner -datetimeoffset-timezone -BABEL-4046 -host_id -linked_srv_4229 -BABEL-4175 -sp_who -BABEL_4330 -kill -BABEL-4217 -Test_ISNULL -BABEL-4270 -BABEL-4410 -BABEL-4231 -typeproperty-dep -sys_asymmetric_keys -sys_certificates -sys_database_permissions -#BABEL-4279 -BABEL-4484 -pivot -#AUTO_ANALYZE #uncomment this test when preparing for new minor version -cast_eliminate -TestDatatypeAggSort -babel_index_nulls_order -BABEL-2999 -BABEL-4606 -BABEL-4672 -permission_restrictions_from_pg -BABEL-4529-before-15_6-or-14_11 -BABEL-730-before-15_6-or-16_1 -babel-4475 -babel-4517 -BABEL_4553 -GRANT_SCHEMA-before-15_7-16_3 -BABEL-4815 -BABEL-4641-before-16_3-or-15_7-or-14_12 -Test_alter_db_rename -Test_sp_renamedb -Test_sp_rename_database -BABEL-4863-before-16_3-or-15_7-or-14_12 -babel_test_int4_numeric_oper_before_16_3 -babel_test_int8_numeric_oper_before_16_3 -babel_test_int2_numeric_oper_before_16_3 -BABEL_3571-15_5-or-15_6-or-16_1-or-16_2 -BABEL-4869 -babel_4328_datetime-before-16_3 -babel_4328_datetime2-before-16_3 -babel_4328_datetimeoffset-before-16_3 -babel_726-before-14_12-or-15_7-or-16_3 -BABEL-5071 -upper_lower-before-15_8-or-16_4 -trim-before-15_8-or-16_4 -ltrim-before-15_8-or-16_4 -rtrim-before-15_8-or-16_4 -left-before-15_8-or-16_4 -right-before-15_8-or-16_4 -reverse-before-15_8-or-16_4 -replicate-before-15_8-or-16_4 -space - diff --git a/test/JDBC/upgrade/latest/schedule b/test/JDBC/upgrade/latest/schedule index d2f4dd7343..f68c377435 100644 --- a/test/JDBC/upgrade/latest/schedule +++ b/test/JDBC/upgrade/latest/schedule @@ -548,4 +548,4 @@ reverse sys_sequences sys_partition_functions sys_partition_schemes -space \ No newline at end of file +space From feaa752f3857b3da3ca05fd37750db269bf73624 Mon Sep 17 00:00:00 2001 From: Tanya Gupta Date: Tue, 30 Jul 2024 04:38:47 +0000 Subject: [PATCH 4/5] rerun tests From 3d0b3244d0578684dc5afb6d57e1b46814a7b557 Mon Sep 17 00:00:00 2001 From: Tanya Gupta Date: Tue, 30 Jul 2024 08:18:00 +0000 Subject: [PATCH 5/5] dding extra line at end in schedule files Signed-off-by: Tanya Gupta --- test/JDBC/upgrade/13_4/schedule | 1 + test/JDBC/upgrade/13_5/schedule | 1 + test/JDBC/upgrade/13_6/schedule | 1 + test/JDBC/upgrade/13_7/schedule | 1 + test/JDBC/upgrade/13_8/schedule | 1 + test/JDBC/upgrade/13_9/schedule | 1 + test/JDBC/upgrade/14_10/schedule | 1 + test/JDBC/upgrade/14_11/schedule | 1 + test/JDBC/upgrade/14_12/schedule | 1 + test/JDBC/upgrade/14_13/schedule | 1 + test/JDBC/upgrade/14_3/schedule | 1 + test/JDBC/upgrade/14_5/schedule | 1 + test/JDBC/upgrade/14_6/schedule | 1 + test/JDBC/upgrade/14_7/schedule | 1 + test/JDBC/upgrade/14_8/schedule | 1 + test/JDBC/upgrade/14_9/schedule | 1 + test/JDBC/upgrade/15_1/schedule | 1 + test/JDBC/upgrade/15_2/schedule | 1 + test/JDBC/upgrade/15_3/schedule | 1 + test/JDBC/upgrade/15_4/schedule | 1 + test/JDBC/upgrade/15_5/schedule | 1 + test/JDBC/upgrade/15_6/schedule | 1 + test/JDBC/upgrade/15_7/schedule | 1 + test/JDBC/upgrade/latest/schedule | 1 + 24 files changed, 24 insertions(+) diff --git a/test/JDBC/upgrade/13_4/schedule b/test/JDBC/upgrade/13_4/schedule index 8ae6de17d9..ef78456c58 100644 --- a/test/JDBC/upgrade/13_4/schedule +++ b/test/JDBC/upgrade/13_4/schedule @@ -247,3 +247,4 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/13_5/schedule b/test/JDBC/upgrade/13_5/schedule index 827740f63c..111aa6a04c 100644 --- a/test/JDBC/upgrade/13_5/schedule +++ b/test/JDBC/upgrade/13_5/schedule @@ -300,3 +300,4 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/13_6/schedule b/test/JDBC/upgrade/13_6/schedule index 9e1a675669..510032c0a7 100644 --- a/test/JDBC/upgrade/13_6/schedule +++ b/test/JDBC/upgrade/13_6/schedule @@ -356,3 +356,4 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/13_7/schedule b/test/JDBC/upgrade/13_7/schedule index d4278b8282..263037a286 100644 --- a/test/JDBC/upgrade/13_7/schedule +++ b/test/JDBC/upgrade/13_7/schedule @@ -349,3 +349,4 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/13_8/schedule b/test/JDBC/upgrade/13_8/schedule index d4278b8282..263037a286 100644 --- a/test/JDBC/upgrade/13_8/schedule +++ b/test/JDBC/upgrade/13_8/schedule @@ -349,3 +349,4 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/13_9/schedule b/test/JDBC/upgrade/13_9/schedule index fc418c4ffd..790208ac14 100644 --- a/test/JDBC/upgrade/13_9/schedule +++ b/test/JDBC/upgrade/13_9/schedule @@ -354,3 +354,4 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/14_10/schedule b/test/JDBC/upgrade/14_10/schedule index 043567e1e1..c1020fb585 100644 --- a/test/JDBC/upgrade/14_10/schedule +++ b/test/JDBC/upgrade/14_10/schedule @@ -453,3 +453,4 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/14_11/schedule b/test/JDBC/upgrade/14_11/schedule index 915031702d..07a1c49d08 100644 --- a/test/JDBC/upgrade/14_11/schedule +++ b/test/JDBC/upgrade/14_11/schedule @@ -452,3 +452,4 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/14_12/schedule b/test/JDBC/upgrade/14_12/schedule index cf6f7758e5..867fac2ee4 100644 --- a/test/JDBC/upgrade/14_12/schedule +++ b/test/JDBC/upgrade/14_12/schedule @@ -454,3 +454,4 @@ babel_726 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/14_13/schedule b/test/JDBC/upgrade/14_13/schedule index 36cfe1b395..6a41cc0cce 100644 --- a/test/JDBC/upgrade/14_13/schedule +++ b/test/JDBC/upgrade/14_13/schedule @@ -454,3 +454,4 @@ babel_726 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/14_3/schedule b/test/JDBC/upgrade/14_3/schedule index 63fd9492a4..c80c4d6583 100644 --- a/test/JDBC/upgrade/14_3/schedule +++ b/test/JDBC/upgrade/14_3/schedule @@ -375,3 +375,4 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/14_5/schedule b/test/JDBC/upgrade/14_5/schedule index b7a0e24fa3..fa667c1ed4 100644 --- a/test/JDBC/upgrade/14_5/schedule +++ b/test/JDBC/upgrade/14_5/schedule @@ -387,3 +387,4 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/14_6/schedule b/test/JDBC/upgrade/14_6/schedule index ebe2b1e601..4931c24533 100644 --- a/test/JDBC/upgrade/14_6/schedule +++ b/test/JDBC/upgrade/14_6/schedule @@ -424,3 +424,4 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/14_7/schedule b/test/JDBC/upgrade/14_7/schedule index 9ea423cbfb..cfeb8a3a8f 100644 --- a/test/JDBC/upgrade/14_7/schedule +++ b/test/JDBC/upgrade/14_7/schedule @@ -444,3 +444,4 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/14_8/schedule b/test/JDBC/upgrade/14_8/schedule index 75321670c2..b0fe3d7b6b 100644 --- a/test/JDBC/upgrade/14_8/schedule +++ b/test/JDBC/upgrade/14_8/schedule @@ -445,3 +445,4 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/14_9/schedule b/test/JDBC/upgrade/14_9/schedule index b699e5df5e..dddc1c2998 100644 --- a/test/JDBC/upgrade/14_9/schedule +++ b/test/JDBC/upgrade/14_9/schedule @@ -449,3 +449,4 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/15_1/schedule b/test/JDBC/upgrade/15_1/schedule index add1baa30a..2c7df9fb55 100644 --- a/test/JDBC/upgrade/15_1/schedule +++ b/test/JDBC/upgrade/15_1/schedule @@ -423,3 +423,4 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/15_2/schedule b/test/JDBC/upgrade/15_2/schedule index 4d3cb3b951..85358fc080 100644 --- a/test/JDBC/upgrade/15_2/schedule +++ b/test/JDBC/upgrade/15_2/schedule @@ -459,3 +459,4 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/15_3/schedule b/test/JDBC/upgrade/15_3/schedule index f855cd6a2c..7b3b971ccf 100644 --- a/test/JDBC/upgrade/15_3/schedule +++ b/test/JDBC/upgrade/15_3/schedule @@ -477,3 +477,4 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/15_4/schedule b/test/JDBC/upgrade/15_4/schedule index 4042481309..e5096833db 100644 --- a/test/JDBC/upgrade/15_4/schedule +++ b/test/JDBC/upgrade/15_4/schedule @@ -490,3 +490,4 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/15_5/schedule b/test/JDBC/upgrade/15_5/schedule index 5f0a8ede42..40dfb515f3 100644 --- a/test/JDBC/upgrade/15_5/schedule +++ b/test/JDBC/upgrade/15_5/schedule @@ -522,3 +522,4 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/15_6/schedule b/test/JDBC/upgrade/15_6/schedule index 0f24383fed..a722dfb36c 100644 --- a/test/JDBC/upgrade/15_6/schedule +++ b/test/JDBC/upgrade/15_6/schedule @@ -538,3 +538,4 @@ babel_4328_datetimeoffset-before-15_7 replicate-before-15_8-or-16_4 reverse-before-15_8-or-16_4 space + diff --git a/test/JDBC/upgrade/15_7/schedule b/test/JDBC/upgrade/15_7/schedule index 10c10f482b..0710539796 100644 --- a/test/JDBC/upgrade/15_7/schedule +++ b/test/JDBC/upgrade/15_7/schedule @@ -546,3 +546,4 @@ babel_4328_datetime2 babel_4328_datetimeoffset BABEL-3820 space + diff --git a/test/JDBC/upgrade/latest/schedule b/test/JDBC/upgrade/latest/schedule index f68c377435..2d0bdab222 100644 --- a/test/JDBC/upgrade/latest/schedule +++ b/test/JDBC/upgrade/latest/schedule @@ -549,3 +549,4 @@ sys_sequences sys_partition_functions sys_partition_schemes space +