diff --git a/framework/resources/Functional/union/1300ColsUnionAll_MD-3249.e b/framework/resources/Functional/union/1300ColsUnionAll_MD-3249.e_tsv similarity index 100% rename from framework/resources/Functional/union/1300ColsUnionAll_MD-3249.e rename to framework/resources/Functional/union/1300ColsUnionAll_MD-3249.e_tsv diff --git a/framework/resources/Functional/union/1300ColsUnionAll_MD-3249.q b/framework/resources/Functional/union/1300ColsUnionAll_MD-3249.sql similarity index 100% rename from framework/resources/Functional/union/1300ColsUnionAll_MD-3249.q rename to framework/resources/Functional/union/1300ColsUnionAll_MD-3249.sql diff --git a/framework/resources/Functional/union/1300ColsUnion_MD-3249.e b/framework/resources/Functional/union/1300ColsUnion_MD-3249.e_tsv similarity index 100% rename from framework/resources/Functional/union/1300ColsUnion_MD-3249.e rename to framework/resources/Functional/union/1300ColsUnion_MD-3249.e_tsv diff --git a/framework/resources/Functional/union/1300ColsUnion_MD-3249.q b/framework/resources/Functional/union/1300ColsUnion_MD-3249.sql similarity index 100% rename from framework/resources/Functional/union/1300ColsUnion_MD-3249.q rename to framework/resources/Functional/union/1300ColsUnion_MD-3249.sql diff --git a/framework/resources/Functional/union/CastToDifferentDecimals.e_tsv b/framework/resources/Functional/union/CastToDifferentDecimals.e_tsv new file mode 100644 index 000000000..778766a43 --- /dev/null +++ b/framework/resources/Functional/union/CastToDifferentDecimals.e_tsv @@ -0,0 +1,2 @@ +1000.000 +596.000 \ No newline at end of file diff --git a/framework/resources/Functional/union/CastToDifferentDecimals.sql b/framework/resources/Functional/union/CastToDifferentDecimals.sql new file mode 100644 index 000000000..4e1f4c2a6 --- /dev/null +++ b/framework/resources/Functional/union/CastToDifferentDecimals.sql @@ -0,0 +1,3 @@ +SELECT cast(1000 as decimal(10,1)) +UNION +SELECT 596.000; \ No newline at end of file diff --git a/framework/resources/Functional/union/CastToOneDecimals.e_tsv b/framework/resources/Functional/union/CastToOneDecimals.e_tsv new file mode 100644 index 000000000..b85b7716b --- /dev/null +++ b/framework/resources/Functional/union/CastToOneDecimals.e_tsv @@ -0,0 +1,2 @@ +1000.0 +596.0 \ No newline at end of file diff --git a/framework/resources/Functional/union/CastToOneDecimals.sql b/framework/resources/Functional/union/CastToOneDecimals.sql new file mode 100644 index 000000000..104122b1b --- /dev/null +++ b/framework/resources/Functional/union/CastToOneDecimals.sql @@ -0,0 +1,3 @@ +SELECT cast(1000 as decimal(10,1)) +UNION +SELECT cast(596.000 as decimal(10,1)); \ No newline at end of file diff --git a/framework/resources/Functional/union/CastToSameDecimals.e_tsv b/framework/resources/Functional/union/CastToSameDecimals.e_tsv new file mode 100644 index 000000000..778766a43 --- /dev/null +++ b/framework/resources/Functional/union/CastToSameDecimals.e_tsv @@ -0,0 +1,2 @@ +1000.000 +596.000 \ No newline at end of file diff --git a/framework/resources/Functional/union/CastToSameDecimals.sql b/framework/resources/Functional/union/CastToSameDecimals.sql new file mode 100644 index 000000000..c5368805c --- /dev/null +++ b/framework/resources/Functional/union/CastToSameDecimals.sql @@ -0,0 +1,3 @@ +SELECT cast(1000 as decimal(10,3)) +UNION +SELECT 596.000; \ No newline at end of file diff --git a/framework/resources/Functional/union/CastToThreeDecimals.e_tsv b/framework/resources/Functional/union/CastToThreeDecimals.e_tsv new file mode 100644 index 000000000..778766a43 --- /dev/null +++ b/framework/resources/Functional/union/CastToThreeDecimals.e_tsv @@ -0,0 +1,2 @@ +1000.000 +596.000 \ No newline at end of file diff --git a/framework/resources/Functional/union/CastToThreeDecimals.sql b/framework/resources/Functional/union/CastToThreeDecimals.sql new file mode 100644 index 000000000..cb9a0e661 --- /dev/null +++ b/framework/resources/Functional/union/CastToThreeDecimals.sql @@ -0,0 +1,3 @@ +SELECT cast(1000 as decimal(10,3)) +UNION +SELECT cast(596.000 as decimal(10,3)) \ No newline at end of file diff --git a/framework/resources/Functional/union/IntegerAndVarchar.e_tsv b/framework/resources/Functional/union/IntegerAndVarchar.e_tsv new file mode 100644 index 000000000..5cdfad471 --- /dev/null +++ b/framework/resources/Functional/union/IntegerAndVarchar.e_tsv @@ -0,0 +1,2 @@ +Awesome text +10.101 diff --git a/framework/resources/Functional/union/IntegerAndVarchar.sql b/framework/resources/Functional/union/IntegerAndVarchar.sql new file mode 100644 index 000000000..1267c826a --- /dev/null +++ b/framework/resources/Functional/union/IntegerAndVarchar.sql @@ -0,0 +1,5 @@ +SELECT 'Awesome text' +UNION +SELECT 10.101 +UNION +SELECT 10.101; diff --git a/framework/resources/Functional/union/TheeDifferentDecimalsNoCast.e_tsv b/framework/resources/Functional/union/TheeDifferentDecimalsNoCast.e_tsv new file mode 100644 index 000000000..a1b660793 --- /dev/null +++ b/framework/resources/Functional/union/TheeDifferentDecimalsNoCast.e_tsv @@ -0,0 +1,3 @@ +10.100 +20.120 +30.123 \ No newline at end of file diff --git a/framework/resources/Functional/union/TheeDifferentDecimalsNoCast.sql b/framework/resources/Functional/union/TheeDifferentDecimalsNoCast.sql new file mode 100644 index 000000000..e565746c8 --- /dev/null +++ b/framework/resources/Functional/union/TheeDifferentDecimalsNoCast.sql @@ -0,0 +1,5 @@ +SELECT 10.1 +UNION +SELECT 20.12 +UNION +SELECT 30.123; \ No newline at end of file diff --git a/framework/resources/Functional/union/ThreeCastsToDecimals.e_tsv b/framework/resources/Functional/union/ThreeCastsToDecimals.e_tsv new file mode 100644 index 000000000..23294caf0 --- /dev/null +++ b/framework/resources/Functional/union/ThreeCastsToDecimals.e_tsv @@ -0,0 +1 @@ +100.000 \ No newline at end of file diff --git a/framework/resources/Functional/union/ThreeCastsToDecimals.sql b/framework/resources/Functional/union/ThreeCastsToDecimals.sql new file mode 100644 index 000000000..d9f83c101 --- /dev/null +++ b/framework/resources/Functional/union/ThreeCastsToDecimals.sql @@ -0,0 +1,5 @@ +SELECT cast(100 as decimal(10,3)) +UNION +SELECT cast(100 as decimal(10,2)) +UNION +SELECT cast(100 as decimal(10,1)); \ No newline at end of file diff --git a/framework/resources/Functional/union/VarcharAndDate.e_tsv b/framework/resources/Functional/union/VarcharAndDate.e_tsv new file mode 100644 index 000000000..45e38c883 --- /dev/null +++ b/framework/resources/Functional/union/VarcharAndDate.e_tsv @@ -0,0 +1,2 @@ +2017-04-06 +Awesome text \ No newline at end of file diff --git a/framework/resources/Functional/union/VarcharAndDate.sql b/framework/resources/Functional/union/VarcharAndDate.sql new file mode 100644 index 000000000..96eb2a1d4 --- /dev/null +++ b/framework/resources/Functional/union/VarcharAndDate.sql @@ -0,0 +1,3 @@ +SELECT 'Awesome text' +UNION +SELECT date '2017-04-06'; \ No newline at end of file diff --git a/framework/resources/Functional/union/VarcharAndDecimal.e_tsv b/framework/resources/Functional/union/VarcharAndDecimal.e_tsv new file mode 100644 index 000000000..b5c313166 --- /dev/null +++ b/framework/resources/Functional/union/VarcharAndDecimal.e_tsv @@ -0,0 +1,2 @@ +10.101 +Awesome text \ No newline at end of file diff --git a/framework/resources/Functional/union/VarcharAndDecimal.sql b/framework/resources/Functional/union/VarcharAndDecimal.sql new file mode 100644 index 000000000..c04fffa72 --- /dev/null +++ b/framework/resources/Functional/union/VarcharAndDecimal.sql @@ -0,0 +1,3 @@ +SELECT 'Awesome text' +UNION +SELECT 10.101; \ No newline at end of file diff --git a/framework/resources/Functional/union/VarcharSubstringAndDate.e_tsv b/framework/resources/Functional/union/VarcharSubstringAndDate.e_tsv new file mode 100644 index 000000000..0a90eb3bf --- /dev/null +++ b/framework/resources/Functional/union/VarcharSubstringAndDate.e_tsv @@ -0,0 +1,2 @@ +2017-04-06 +ABC \ No newline at end of file diff --git a/framework/resources/Functional/union/VarcharSubstringAndDate.sql b/framework/resources/Functional/union/VarcharSubstringAndDate.sql new file mode 100644 index 000000000..c0592368c --- /dev/null +++ b/framework/resources/Functional/union/VarcharSubstringAndDate.sql @@ -0,0 +1,3 @@ +SELECT SUBSTRING('ABC some text', 1, 3) AS ExtractString +UNION +SELECT date '2017-04-06'; \ No newline at end of file diff --git a/framework/resources/Functional/union/queries.json b/framework/resources/Functional/union/queries.json index 336a7e127..b041d915e 100644 --- a/framework/resources/Functional/union/queries.json +++ b/framework/resources/Functional/union/queries.json @@ -8,10 +8,10 @@ ], "matrices": [ { - "query-file": ".*.q", + "query-file": ".*.sql", "schema": "dfs.union", "output-format": "tsv", - "expected-file": ".*.e", + "expected-file": ".*.e_tsv", "verification-type": [ "in-memory" ] diff --git a/framework/resources/Functional/union/union_1.e b/framework/resources/Functional/union/union_1.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_1.e rename to framework/resources/Functional/union/union_1.e_tsv diff --git a/framework/resources/Functional/union/union_1.q b/framework/resources/Functional/union/union_1.sql similarity index 100% rename from framework/resources/Functional/union/union_1.q rename to framework/resources/Functional/union/union_1.sql diff --git a/framework/resources/Functional/union/union_10.e b/framework/resources/Functional/union/union_10.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_10.e rename to framework/resources/Functional/union/union_10.e_tsv diff --git a/framework/resources/Functional/union/union_10.q b/framework/resources/Functional/union/union_10.sql similarity index 100% rename from framework/resources/Functional/union/union_10.q rename to framework/resources/Functional/union/union_10.sql diff --git a/framework/resources/Functional/union/union_11.e b/framework/resources/Functional/union/union_11.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_11.e rename to framework/resources/Functional/union/union_11.e_tsv diff --git a/framework/resources/Functional/union/union_11.q b/framework/resources/Functional/union/union_11.sql similarity index 100% rename from framework/resources/Functional/union/union_11.q rename to framework/resources/Functional/union/union_11.sql diff --git a/framework/resources/Functional/union/union_12.e b/framework/resources/Functional/union/union_12.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_12.e rename to framework/resources/Functional/union/union_12.e_tsv diff --git a/framework/resources/Functional/union/union_12.q b/framework/resources/Functional/union/union_12.sql similarity index 100% rename from framework/resources/Functional/union/union_12.q rename to framework/resources/Functional/union/union_12.sql diff --git a/framework/resources/Functional/union/union_13.e b/framework/resources/Functional/union/union_13.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_13.e rename to framework/resources/Functional/union/union_13.e_tsv diff --git a/framework/resources/Functional/union/union_13.q b/framework/resources/Functional/union/union_13.sql similarity index 100% rename from framework/resources/Functional/union/union_13.q rename to framework/resources/Functional/union/union_13.sql diff --git a/framework/resources/Functional/union/union_14.e b/framework/resources/Functional/union/union_14.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_14.e rename to framework/resources/Functional/union/union_14.e_tsv diff --git a/framework/resources/Functional/union/union_14.q b/framework/resources/Functional/union/union_14.sql similarity index 100% rename from framework/resources/Functional/union/union_14.q rename to framework/resources/Functional/union/union_14.sql diff --git a/framework/resources/Functional/union/union_15.e b/framework/resources/Functional/union/union_15.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_15.e rename to framework/resources/Functional/union/union_15.e_tsv diff --git a/framework/resources/Functional/union/union_15.q b/framework/resources/Functional/union/union_15.sql similarity index 100% rename from framework/resources/Functional/union/union_15.q rename to framework/resources/Functional/union/union_15.sql diff --git a/framework/resources/Functional/union/union_16.e b/framework/resources/Functional/union/union_16.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_16.e rename to framework/resources/Functional/union/union_16.e_tsv diff --git a/framework/resources/Functional/union/union_16.q b/framework/resources/Functional/union/union_16.sql similarity index 100% rename from framework/resources/Functional/union/union_16.q rename to framework/resources/Functional/union/union_16.sql diff --git a/framework/resources/Functional/union/union_17.e b/framework/resources/Functional/union/union_17.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_17.e rename to framework/resources/Functional/union/union_17.e_tsv diff --git a/framework/resources/Functional/union/union_17.q b/framework/resources/Functional/union/union_17.sql similarity index 100% rename from framework/resources/Functional/union/union_17.q rename to framework/resources/Functional/union/union_17.sql diff --git a/framework/resources/Functional/union/union_18.e b/framework/resources/Functional/union/union_18.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_18.e rename to framework/resources/Functional/union/union_18.e_tsv diff --git a/framework/resources/Functional/union/union_18.q b/framework/resources/Functional/union/union_18.sql similarity index 100% rename from framework/resources/Functional/union/union_18.q rename to framework/resources/Functional/union/union_18.sql diff --git a/framework/resources/Functional/union/union_19.e b/framework/resources/Functional/union/union_19.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_19.e rename to framework/resources/Functional/union/union_19.e_tsv diff --git a/framework/resources/Functional/union/union_19.q b/framework/resources/Functional/union/union_19.sql similarity index 100% rename from framework/resources/Functional/union/union_19.q rename to framework/resources/Functional/union/union_19.sql diff --git a/framework/resources/Functional/union/union_2.e b/framework/resources/Functional/union/union_2.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_2.e rename to framework/resources/Functional/union/union_2.e_tsv diff --git a/framework/resources/Functional/union/union_2.q b/framework/resources/Functional/union/union_2.sql similarity index 100% rename from framework/resources/Functional/union/union_2.q rename to framework/resources/Functional/union/union_2.sql diff --git a/framework/resources/Functional/union/union_20.e b/framework/resources/Functional/union/union_20.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_20.e rename to framework/resources/Functional/union/union_20.e_tsv diff --git a/framework/resources/Functional/union/union_20.q b/framework/resources/Functional/union/union_20.sql similarity index 100% rename from framework/resources/Functional/union/union_20.q rename to framework/resources/Functional/union/union_20.sql diff --git a/framework/resources/Functional/union/union_21.e b/framework/resources/Functional/union/union_21.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_21.e rename to framework/resources/Functional/union/union_21.e_tsv diff --git a/framework/resources/Functional/union/union_21.q b/framework/resources/Functional/union/union_21.sql similarity index 100% rename from framework/resources/Functional/union/union_21.q rename to framework/resources/Functional/union/union_21.sql diff --git a/framework/resources/Functional/union/union_22.e b/framework/resources/Functional/union/union_22.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_22.e rename to framework/resources/Functional/union/union_22.e_tsv diff --git a/framework/resources/Functional/union/union_22.q b/framework/resources/Functional/union/union_22.sql similarity index 100% rename from framework/resources/Functional/union/union_22.q rename to framework/resources/Functional/union/union_22.sql diff --git a/framework/resources/Functional/union/union_23.e b/framework/resources/Functional/union/union_23.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_23.e rename to framework/resources/Functional/union/union_23.e_tsv diff --git a/framework/resources/Functional/union/union_23.q b/framework/resources/Functional/union/union_23.sql similarity index 100% rename from framework/resources/Functional/union/union_23.q rename to framework/resources/Functional/union/union_23.sql diff --git a/framework/resources/Functional/union/union_24.e b/framework/resources/Functional/union/union_24.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_24.e rename to framework/resources/Functional/union/union_24.e_tsv diff --git a/framework/resources/Functional/union/union_24.q b/framework/resources/Functional/union/union_24.sql similarity index 100% rename from framework/resources/Functional/union/union_24.q rename to framework/resources/Functional/union/union_24.sql diff --git a/framework/resources/Functional/union/union_25.e b/framework/resources/Functional/union/union_25.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_25.e rename to framework/resources/Functional/union/union_25.e_tsv diff --git a/framework/resources/Functional/union/union_25.q b/framework/resources/Functional/union/union_25.sql similarity index 100% rename from framework/resources/Functional/union/union_25.q rename to framework/resources/Functional/union/union_25.sql diff --git a/framework/resources/Functional/union/union_26.e b/framework/resources/Functional/union/union_26.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_26.e rename to framework/resources/Functional/union/union_26.e_tsv diff --git a/framework/resources/Functional/union/union_26.q b/framework/resources/Functional/union/union_26.sql similarity index 100% rename from framework/resources/Functional/union/union_26.q rename to framework/resources/Functional/union/union_26.sql diff --git a/framework/resources/Functional/union/union_27.e b/framework/resources/Functional/union/union_27.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_27.e rename to framework/resources/Functional/union/union_27.e_tsv diff --git a/framework/resources/Functional/union/union_27.q b/framework/resources/Functional/union/union_27.sql similarity index 100% rename from framework/resources/Functional/union/union_27.q rename to framework/resources/Functional/union/union_27.sql diff --git a/framework/resources/Functional/union/union_28.e b/framework/resources/Functional/union/union_28.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_28.e rename to framework/resources/Functional/union/union_28.e_tsv diff --git a/framework/resources/Functional/union/union_28.q b/framework/resources/Functional/union/union_28.sql similarity index 100% rename from framework/resources/Functional/union/union_28.q rename to framework/resources/Functional/union/union_28.sql diff --git a/framework/resources/Functional/union/union_29.e b/framework/resources/Functional/union/union_29.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_29.e rename to framework/resources/Functional/union/union_29.e_tsv diff --git a/framework/resources/Functional/union/union_29.q b/framework/resources/Functional/union/union_29.sql similarity index 100% rename from framework/resources/Functional/union/union_29.q rename to framework/resources/Functional/union/union_29.sql diff --git a/framework/resources/Functional/union/union_3.e b/framework/resources/Functional/union/union_3.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_3.e rename to framework/resources/Functional/union/union_3.e_tsv diff --git a/framework/resources/Functional/union/union_3.q b/framework/resources/Functional/union/union_3.sql similarity index 100% rename from framework/resources/Functional/union/union_3.q rename to framework/resources/Functional/union/union_3.sql diff --git a/framework/resources/Functional/union/union_30.e b/framework/resources/Functional/union/union_30.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_30.e rename to framework/resources/Functional/union/union_30.e_tsv diff --git a/framework/resources/Functional/union/union_30.q b/framework/resources/Functional/union/union_30.sql similarity index 100% rename from framework/resources/Functional/union/union_30.q rename to framework/resources/Functional/union/union_30.sql diff --git a/framework/resources/Functional/union/union_31.e b/framework/resources/Functional/union/union_31.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_31.e rename to framework/resources/Functional/union/union_31.e_tsv diff --git a/framework/resources/Functional/union/union_31.q b/framework/resources/Functional/union/union_31.sql similarity index 100% rename from framework/resources/Functional/union/union_31.q rename to framework/resources/Functional/union/union_31.sql diff --git a/framework/resources/Functional/union/union_32.e b/framework/resources/Functional/union/union_32.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_32.e rename to framework/resources/Functional/union/union_32.e_tsv diff --git a/framework/resources/Functional/union/union_32.q b/framework/resources/Functional/union/union_32.sql similarity index 100% rename from framework/resources/Functional/union/union_32.q rename to framework/resources/Functional/union/union_32.sql diff --git a/framework/resources/Functional/union/union_33.e b/framework/resources/Functional/union/union_33.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_33.e rename to framework/resources/Functional/union/union_33.e_tsv diff --git a/framework/resources/Functional/union/union_33.q b/framework/resources/Functional/union/union_33.sql similarity index 100% rename from framework/resources/Functional/union/union_33.q rename to framework/resources/Functional/union/union_33.sql diff --git a/framework/resources/Functional/union/union_34.e b/framework/resources/Functional/union/union_34.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_34.e rename to framework/resources/Functional/union/union_34.e_tsv diff --git a/framework/resources/Functional/union/union_34.q b/framework/resources/Functional/union/union_34.sql similarity index 100% rename from framework/resources/Functional/union/union_34.q rename to framework/resources/Functional/union/union_34.sql diff --git a/framework/resources/Functional/union/union_35.e b/framework/resources/Functional/union/union_35.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_35.e rename to framework/resources/Functional/union/union_35.e_tsv diff --git a/framework/resources/Functional/union/union_35.q b/framework/resources/Functional/union/union_35.sql similarity index 100% rename from framework/resources/Functional/union/union_35.q rename to framework/resources/Functional/union/union_35.sql diff --git a/framework/resources/Functional/union/union_36.e b/framework/resources/Functional/union/union_36.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_36.e rename to framework/resources/Functional/union/union_36.e_tsv diff --git a/framework/resources/Functional/union/union_36.q b/framework/resources/Functional/union/union_36.sql similarity index 100% rename from framework/resources/Functional/union/union_36.q rename to framework/resources/Functional/union/union_36.sql diff --git a/framework/resources/Functional/union/union_37.e b/framework/resources/Functional/union/union_37.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_37.e rename to framework/resources/Functional/union/union_37.e_tsv diff --git a/framework/resources/Functional/union/union_37.q b/framework/resources/Functional/union/union_37.sql similarity index 100% rename from framework/resources/Functional/union/union_37.q rename to framework/resources/Functional/union/union_37.sql diff --git a/framework/resources/Functional/union/union_38.e b/framework/resources/Functional/union/union_38.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_38.e rename to framework/resources/Functional/union/union_38.e_tsv diff --git a/framework/resources/Functional/union/union_38.q b/framework/resources/Functional/union/union_38.sql similarity index 100% rename from framework/resources/Functional/union/union_38.q rename to framework/resources/Functional/union/union_38.sql diff --git a/framework/resources/Functional/union/union_39.e b/framework/resources/Functional/union/union_39.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_39.e rename to framework/resources/Functional/union/union_39.e_tsv diff --git a/framework/resources/Functional/union/union_39.q b/framework/resources/Functional/union/union_39.sql similarity index 100% rename from framework/resources/Functional/union/union_39.q rename to framework/resources/Functional/union/union_39.sql diff --git a/framework/resources/Functional/union/union_4.e b/framework/resources/Functional/union/union_4.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_4.e rename to framework/resources/Functional/union/union_4.e_tsv diff --git a/framework/resources/Functional/union/union_4.q b/framework/resources/Functional/union/union_4.sql similarity index 100% rename from framework/resources/Functional/union/union_4.q rename to framework/resources/Functional/union/union_4.sql diff --git a/framework/resources/Functional/union/union_40.e b/framework/resources/Functional/union/union_40.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_40.e rename to framework/resources/Functional/union/union_40.e_tsv diff --git a/framework/resources/Functional/union/union_40.q b/framework/resources/Functional/union/union_40.sql similarity index 100% rename from framework/resources/Functional/union/union_40.q rename to framework/resources/Functional/union/union_40.sql diff --git a/framework/resources/Functional/union/union_41.e b/framework/resources/Functional/union/union_41.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_41.e rename to framework/resources/Functional/union/union_41.e_tsv diff --git a/framework/resources/Functional/union/union_41.q b/framework/resources/Functional/union/union_41.sql similarity index 100% rename from framework/resources/Functional/union/union_41.q rename to framework/resources/Functional/union/union_41.sql diff --git a/framework/resources/Functional/union/union_42.e b/framework/resources/Functional/union/union_42.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_42.e rename to framework/resources/Functional/union/union_42.e_tsv diff --git a/framework/resources/Functional/union/union_42.q b/framework/resources/Functional/union/union_42.sql similarity index 100% rename from framework/resources/Functional/union/union_42.q rename to framework/resources/Functional/union/union_42.sql diff --git a/framework/resources/Functional/union/union_43.e b/framework/resources/Functional/union/union_43.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_43.e rename to framework/resources/Functional/union/union_43.e_tsv diff --git a/framework/resources/Functional/union/union_43.q b/framework/resources/Functional/union/union_43.sql similarity index 100% rename from framework/resources/Functional/union/union_43.q rename to framework/resources/Functional/union/union_43.sql diff --git a/framework/resources/Functional/union/union_44.e b/framework/resources/Functional/union/union_44.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_44.e rename to framework/resources/Functional/union/union_44.e_tsv diff --git a/framework/resources/Functional/union/union_44.q b/framework/resources/Functional/union/union_44.sql similarity index 100% rename from framework/resources/Functional/union/union_44.q rename to framework/resources/Functional/union/union_44.sql diff --git a/framework/resources/Functional/union/union_45.e b/framework/resources/Functional/union/union_45.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_45.e rename to framework/resources/Functional/union/union_45.e_tsv diff --git a/framework/resources/Functional/union/union_45.q b/framework/resources/Functional/union/union_45.sql similarity index 100% rename from framework/resources/Functional/union/union_45.q rename to framework/resources/Functional/union/union_45.sql diff --git a/framework/resources/Functional/union/union_46.e b/framework/resources/Functional/union/union_46.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_46.e rename to framework/resources/Functional/union/union_46.e_tsv diff --git a/framework/resources/Functional/union/union_46.q b/framework/resources/Functional/union/union_46.sql similarity index 100% rename from framework/resources/Functional/union/union_46.q rename to framework/resources/Functional/union/union_46.sql diff --git a/framework/resources/Functional/union/union_47.e b/framework/resources/Functional/union/union_47.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_47.e rename to framework/resources/Functional/union/union_47.e_tsv diff --git a/framework/resources/Functional/union/union_47.q b/framework/resources/Functional/union/union_47.sql similarity index 100% rename from framework/resources/Functional/union/union_47.q rename to framework/resources/Functional/union/union_47.sql diff --git a/framework/resources/Functional/union/union_49.e b/framework/resources/Functional/union/union_49.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_49.e rename to framework/resources/Functional/union/union_49.e_tsv diff --git a/framework/resources/Functional/union/union_49.q b/framework/resources/Functional/union/union_49.sql similarity index 100% rename from framework/resources/Functional/union/union_49.q rename to framework/resources/Functional/union/union_49.sql diff --git a/framework/resources/Functional/union/union_5.e b/framework/resources/Functional/union/union_5.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_5.e rename to framework/resources/Functional/union/union_5.e_tsv diff --git a/framework/resources/Functional/union/union_5.q b/framework/resources/Functional/union/union_5.sql similarity index 100% rename from framework/resources/Functional/union/union_5.q rename to framework/resources/Functional/union/union_5.sql diff --git a/framework/resources/Functional/union/union_50.e b/framework/resources/Functional/union/union_50.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_50.e rename to framework/resources/Functional/union/union_50.e_tsv diff --git a/framework/resources/Functional/union/union_50.q b/framework/resources/Functional/union/union_50.sql similarity index 100% rename from framework/resources/Functional/union/union_50.q rename to framework/resources/Functional/union/union_50.sql diff --git a/framework/resources/Functional/union/union_51.e b/framework/resources/Functional/union/union_51.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_51.e rename to framework/resources/Functional/union/union_51.e_tsv diff --git a/framework/resources/Functional/union/union_51.q b/framework/resources/Functional/union/union_51.sql similarity index 100% rename from framework/resources/Functional/union/union_51.q rename to framework/resources/Functional/union/union_51.sql diff --git a/framework/resources/Functional/union/union_6.e b/framework/resources/Functional/union/union_6.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_6.e rename to framework/resources/Functional/union/union_6.e_tsv diff --git a/framework/resources/Functional/union/union_6.q b/framework/resources/Functional/union/union_6.sql similarity index 100% rename from framework/resources/Functional/union/union_6.q rename to framework/resources/Functional/union/union_6.sql diff --git a/framework/resources/Functional/union/union_7.e b/framework/resources/Functional/union/union_7.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_7.e rename to framework/resources/Functional/union/union_7.e_tsv diff --git a/framework/resources/Functional/union/union_7.q b/framework/resources/Functional/union/union_7.sql similarity index 100% rename from framework/resources/Functional/union/union_7.q rename to framework/resources/Functional/union/union_7.sql diff --git a/framework/resources/Functional/union/union_8.e b/framework/resources/Functional/union/union_8.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_8.e rename to framework/resources/Functional/union/union_8.e_tsv diff --git a/framework/resources/Functional/union/union_8.q b/framework/resources/Functional/union/union_8.sql similarity index 100% rename from framework/resources/Functional/union/union_8.q rename to framework/resources/Functional/union/union_8.sql diff --git a/framework/resources/Functional/union/union_9.e b/framework/resources/Functional/union/union_9.e_tsv similarity index 100% rename from framework/resources/Functional/union/union_9.e rename to framework/resources/Functional/union/union_9.e_tsv diff --git a/framework/resources/Functional/union/union_9.q b/framework/resources/Functional/union/union_9.sql similarity index 100% rename from framework/resources/Functional/union/union_9.q rename to framework/resources/Functional/union/union_9.sql diff --git a/framework/resources/Functional/union_all/prq_union_all/CastToDifferentDecimals.e_tsv b/framework/resources/Functional/union_all/prq_union_all/CastToDifferentDecimals.e_tsv new file mode 100644 index 000000000..778766a43 --- /dev/null +++ b/framework/resources/Functional/union_all/prq_union_all/CastToDifferentDecimals.e_tsv @@ -0,0 +1,2 @@ +1000.000 +596.000 \ No newline at end of file diff --git a/framework/resources/Functional/union_all/prq_union_all/CastToDifferentDecimals.sql b/framework/resources/Functional/union_all/prq_union_all/CastToDifferentDecimals.sql new file mode 100644 index 000000000..4b1e8d464 --- /dev/null +++ b/framework/resources/Functional/union_all/prq_union_all/CastToDifferentDecimals.sql @@ -0,0 +1,3 @@ +SELECT cast(1000 as decimal(10,1)) +UNION ALL +SELECT 596.000; \ No newline at end of file diff --git a/framework/resources/Functional/union_all/prq_union_all/CastToOneDecimals.e_tsv b/framework/resources/Functional/union_all/prq_union_all/CastToOneDecimals.e_tsv new file mode 100644 index 000000000..b85b7716b --- /dev/null +++ b/framework/resources/Functional/union_all/prq_union_all/CastToOneDecimals.e_tsv @@ -0,0 +1,2 @@ +1000.0 +596.0 \ No newline at end of file diff --git a/framework/resources/Functional/union_all/prq_union_all/CastToOneDecimals.sql b/framework/resources/Functional/union_all/prq_union_all/CastToOneDecimals.sql new file mode 100644 index 000000000..e0861a0e1 --- /dev/null +++ b/framework/resources/Functional/union_all/prq_union_all/CastToOneDecimals.sql @@ -0,0 +1,3 @@ +SELECT cast(1000 as decimal(10,1)) +UNION ALL +SELECT cast(596.000 as decimal(10,1)); \ No newline at end of file diff --git a/framework/resources/Functional/union_all/prq_union_all/CastToSameDecimals.e_tsv b/framework/resources/Functional/union_all/prq_union_all/CastToSameDecimals.e_tsv new file mode 100644 index 000000000..778766a43 --- /dev/null +++ b/framework/resources/Functional/union_all/prq_union_all/CastToSameDecimals.e_tsv @@ -0,0 +1,2 @@ +1000.000 +596.000 \ No newline at end of file diff --git a/framework/resources/Functional/union_all/prq_union_all/CastToSameDecimals.sql b/framework/resources/Functional/union_all/prq_union_all/CastToSameDecimals.sql new file mode 100644 index 000000000..e7f0cbd5d --- /dev/null +++ b/framework/resources/Functional/union_all/prq_union_all/CastToSameDecimals.sql @@ -0,0 +1,3 @@ +SELECT cast(1000 as decimal(10,3)) +UNION ALL +SELECT 596.000; \ No newline at end of file diff --git a/framework/resources/Functional/union_all/prq_union_all/CastToThreeDecimals.e_tsv b/framework/resources/Functional/union_all/prq_union_all/CastToThreeDecimals.e_tsv new file mode 100644 index 000000000..778766a43 --- /dev/null +++ b/framework/resources/Functional/union_all/prq_union_all/CastToThreeDecimals.e_tsv @@ -0,0 +1,2 @@ +1000.000 +596.000 \ No newline at end of file diff --git a/framework/resources/Functional/union_all/prq_union_all/CastToThreeDecimals.sql b/framework/resources/Functional/union_all/prq_union_all/CastToThreeDecimals.sql new file mode 100644 index 000000000..3006dd751 --- /dev/null +++ b/framework/resources/Functional/union_all/prq_union_all/CastToThreeDecimals.sql @@ -0,0 +1,3 @@ +SELECT cast(1000 as decimal(10,3)) +UNION ALL +SELECT cast(596.000 as decimal(10,3)) \ No newline at end of file diff --git a/framework/resources/Functional/union_all/prq_union_all/IntegerAndVarchar.e_tsv b/framework/resources/Functional/union_all/prq_union_all/IntegerAndVarchar.e_tsv new file mode 100644 index 000000000..41353879a --- /dev/null +++ b/framework/resources/Functional/union_all/prq_union_all/IntegerAndVarchar.e_tsv @@ -0,0 +1,3 @@ +Awesome text +10.101 +10.101 \ No newline at end of file diff --git a/framework/resources/Functional/union_all/prq_union_all/IntegerAndVarchar.sql b/framework/resources/Functional/union_all/prq_union_all/IntegerAndVarchar.sql new file mode 100644 index 000000000..af34dc817 --- /dev/null +++ b/framework/resources/Functional/union_all/prq_union_all/IntegerAndVarchar.sql @@ -0,0 +1,5 @@ +SELECT 'Awesome text' +UNION ALL +SELECT 10.101 +UNION ALL +SELECT 10.101; diff --git a/framework/resources/Functional/union_all/prq_union_all/TheeDifferentDecimalsNoCast.e_tsv b/framework/resources/Functional/union_all/prq_union_all/TheeDifferentDecimalsNoCast.e_tsv new file mode 100644 index 000000000..a1b660793 --- /dev/null +++ b/framework/resources/Functional/union_all/prq_union_all/TheeDifferentDecimalsNoCast.e_tsv @@ -0,0 +1,3 @@ +10.100 +20.120 +30.123 \ No newline at end of file diff --git a/framework/resources/Functional/union_all/prq_union_all/TheeDifferentDecimalsNoCast.sql b/framework/resources/Functional/union_all/prq_union_all/TheeDifferentDecimalsNoCast.sql new file mode 100644 index 000000000..f5d5fa289 --- /dev/null +++ b/framework/resources/Functional/union_all/prq_union_all/TheeDifferentDecimalsNoCast.sql @@ -0,0 +1,5 @@ +SELECT 10.1 +UNION ALL +SELECT 20.12 +UNION ALL +SELECT 30.123; \ No newline at end of file diff --git a/framework/resources/Functional/union_all/prq_union_all/ThreeCastsToDecimals.e_tsv b/framework/resources/Functional/union_all/prq_union_all/ThreeCastsToDecimals.e_tsv new file mode 100644 index 000000000..3af933ae9 --- /dev/null +++ b/framework/resources/Functional/union_all/prq_union_all/ThreeCastsToDecimals.e_tsv @@ -0,0 +1,3 @@ +100.000 +100.000 +100.000 \ No newline at end of file diff --git a/framework/resources/Functional/union_all/prq_union_all/ThreeCastsToDecimals.sql b/framework/resources/Functional/union_all/prq_union_all/ThreeCastsToDecimals.sql new file mode 100644 index 000000000..3c7483049 --- /dev/null +++ b/framework/resources/Functional/union_all/prq_union_all/ThreeCastsToDecimals.sql @@ -0,0 +1,5 @@ +SELECT cast(100 as decimal(10,3)) +UNION ALL +SELECT cast(100 as decimal(10,2)) +UNION ALL +SELECT cast(100 as decimal(10,1)); \ No newline at end of file diff --git a/framework/resources/Functional/union_all/prq_union_all/VarcharAndDate.e_tsv b/framework/resources/Functional/union_all/prq_union_all/VarcharAndDate.e_tsv new file mode 100644 index 000000000..45e38c883 --- /dev/null +++ b/framework/resources/Functional/union_all/prq_union_all/VarcharAndDate.e_tsv @@ -0,0 +1,2 @@ +2017-04-06 +Awesome text \ No newline at end of file diff --git a/framework/resources/Functional/union_all/prq_union_all/VarcharAndDate.sql b/framework/resources/Functional/union_all/prq_union_all/VarcharAndDate.sql new file mode 100644 index 000000000..a926734f8 --- /dev/null +++ b/framework/resources/Functional/union_all/prq_union_all/VarcharAndDate.sql @@ -0,0 +1,3 @@ +SELECT 'Awesome text' +UNION ALL +SELECT date '2017-04-06'; \ No newline at end of file diff --git a/framework/resources/Functional/union_all/prq_union_all/VarcharAndDecimal.e_tsv b/framework/resources/Functional/union_all/prq_union_all/VarcharAndDecimal.e_tsv new file mode 100644 index 000000000..b5c313166 --- /dev/null +++ b/framework/resources/Functional/union_all/prq_union_all/VarcharAndDecimal.e_tsv @@ -0,0 +1,2 @@ +10.101 +Awesome text \ No newline at end of file diff --git a/framework/resources/Functional/union_all/prq_union_all/VarcharAndDecimal.sql b/framework/resources/Functional/union_all/prq_union_all/VarcharAndDecimal.sql new file mode 100644 index 000000000..af25af7a9 --- /dev/null +++ b/framework/resources/Functional/union_all/prq_union_all/VarcharAndDecimal.sql @@ -0,0 +1,3 @@ +SELECT 'Awesome text' +UNION ALL +SELECT 10.101; \ No newline at end of file diff --git a/framework/resources/Functional/union_all/prq_union_all/VarcharSubstringAndDate.e_tsv b/framework/resources/Functional/union_all/prq_union_all/VarcharSubstringAndDate.e_tsv new file mode 100644 index 000000000..0a90eb3bf --- /dev/null +++ b/framework/resources/Functional/union_all/prq_union_all/VarcharSubstringAndDate.e_tsv @@ -0,0 +1,2 @@ +2017-04-06 +ABC \ No newline at end of file diff --git a/framework/resources/Functional/union_all/prq_union_all/VarcharSubstringAndDate.sql b/framework/resources/Functional/union_all/prq_union_all/VarcharSubstringAndDate.sql new file mode 100644 index 000000000..1e2eaac99 --- /dev/null +++ b/framework/resources/Functional/union_all/prq_union_all/VarcharSubstringAndDate.sql @@ -0,0 +1,3 @@ +SELECT SUBSTRING('ABC some text', 1, 3) AS ExtractString +UNION ALL +SELECT date '2017-04-06'; \ No newline at end of file