Merging upstream version 11.4.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
ecb42ec17f
commit
63746a3e92
89 changed files with 35352 additions and 33081 deletions
|
@ -4,6 +4,12 @@ from tests.dialects.test_dialect import Validator
|
|||
class TestDrill(Validator):
|
||||
dialect = "drill"
|
||||
|
||||
def test_drill(self):
|
||||
self.validate_all(
|
||||
"DATE_FORMAT(a, 'yyyy')",
|
||||
write={"drill": "TO_CHAR(a, 'yyyy')"},
|
||||
)
|
||||
|
||||
def test_string_literals(self):
|
||||
self.validate_all(
|
||||
"SELECT '2021-01-01' + INTERVAL 1 MONTH",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue