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

polish schema_to_table a little bit and run it against snowflake #14

Merged
merged 4 commits into from
Dec 8, 2021

Conversation

bjornj12
Copy link
Contributor

@bjornj12 bjornj12 commented Dec 7, 2021

Description & motivation

Schema to table macro didn't work with our own dataset because it had a lot of views in addition to tables, and it had never been run against snowflake.

These changes make sure to only query tables and have syntax changes to support snowflake.
I removed the ID as I wasn't using it in the main macro

Checklist

  • I have verified that these changes work locally on the following warehouses (Note: it's okay if you do not have access to all warehouses, this helps us understand what has been covered)

    • BigQuery
    • Postgres
    • Redshift
    • Snowflake
  • I have updated the README.md (if applicable)

  • I have added tests & descriptions to my models (and macros if applicable)

  • I have added an entry to CHANGELOG.md

@bjornj12 bjornj12 requested review from logason, a team and aleks-tpom6oh and removed request for a team December 7, 2021 09:54
@bjornj12 bjornj12 merged commit ba7dd5e into main Dec 8, 2021
@bjornj12 bjornj12 deleted the schema_to_table_works_in_snowflake_and_bigquery branch December 8, 2021 11:39
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.

1 participant