Merging upstream version 26.19.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
58527c3d26
commit
a99682f526
98 changed files with 67345 additions and 65319 deletions
|
@ -162,6 +162,12 @@ class TestDatabricks(Validator):
|
|||
},
|
||||
)
|
||||
|
||||
for option in ("", " (foo)", " MATCH FULL", " NOT ENFORCED"):
|
||||
with self.subTest(f"Databricks foreign key REFERENCES option: {option}."):
|
||||
self.validate_identity(
|
||||
f"CREATE TABLE t1 (foo BIGINT NOT NULL CONSTRAINT foo_c FOREIGN KEY REFERENCES t2{option})"
|
||||
)
|
||||
|
||||
# https://docs.databricks.com/sql/language-manual/functions/colonsign.html
|
||||
def test_json(self):
|
||||
self.validate_identity("SELECT c1:price, c1:price.foo, c1:price.bar[1]")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue