-
Notifications
You must be signed in to change notification settings - Fork 112
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
Feature/generate_source_descs_iss64 #66
Conversation
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.
Thanks @kbrock91 . Looks Good To Me!
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.
Same here - looks straightforward.
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.
Awesome @kbrock91 💪
I left comments for a couple very small tweaks. If we can get those incorporated, then we can include this in the next release.
Co-authored-by: Doug Beatty <44704949+dbeatty10@users.noreply.github.com>
Co-authored-by: Doug Beatty <44704949+dbeatty10@users.noreply.github.com>
Co-authored-by: Doug Beatty <44704949+dbeatty10@users.noreply.github.com>
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.
Looks great 🎯
* update generate_source.sql to add descriptions for table/source and name arg * add integration tests * fix test * update all args source test * changelog * Update macros/generate_source.sql Co-authored-by: Doug Beatty <44704949+dbeatty10@users.noreply.github.com> * Update README.md Co-authored-by: Doug Beatty <44704949+dbeatty10@users.noreply.github.com> * moved name to end up arguments block in readme * Update integration_tests/tests/test_generate_source_all_args.sql Co-authored-by: Doug Beatty <44704949+dbeatty10@users.noreply.github.com> * move name to last arg in test_generate_source_all_args Co-authored-by: Doug Beatty <44704949+dbeatty10@users.noreply.github.com>
This is a:
main
dev/
branchdev/
branchDescription & motivation
Currently, generate_source has an option to set include_descriptions = True, but this parameters only includes descriptions at the column level. Ideally, description placeholders would also be generated for the source and tables as well. Additionally, the required parameter for generate_source macro is the schema name, but there is no option to input a name value. It is possible that a user would like to name their source a different name from the schema name. See issue
Checklist