@@ -1860,10 +1860,10 @@ def table_diff(
18601860 self ,
18611861 source : str ,
18621862 target : str ,
1863- on : t .Optional [t .List [str ] | exp .Condition ] = None ,
1863+ on : t .Optional [t .List [str ] | exp .Expr ] = None ,
18641864 skip_columns : t .Optional [t .List [str ]] = None ,
18651865 select_models : t .Optional [t .Collection [str ]] = None ,
1866- where : t .Optional [str | exp .Condition ] = None ,
1866+ where : t .Optional [str | exp .Expr ] = None ,
18671867 limit : int = 20 ,
18681868 show : bool = True ,
18691869 show_sample : bool = True ,
@@ -1922,7 +1922,7 @@ def table_diff(
19221922 raise SQLMeshError (e )
19231923
19241924 models_to_diff : t .List [
1925- t .Tuple [Model , EngineAdapter , str , str , t .Optional [t .List [str ] | exp .Condition ]]
1925+ t .Tuple [Model , EngineAdapter , str , str , t .Optional [t .List [str ] | exp .Expr ]]
19261926 ] = []
19271927 models_without_grain : t .List [Model ] = []
19281928 source_snapshots_to_name = {
@@ -2041,9 +2041,9 @@ def _model_diff(
20412041 target_alias : str ,
20422042 limit : int ,
20432043 decimals : int ,
2044- on : t .Optional [t .List [str ] | exp .Condition ] = None ,
2044+ on : t .Optional [t .List [str ] | exp .Expr ] = None ,
20452045 skip_columns : t .Optional [t .List [str ]] = None ,
2046- where : t .Optional [str | exp .Condition ] = None ,
2046+ where : t .Optional [str | exp .Expr ] = None ,
20472047 show : bool = True ,
20482048 temp_schema : t .Optional [str ] = None ,
20492049 skip_grain_check : bool = False ,
@@ -2083,10 +2083,10 @@ def _table_diff(
20832083 limit : int ,
20842084 decimals : int ,
20852085 adapter : EngineAdapter ,
2086- on : t .Optional [t .List [str ] | exp .Condition ] = None ,
2086+ on : t .Optional [t .List [str ] | exp .Expr ] = None ,
20872087 model : t .Optional [Model ] = None ,
20882088 skip_columns : t .Optional [t .List [str ]] = None ,
2089- where : t .Optional [str | exp .Condition ] = None ,
2089+ where : t .Optional [str | exp .Expr ] = None ,
20902090 schema_diff_ignore_case : bool = False ,
20912091 ) -> TableDiff :
20922092 if not on :
0 commit comments