Skip to content

Commit 0197628

Browse files
HyukjinKwondongjoon-hyun
authored andcommitted
[SPARK-28342][SQL][TESTS] Replace REL_12_BETA1 to REL_12_BETA2 in PostgresSQL SQL tests
## What changes were proposed in this pull request? This PR proposes to replace `REL_12_BETA1` to `REL_12_BETA2` which is latest. ## How was this patch tested? Manually checked each link and checked via `git grep -r REL_12_BETA1` as well. Closes apache#25105 from HyukjinKwon/SPARK-28342. Authored-by: HyukjinKwon <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 3f375c8 commit 0197628

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

sql/core/src/test/resources/sql-tests/inputs/pgSQL/aggregates_part1.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--
44
--
55
-- AGGREGATES [Part 1]
6-
-- https://github.com/postgres/postgres/blob/REL_12_BETA1/src/test/regress/sql/aggregates.sql#L1-L143
6+
-- https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/sql/aggregates.sql#L1-L143
77

88
-- avoid bit-exact output here because operations may not be bit-exact.
99
-- SET extra_float_digits = 0;

sql/core/src/test/resources/sql-tests/inputs/pgSQL/aggregates_part2.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--
44
--
55
-- AGGREGATES [Part 2]
6-
-- https://github.com/postgres/postgres/blob/REL_12_BETA1/src/test/regress/sql/aggregates.sql#L145-L350
6+
-- https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/sql/aggregates.sql#L145-L350
77

88
create temporary view int4_tbl as select * from values
99
(0),

sql/core/src/test/resources/sql-tests/inputs/pgSQL/boolean.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--
44
--
55
-- BOOLEAN
6-
-- https://github.com/postgres/postgres/blob/REL_12_BETA1/src/test/regress/sql/boolean.sql
6+
-- https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/sql/boolean.sql
77

88
--
99
-- sanity check - if this fails go insane!

sql/core/src/test/resources/sql-tests/inputs/pgSQL/case.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--
44
--
55
-- CASE
6-
-- https://github.com/postgres/postgres/blob/REL_12_BETA1/src/test/regress/sql/case.sql
6+
-- https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/sql/case.sql
77
-- Test the CASE statement
88
--
99
-- This test suite contains two Cartesian products without using explicit CROSS JOIN syntax.

sql/core/src/test/resources/sql-tests/inputs/pgSQL/float4.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--
44
--
55
-- FLOAT4
6-
-- https://github.com/postgres/postgres/blob/REL_12_BETA1/src/test/regress/sql/float4.sql
6+
-- https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/sql/float4.sql
77

88
CREATE TABLE FLOAT4_TBL (f1 float) USING parquet;
99

sql/core/src/test/resources/sql-tests/inputs/pgSQL/int4.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--
44
--
55
-- INT4
6-
-- https://github.com/postgres/postgres/blob/REL_12_BETA1/src/test/regress/sql/int4.sql
6+
-- https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/sql/int4.sql
77
--
88

99
CREATE TABLE INT4_TBL(f1 int) USING parquet;

sql/core/src/test/resources/sql-tests/inputs/udf/pgSQL/udf-aggregates_part1.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--
44
--
55
-- AGGREGATES [Part 1]
6-
-- https://github.com/postgres/postgres/blob/REL_12_BETA1/src/test/regress/sql/aggregates.sql#L1-L143
6+
-- https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/sql/aggregates.sql#L1-L143
77

88
-- avoid bit-exact output here because operations may not be bit-exact.
99
-- SET extra_float_digits = 0;

sql/core/src/test/resources/sql-tests/inputs/udf/pgSQL/udf-aggregates_part2.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--
44
--
55
-- AGGREGATES [Part 2]
6-
-- https://github.com/postgres/postgres/blob/REL_12_BETA1/src/test/regress/sql/aggregates.sql#L145-L350
6+
-- https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/sql/aggregates.sql#L145-L350
77
--
88
-- This test file was converted from pgSQL/aggregates_part2.sql.
99
-- Note that currently registered UDF returns a string. So there are some differences, for instance

sql/core/src/test/resources/sql-tests/inputs/udf/pgSQL/udf-case.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--
44
--
55
-- CASE
6-
-- https://github.com/postgres/postgres/blob/REL_12_BETA1/src/test/regress/sql/case.sql
6+
-- https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/sql/case.sql
77
-- Test the CASE statement
88
--
99
-- This test suite contains two Cartesian products without using explicit CROSS JOIN syntax.

0 commit comments

Comments
 (0)