We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1780e5e commit 825b902Copy full SHA for 825b902
1 file changed
sqlmesh/cli/main.py
@@ -907,7 +907,8 @@ def table_diff(
907
) -> None:
908
"""Show the diff between two tables or a selection of models when they are specified."""
909
source, target = source_to_target.split(":")
910
- select_models = {model} if model else kwargs.pop("select_model", None)
+ select_model = kwargs.pop("select_model", None)
911
+ select_models = {model} if model else select_model
912
obj.table_diff(
913
source=source,
914
target=target,
0 commit comments