You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/Users/anentropic/dev/etl-future/.venv/lib/python3.11/site-packages/sqlmesh/core/macros.py", line 214, in send
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/anentropic/dev/etl-future/.venv/lib/python3.11/site-packages/sqlmesh/core/macros.py", line 834, in star
if columns_to_types_all_known(columns_to_types):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/anentropic/dev/etl-future/.venv/lib/python3.11/site-packages/sqlmesh/utils/__init__.py", line 334, in columns_to_types_all_known
return all(type_is_known(expression) for expression in columns_to_types.values())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/anentropic/dev/etl-future/.venv/lib/python3.11/site-packages/sqlmesh/utils/__init__.py", line 334, in <genexpr>
return all(type_is_known(expression) for expression in columns_to_types.values())
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/anentropic/dev/etl-future/.venv/lib/python3.11/site-packages/sqlmesh/utils/__init__.py", line 325, in type_is_known
if d_type.is_type(exp.DataType.Type.UNKNOWN, exp.DataType.Type.NULL):
^^^^^^^^^^^^^^
when running
sqlmesh plan
I got this error:if I stick a breakpoint in I find:
the offending code in my model file is here:
where
order_dedup
is a View model, perhaps that is the problem (?)However if I amend the error handling code to:
then the plan succeeds and I get the option to apply it
The text was updated successfully, but these errors were encountered: