Merging upstream version 26.28.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
893214206a
commit
c79efa667c
96 changed files with 58442 additions and 56422 deletions
|
@ -732,12 +732,20 @@ class TestHive(Validator):
|
|||
},
|
||||
)
|
||||
self.validate_all(
|
||||
"x div y",
|
||||
"x DIV y",
|
||||
read={
|
||||
"databricks": "x DIV y",
|
||||
"duckdb": "x // y",
|
||||
"hive": "x DIV y",
|
||||
"spark2": "x DIV y",
|
||||
"spark": "x DIV y",
|
||||
},
|
||||
write={
|
||||
"duckdb": "x // y",
|
||||
"databricks": "x DIV y",
|
||||
"presto": "CAST(CAST(x AS DOUBLE) / y AS INTEGER)",
|
||||
"hive": "CAST(x / y AS INT)",
|
||||
"spark": "CAST(x / y AS INT)",
|
||||
"spark2": "x DIV y",
|
||||
"spark": "x DIV y",
|
||||
},
|
||||
)
|
||||
self.validate_all(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue