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 Michael S. Molina
parent 1569f0177f
commit 387549f69c
22 changed files with 159 additions and 8 deletions

View File

@@ -122,7 +122,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))