-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
compile --no-inject-ephemeral-ctes flag #8482
Conversation
…els during linting only
Thanks for your pull request, and welcome to our community! We require contributors to sign our Contributor License Agreement and we don't seem to have your signature on file. Check out this article for more information on why we have a CLA. In order for us to review and merge your code, please submit the Individual Contributor License Agreement form attached above above. If you have questions about the CLA, or if you believe you've received this message in error, please reach out through a comment on this PR. CLA has not been signed by users: @benmosher |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #8482 +/- ##
==========================================
+ Coverage 86.36% 86.37% +0.01%
==========================================
Files 174 174
Lines 25575 25591 +16
==========================================
+ Hits 22087 22104 +17
+ Misses 3488 3487 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
@cla-bot check |
The cla-bot has been summoned, and re-checked this pull request! |
@MichelleArk -- I see your 👀; I left this in draft because the last checkbox is unchecked but it's otherwise ready to go AFAIK. anything else I should do? |
@benmosher - with regards to that last checkbox, @graciegoheen will be helping out with this review from the Product perspective so we can get approval on that front before merging :) |
Let's hide the flag from the CLI |
@graciegoheen agreed! I believe I've hidden it via this |
I'd like to revalidate this in the |
Revalidation complete 👍 |
🚢 🇮🇹 |
@MichelleArk I think you need to push the button -- I'm not authorized to merge to Core 😅 |
(cherry picked from commit e24a952)
(cherry picked from commit e24a952)
(cherry picked from commit e24a952)
...for inline compilation of models during linting only.
resolves #8480
Problem
Injection of ephemeral model CTEs breaks SQLFluff linting in Cloud.
Solution
Optionally suppressing the injection of CTEs (intentionally added to the
compile
command only!) enables SQLFluff linting of models with direct ephemeral model references.Checklist