-
Notifications
You must be signed in to change notification settings - Fork 982
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
New behavior with limit parameter #5832
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
couple of suggested tweaks but otherwise lgtm!!
@@ -19,6 +19,8 @@ Release notes are grouped by month for both multi-tenant and virtual private clo | |||
[^*] The official release date for this new format of release notes is May 15th, 2024. Historical release notes for prior dates may not reflect all available features released earlier this year or their tenancy availability. | |||
|
|||
## July 2024 | |||
- **Behavior change:** dbt Cloud IDE attaches a `--limit 100` to queries by default to avoid slow and expensive queries from running in the development environment. Recently, dbt Core has changed how the `limit` is applied to ensure that `order by` clauses are consistently respected. Because of this, queries that already contain a limit clause might now cause errors in the IDE previews. An option to prevent the limit from being applied will become available to the dbt Cloud IDE later this year. Until this is released, dbt Labs strongly recommends removing the (duplicate) limit clause from your queries when previewing them. |
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.
- **Behavior change:** dbt Cloud IDE attaches a `--limit 100` to queries by default to avoid slow and expensive queries from running in the development environment. Recently, dbt Core has changed how the `limit` is applied to ensure that `order by` clauses are consistently respected. Because of this, queries that already contain a limit clause might now cause errors in the IDE previews. An option to prevent the limit from being applied will become available to the dbt Cloud IDE later this year. Until this is released, dbt Labs strongly recommends removing the (duplicate) limit clause from your queries when previewing them. | |
- **Behavior change:** dbt Cloud IDE attaches a `--limit 100` to preview queries by default to avoid slow and expensive queries from running in the development environment. Recently, dbt Core has changed how the `limit` is applied to ensure that `order by` clauses are consistently respected. Because of this, queries that already contain a limit clause might now cause errors in the IDE previews. An option to prevent the limit from being applied will become available to the dbt Cloud IDE later. Until this is released, dbt Labs recommends removing the (duplicate) limit clause from your queries when previewing them. |
"later this year" sounds a long time away, but this should be pretty soon 🤞
I wouldn't say we have to strongly recommend it - if you don't it just won't work. Feels like we only have to be that wemphatic when you might be about to do something possible but ill-advised
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.
sgtm! thank you!
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.
small sugg that aren't blockers. lgmt!
Co-authored-by: Mirna Wong <[email protected]>
What are you changing in this pull request and why?
Add release note that informs users about new behavior with
limit
argument in SQL queriesChecklist