-
Notifications
You must be signed in to change notification settings - Fork 168
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
Fix: Add adapters for commands that are not using the snapshot evaluator #3531
base: main
Are you sure you want to change the base?
Conversation
No existing tests picked up this regression, are you able to add a test? |
Yes because these commands wouldnt work only for models which had the gateway specified property. I will think of tests to add as well |
5c501f2
to
01969a8
Compare
d02ffcf
to
a31a67d
Compare
95a012c
to
07d048c
Compare
@@ -1731,6 +1733,8 @@ def _normalize_snowflake(name: str, prefix_regex: str = "(sqlmesh__)(.*)"): | |||
if config.model_defaults.dialect != ctx.dialect: | |||
config.model_defaults = config.model_defaults.copy(update={"dialect": ctx.dialect}) | |||
|
|||
# To enable parallelism in integration tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does this impact parallelism?
This fixes an omission on the latest multi-engine feature, to create the engine adapters in cases when they're not generated in the snapshot_evaluator property, ie for the commands
render
,table_diff
andcreate_test