Skip to content

Commit

Permalink
fix(datasets): Include expression and description in duplicated datas…
Browse files Browse the repository at this point in the history
…et columns (#22943)
  • Loading branch information
codyml committed Feb 2, 2023
1 parent 56d4bd0 commit 4b05a1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions superset/datasets/commands/duplicate.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,12 @@ def run(self) -> Model:
col = TableColumn(
column_name=column_name,
verbose_name=config_.verbose_name,
expression=config_.expression,
filterable=True,
groupby=True,
is_dttm=config_.is_dttm,
type=config_.type,
description=config_.description,
)
cols.append(col)
table.columns = cols
Expand Down

0 comments on commit 4b05a1e

Please sign in to comment.