-
Notifications
You must be signed in to change notification settings - Fork 128
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
Format all models for consistency #390
Format all models for consistency #390
Conversation
Formatted sources and corrected snapshot_executions
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.
Pending approval from our robot overlords (i.e. the CI Linter) this looks great to me! Thank you for doing this. 🎉
- Removed L02 from tox.ini - Formatted dim_dbt__current_models
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.
Hey @poloaraujo - resurrecting this PR so we can merge your changes!
- SQLfluff failed due to 3 single select targets being on new lines.
- I was running into errors when running tox locally related to this issue - can you upgrade sqlfluff-templater-dbt~=3.0.7
…/dbt_artifacts into pa/format-consistency
Overview
Currently there are inconsistencies in the SQL scripts styles used (e.g. trailing vs leading commas). I've formatted al sources, staging models, fact models and core models (both dimensional and fact) to have a consistent format for both spacing and commas (of which all use trailing)
Update type - breaking / non-breaking
What does this solve?
Issue #383
Outstanding questions
So far, I've only tested locally with Snowflake
What databases have you tested with?