Adding upstream version 26.15.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
dfe1cec38a
commit
4bfa0e7e53
58 changed files with 4878 additions and 4677 deletions
|
@ -609,7 +609,7 @@ class TestSnowflake(Validator):
|
|||
"hive": "POWER(x, 2)",
|
||||
"mysql": "POWER(x, 2)",
|
||||
"oracle": "POWER(x, 2)",
|
||||
"postgres": "x ^ 2",
|
||||
"postgres": "POWER(x, 2)",
|
||||
"presto": "POWER(x, 2)",
|
||||
"redshift": "POWER(x, 2)",
|
||||
"snowflake": "POWER(x, 2)",
|
||||
|
@ -2563,3 +2563,12 @@ SINGLE = TRUE""",
|
|||
"duckdb": f"SELECT LISTAGG({distinct}col, '|SEPARATOR|' ORDER BY col2) FROM t",
|
||||
},
|
||||
)
|
||||
|
||||
def test_rely_options(self):
|
||||
for option in ("NORELY", "RELY"):
|
||||
self.validate_identity(
|
||||
f"CREATE TABLE t (col1 INT PRIMARY KEY {option}, col2 INT UNIQUE {option}, col3 INT NOT NULL FOREIGN KEY REFERENCES other_t (id) {option})"
|
||||
)
|
||||
self.validate_identity(
|
||||
f"CREATE TABLE t (col1 INT, col2 INT, col3 INT, PRIMARY KEY (col1) {option}, UNIQUE (col1, col2) {option}, FOREIGN KEY (col3) REFERENCES other_t (id) {option})"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue