-
Notifications
You must be signed in to change notification settings - Fork 6
feat: Translator for external deps, minor improvement to AssetOut #41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
dcb5c85
to
d07b2b0
Compare
…ify group through translator The SQLMeshDagsterTranslator has been simplified to return an AssetKey, the name of the AssetKey or a string equivalent, which deprecates utils.sqlmesh_model_name_to_key and utils.key_to_sqlmesh_model_name. The kinds label is now also added, to show technology labels on the UI, only when Dagster's version allows for it. Groups can now be specified through the translator, instead of having a fixed method.
@lucargir thanks for the PR! |
@ravenac95 the test is failing on the "Table with name test_source does not exist", but I haven't changed anything there. Locally, |
@lucargir hrm.. Interesting, let me try to look into it tomorrow. I also add some feedback then too! |
Can you also rebase to the most recent version? I added an additional test to assist with preventing regressions for our upgrades (and also am upgrading now to sqlmesh v0.178.2) |
Oh I have a hunch that I don't have time yet to trace through to validate, but if it works locally I'm not exactly sure what's happening. Potentially I'd do a full deletion of all duckdb state and start over though the tests are intended to do that so that in and of itself is a problem if this is the cause of the fault. My hunch is that there is something with the translator that has changed to relationship of the external table references to the assets in dagster, because on a fresh run like in the testing it's not initializing the data before running sqlmesh in dagster. |
@ravenac95 just rebased, can you re-run the tests? the local tests did pass, so maybe it was this. |
@lucargir hrm it seems it's still failing on the same issue. If I have a second tomorrow I'll take a look |
Apologies for the delay, I've been meaning to review this again but we've been a little busy on this end. |
@lucargir this looks good! Although I don't necessarily like that we moved around the dagster assets. I'll keep it for now :)! Let's get this merged in |
Uh oh!
There was an error while loading. Please reload this page.