Lafir

Results comments of Lafir

> The order of the commands needs to be reversed: first, drop the view, then re-create it. If we reverse the order like @martinburch said, that should solve this https://github.com/TobikoData/sqlmesh/issues/3649...

This happens because both the `janitor` and `destroy` commands are in SQLMesh's [SKIP_LOAD_COMMANDS](https://github.com/SQLMesh/sqlmesh/blob/da2e5fc037d915e1b0c4f408932e5009b6120d6a/sqlmesh/cli/main.py#L31-L42) list. As a result, SQLMesh creates the context with `load=False`, never imports any Python files and never...

> As a temporary workaround (until this feature is implemented natively), you can configure it using a Python-based `Config`, as described in the documentation: Thanks @coshy0163, but unfortunately I can't...

> @lafirm can you add DCO checks on your commit? done :)

> I don't know off the top of my head, so I'll let others jump in on this I'm happy to implement this feature, please let me know if you’re...

Sorry, I went ahead and opened this PR, thinking it would be fine with you. Please review when you get a chance and let me know what you think @StuffbyYuki

@tobymao, is it okay if I create a PR to ignore `SQLMESH__AIRFLOW__DISABLE_STATE_MIGRATION` when we load configs from env using load_config_from_env function? or please let me know if you've anything else...

> Hey @lafirm, can you share a fully reproducible example? I don't see the behavior you described: apologies @georgesittas, I over looked that the error doesn't raise because of the...

sure, here you go! > Hey [@lafirm](https://github.com/lafirm), what sqlmesh version are you using? |schema_version|sqlglot_version|sqlmesh_version| |--------------|---------------|---------------| |66|26.0.1|0.144.0| > Can you share the result of `pip show sqlmesh`? ``` Name: sqlmesh Version:...

Recently, I encountered an issue similar to this, so I created a PR for that https://github.com/TobikoData/sqlmesh/pull/3945 to handle. appreciate your feedback.