fix(snowflake): opt-in denormalization of column names (#24982)

This commit is contained in:
Ville Brofeldt
2023-08-15 16:32:54 -07:00
committed by GitHub
parent 0a8881b3c1
commit f94dc49fd0
23 changed files with 161 additions and 10 deletions

View File

@@ -123,7 +123,10 @@ class TestImportExport(SupersetTestCase):
def create_table(self, name, schema=None, id=0, cols_names=[], metric_names=[]):
params = {"remote_id": id, "database_name": "examples"}
table = SqlaTable(
id=id, schema=schema, table_name=name, params=json.dumps(params)
id=id,
schema=schema,
table_name=name,
params=json.dumps(params),
)
for col_name in cols_names:
table.columns.append(TableColumn(column_name=col_name))