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

ability to read and write external data configuration files #1483

Open
tswast opened this issue Jan 30, 2023 · 2 comments
Open

ability to read and write external data configuration files #1483

tswast opened this issue Jan 30, 2023 · 2 comments
Labels
api: bigquery Issues related to the googleapis/python-bigquery API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@tswast
Copy link
Contributor

tswast commented Jan 30, 2023

I noticed while investigating #773 that https://cloud.google.com/bigquery/docs/external-table-definition refers to BQ CLI feature that we actually don't have in the Python client library. It could be useful to have features working with these configuration files (similar to the schema file helpers we have).

@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Jan 30, 2023
@tswast tswast added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. and removed api: bigquery Issues related to the googleapis/python-bigquery API. labels Jan 30, 2023
@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Jan 31, 2023
@chalmerlowe
Copy link
Collaborator

@tswast

When you use the phrase schema file helpers, which items in the codebase are you referring to?

@tswast
Copy link
Contributor Author

tswast commented Nov 21, 2024

I'm referring to these methods, which were added as an intern project to align google-cloud-bigquery's capabilities with the BQ CLI:

See also the description of a JSON schema file in the BigQuery documentation.
An aside: these methods don't really have to be in Client, but I had a stretch goal with the intern to accept gs:// URIs just like the BQ CLI, in which case we would use the credentials from Client to create a GCS/Storage client to fetch/write the schema files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants