We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 101e73b commit 2cdb9f2Copy full SHA for 2cdb9f2
sqlmesh/core/model/meta.py
@@ -249,7 +249,9 @@ def _column_descriptions_validator(
249
if columns_to_types:
250
for column_name in col_descriptions:
251
if column_name not in columns_to_types:
252
- raise ConfigError(
+ from sqlmesh.core.console import get_console
253
+
254
+ get_console().log_warning(
255
f"In model '{info.data['name']}', a description is provided for column '{column_name}' but it is not a column in the model."
256
)
257
0 commit comments