goldjee commented on code in PR #37932:
URL: https://github.com/apache/superset/pull/37932#discussion_r2799512238


##########
superset/commands/dataset/duplicate.py:
##########
@@ -66,6 +66,7 @@ def run(self) -> Model:
         table = SqlaTable(table_name=table_name, owners=owners)
         table.database = database
         table.schema = self._base_model.schema
+        table.catalog = self._base_model.catalog

Review Comment:
   This check is performed in this exact manner at [line 
121](https://github.com/apache/superset/pull/37932/changes#diff-38934e7029af81490bbc931c312e2e8970c7988b269b55bdd37d07e24f57009cR121).
 Is it sufficient?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to