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 unnecessary subqueries in CTAS models #137

Conversation

jeancochrane
Copy link
Contributor

@jeancochrane jeancochrane commented Sep 15, 2023

This PR implements a simple change that produces an absolutely horrendous diff: Removing the semantically-unnecessary CTAS subqueries that we introduced to make the diff in #111 simpler. The goal was to keep this PR as simple as possible, changing nothing except formatting, so that the reviewer can skim the diff and be confident that they won't miss anything important.

The diff is much easier to read if you enable the "hide whitespace" feature in the Files changed view:

Screenshot 2023-09-17 at 4 40 56 PM

Closes #120.

@jeancochrane jeancochrane linked an issue Sep 15, 2023 that may be closed by this pull request
@jeancochrane jeancochrane changed the title Dedent CTAS to remove unnecessary subqueries Dedent CTAS models and remove unnecessary subqueries Sep 15, 2023
@jeancochrane jeancochrane changed the title Dedent CTAS models and remove unnecessary subqueries Remove unnecessary subqueries in CTAS models Sep 15, 2023
@jeancochrane jeancochrane marked this pull request as ready for review September 15, 2023 22:49
@jeancochrane jeancochrane requested a review from a team as a code owner September 15, 2023 22:49
Copy link
Member

@dfsnow dfsnow left a comment

Choose a reason for hiding this comment

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

Reviewing this with hidden whitespace makes the diff much less scary! Looks great @jeancochrane.

@jeancochrane jeancochrane merged commit 4b19263 into master Sep 18, 2023
3 checks passed
@jeancochrane jeancochrane deleted the jeancochrane/120-data-catalog-fast-follow-fix-indentation-in-ctas branch September 18, 2023 18:54
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.

[Data catalog] Fast follow: Fix indentation in CTAS
2 participants