Skip to content
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

Remove sql_where #1408

Merged
merged 1 commit into from
Apr 23, 2019
Merged

Conversation

beckjake
Copy link
Contributor

@beckjake beckjake commented Apr 18, 2019

Fixes #1351

Remove sql_where, solving all sql_where-related issues permanently.

@cmcarthur cmcarthur requested a review from drewbanin April 18, 2019 14:48
@cmcarthur
Copy link
Member

Looks ok to me, but @drewbanin should have a look

@drewbanin
Copy link
Contributor

This LGTM but now might just be a good time to delete the sql_where config altogether, right? It's been deprecated for a few minor releases at this point, and I'd be happy to remove it!

Copy link
Contributor

@drewbanin drewbanin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one cosmetic thing worth considering, but overall LGTM!

{# If a user is not using sql_where, there's no need for a subselect #}
{{ sql }}
{%- endif -%}
{{ sql }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we probably don't need tmp_table_sql anymore

@beckjake beckjake force-pushed the fix/remove-sql_where-from-subquery branch from 0d7b9ab to f85c145 Compare April 22, 2019 13:50
@beckjake beckjake changed the title if sql_where is not set, remove the subquery Remove sql_where Apr 22, 2019
@beckjake beckjake force-pushed the fix/remove-sql_where-from-subquery branch from f85c145 to 0885be1 Compare April 22, 2019 17:40
@beckjake beckjake merged commit 32f74b6 into dev/wilt-chamberlain Apr 23, 2019
@beckjake beckjake deleted the fix/remove-sql_where-from-subquery branch April 23, 2019 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove subquery from incremental models when no sql_where is specified
3 participants