Merging upstream version 10.6.3.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
d03a55eda6
commit
ece6881255
48 changed files with 906 additions and 266 deletions
|
@ -212,6 +212,17 @@ TBLPROPERTIES (
|
|||
self.validate_identity("TRIM(BOTH 'SL' FROM 'SSparkSQLS')")
|
||||
self.validate_identity("TRIM(LEADING 'SL' FROM 'SSparkSQLS')")
|
||||
self.validate_identity("TRIM(TRAILING 'SL' FROM 'SSparkSQLS')")
|
||||
|
||||
self.validate_all(
|
||||
"AGGREGATE(my_arr, 0, (acc, x) -> acc + x, s -> s * 2)",
|
||||
write={
|
||||
"trino": "REDUCE(my_arr, 0, (acc, x) -> acc + x, s -> s * 2)",
|
||||
"duckdb": "REDUCE(my_arr, 0, (acc, x) -> acc + x, s -> s * 2)",
|
||||
"hive": "REDUCE(my_arr, 0, (acc, x) -> acc + x, s -> s * 2)",
|
||||
"presto": "REDUCE(my_arr, 0, (acc, x) -> acc + x, s -> s * 2)",
|
||||
"spark": "AGGREGATE(my_arr, 0, (acc, x) -> acc + x, s -> s * 2)",
|
||||
},
|
||||
)
|
||||
self.validate_all(
|
||||
"TRIM('SL', 'SSparkSQLS')", write={"spark": "TRIM('SL' FROM 'SSparkSQLS')"}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue