1
0
Fork 0

Merging upstream version 26.28.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-06-15 10:36:04 +02:00
parent 893214206a
commit c79efa667c
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
96 changed files with 58442 additions and 56422 deletions

View file

@ -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(