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

Update get_table_types_sql.sql #956

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lachlanclulow
Copy link

@lachlanclulow lachlanclulow commented Sep 30, 2024

treat CLONE type tables in BigQuery as 'table'

resolves #955

Problem

Compilation of models using get_relations_by_pattern macro fail if the macro returns BigQuery clone type tables.

Solution

We should treat clone type tables as regular tables in BigQuery. From what I can tell, we can add an additional jinja block here to allow clone tables.

Checklist

  • This code is associated with an issue which has been triaged and accepted for development.
  • I have read the contributing guide and understand what's expected of me
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the README.md (if applicable)

treat CLONE type tables in BigQuery as 'table'
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.

get_relations_by_pattern macro fails forclone tables in BigQuery
1 participant