summaryrefslogtreecommitdiffstats
path: root/tests/test_schema.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 08:12:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 08:12:52 +0000
commita1f10f8d39404d9bae42a64efaf505fa12f34c1a (patch)
tree9eb894268f2a145aa9d42b1726a555ab1359810f /tests/test_schema.py
parentAdding upstream version 25.8.1. (diff)
downloadsqlglot-a1f10f8d39404d9bae42a64efaf505fa12f34c1a.tar.xz
sqlglot-a1f10f8d39404d9bae42a64efaf505fa12f34c1a.zip
Adding upstream version 25.16.1.upstream/25.16.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/test_schema.py')
-rw-r--r--tests/test_schema.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_schema.py b/tests/test_schema.py
index 21b59fd..83cbbd8 100644
--- a/tests/test_schema.py
+++ b/tests/test_schema.py
@@ -202,11 +202,11 @@ class TestSchema(unittest.TestCase):
dialect="clickhouse",
)
- table_z = exp.table_("z", db="y", catalog="x")
+ table_z = exp.table_("Z", db="y", catalog="x")
table_w = exp.table_("w", db="y", catalog="x")
self.assertEqual(schema.column_names(table_z), ["a", "B"])
- self.assertEqual(schema.column_names(table_w), ["c"])
+ self.assertEqual(schema.column_names(table_w), ["C"])
schema = MappingSchema(schema={"x": {"`y`": "INT"}}, dialect="clickhouse")
self.assertEqual(schema.column_names(exp.table_("x")), ["y"])