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

Support BigQuery external tables #41

Closed
yu-iskw opened this issue Sep 25, 2020 · 6 comments · Fixed by #49
Closed

Support BigQuery external tables #41

yu-iskw opened this issue Sep 25, 2020 · 6 comments · Fixed by #49
Labels
bigquery enhancement New feature or request

Comments

@yu-iskw
Copy link

yu-iskw commented Sep 25, 2020

Describe the feature

I want to use BigQuery external data sources feature with dbt.

Describe alternatives you've considered

I have no idea.But, according to the official documents, there is no way to manipulate external resources with only SQL statements.

Additional context

My request is limited to only BigQuery.

Who will this benefit?

I am guessing many users uses BigQuery external data sources, including Google Spreadsheet, GCS and so on. By supporting the feature, they can get a great benefit to manage more BigQuery resources with dbt.

@yu-iskw yu-iskw added the enhancement New feature or request label Sep 25, 2020
@jtcohen6
Copy link
Collaborator

there is no way to manipulate external resources with only SQL statements.

This is the thing stopping us from supporting BigQuery external tables in this package. The only ways forward I see are:

  • BQ team adds DDL support for creating external tables
  • We or a community member contribute a python external config adapter method to dbt-bigquery (docs), stackoverflow), which we could then leverage in this package.

If the latter is something you'd be interested in working on, I'm happy to try to help!

@yu-iskw
Copy link
Author

yu-iskw commented Oct 7, 2020

@jtcohen6 Thank you for sharing it. BigQuery team may support the DDL of external data sources in the near future, as a result of filing the issues to them. If it is supported, we can move forward. I would love to contribute to it.

@jtcohen6
Copy link
Collaborator

jtcohen6 commented Oct 15, 2020

@yu-iskw
Copy link
Author

yu-iskw commented Oct 19, 2020

@jtcohen6 jtcohen6 mentioned this issue Nov 14, 2020
1 task
@jtcohen6
Copy link
Collaborator

@yu-iskw I'd be curious to get your eyes on the initial implementation in #49

@yu-iskw
Copy link
Author

yu-iskw commented Nov 19, 2020

@jtcohen6 Super-duper! I will look into the PR. Thank you very much for the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bigquery enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants