Merging upstream version 25.5.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
298e7a8147
commit
029b9c2c73
136 changed files with 80990 additions and 72541 deletions
|
@ -5,6 +5,13 @@ class TestTeradata(Validator):
|
|||
dialect = "teradata"
|
||||
|
||||
def test_teradata(self):
|
||||
self.validate_all(
|
||||
"RANDOM(l, u)",
|
||||
write={
|
||||
"": "(u - l) * RAND() + l",
|
||||
"teradata": "RANDOM(l, u)",
|
||||
},
|
||||
)
|
||||
self.validate_identity("TO_NUMBER(expr, fmt, nlsparam)")
|
||||
self.validate_identity("SELECT TOP 10 * FROM tbl")
|
||||
self.validate_identity("SELECT * FROM tbl SAMPLE 5")
|
||||
|
@ -212,6 +219,8 @@ class TestTeradata(Validator):
|
|||
)
|
||||
|
||||
def test_time(self):
|
||||
self.validate_identity("CAST(CURRENT_TIMESTAMP(6) AS TIMESTAMP WITH TIME ZONE)")
|
||||
|
||||
self.validate_all(
|
||||
"CURRENT_TIMESTAMP",
|
||||
read={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue