summaryrefslogtreecommitdiffstats
path: root/tests/dialects/test_teradata.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-01-31 05:44:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-01-31 05:44:37 +0000
commit5f8be2e0852f3c925fb873a48946caee3050899f (patch)
tree1f31666277e226f47180321c08be7ebbedc2780e /tests/dialects/test_teradata.py
parentAdding upstream version 20.9.0. (diff)
downloadsqlglot-5f8be2e0852f3c925fb873a48946caee3050899f.tar.xz
sqlglot-5f8be2e0852f3c925fb873a48946caee3050899f.zip
Adding upstream version 20.11.0.upstream/20.11.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/dialects/test_teradata.py')
-rw-r--r--tests/dialects/test_teradata.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/dialects/test_teradata.py b/tests/dialects/test_teradata.py
index 85d4ebf..f3894fd 100644
--- a/tests/dialects/test_teradata.py
+++ b/tests/dialects/test_teradata.py
@@ -42,11 +42,13 @@ class TestTeradata(Validator):
)
def test_statistics(self):
- self.validate_identity("COLLECT STATISTICS ON tbl INDEX(col)")
- self.validate_identity("COLLECT STATS ON tbl COLUMNS(col)")
- self.validate_identity("COLLECT STATS COLUMNS(col) ON tbl")
- self.validate_identity("HELP STATISTICS personel.employee")
- self.validate_identity("HELP STATISTICS personnel.employee FROM my_qcd")
+ self.validate_identity("COLLECT STATISTICS ON tbl INDEX(col)", check_command_warning=True)
+ self.validate_identity("COLLECT STATS ON tbl COLUMNS(col)", check_command_warning=True)
+ self.validate_identity("COLLECT STATS COLUMNS(col) ON tbl", check_command_warning=True)
+ self.validate_identity("HELP STATISTICS personel.employee", check_command_warning=True)
+ self.validate_identity(
+ "HELP STATISTICS personnel.employee FROM my_qcd", check_command_warning=True
+ )
def test_create(self):
self.validate_identity(