Adding upstream version 18.13.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e833f2baa5
commit
fc6bad5705
76 changed files with 21248 additions and 19605 deletions
|
@ -6,6 +6,18 @@ class TestRedshift(Validator):
|
|||
dialect = "redshift"
|
||||
|
||||
def test_redshift(self):
|
||||
self.validate_all(
|
||||
"SELECT APPROXIMATE COUNT(DISTINCT y)",
|
||||
read={
|
||||
"spark": "SELECT APPROX_COUNT_DISTINCT(y)",
|
||||
},
|
||||
write={
|
||||
"redshift": "SELECT APPROXIMATE COUNT(DISTINCT y)",
|
||||
"spark": "SELECT APPROX_COUNT_DISTINCT(y)",
|
||||
},
|
||||
)
|
||||
self.validate_identity("SELECT APPROXIMATE AS y")
|
||||
|
||||
self.validate_identity(
|
||||
"SELECT 'a''b'",
|
||||
"SELECT 'a\\'b'",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue