warning | title | excerpt | extension | repo | docs | extension_star_count | extension_star_count_pretty | extension_download_count | extension_download_count_pretty | image | layout | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DO NOT CHANGE THIS MANUALLY, THIS IS GENERATED BY https://github/duckdb/community-extensions repository, check README there |
bigquery |
DuckDB Community Extensions
Integrates DuckDB with Google BigQuery, allowing direct querying and management of BigQuery datasets
|
|
|
|
104 |
104 |
24860 |
24.9k |
/images/community_extensions/social_preview/preview_community_extension_bigquery.png |
community_extension_doc |
INSTALL {{ page.extension.name }} FROM community;
LOAD {{ page.extension.name }};
{% if page.docs.hello_world %}
{{ page.docs.hello_world }}```
{% endif %}
{% if page.docs.extended_description %}
### About {{ page.extension.name }}
{{ page.docs.extended_description }}
{% endif %}
### Added Functions
<div class="extension_functions_table"></div>
| function_name | function_type | description | comment | examples |
|----------------------|---------------|------------------------------------------------------------------------------------------|---------|---------------------------------------------------------------------------------------------------------------------------|
| bigquery_attach | table | Attach to a BigQuery project. | NULL | [ATTACH 'project=my_gcp_project' as bq (TYPE bigquery);] |
| bigquery_scan | table | Scan a single table directly from BigQuery. | NULL | [SELECT * FROM bigquery_scan('my_gcp_project.quacking_dataset.duck_tbl');] |
| bigquery_query | table | Run a custom GoogleSQL query in BigQuery and read the results. | NULL | [SELECT * FROM bigquery_query('bq', 'SELECT * FROM quacking_dataset.duck_tbl WHERE duck_id = 123');] |
| bigquery_execute | table | Execute an arbitrary GoogleSQL query in BigQuery. | NULL | [CALL bigquery_execute('bq', 'CREATE SCHEMA deluxe_dataset OPTIONS(location="us", default_table_expiration_days=3.75);')] |
| bigquery_jobs | table | List jobs in a BigQuery project. | NULL | [SELECT * FROM bigquery_jobs('bq');] |
| bigquery_clear_cache | table | Clear the internal caches to refetch the most current project information from BigQuery. | NULL | [CALL bigquery_clear_cache();] |
### Added Settings
<div class="extension_settings_table"></div>
| name | description | input_type | scope |
|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|------------|--------|
| bq_curl_ca_bundle_path | Path to the CA bundle for curl | VARCHAR | GLOBAL |
| bq_debug_show_queries | DEBUG SETTING: print all queries sent to BigQuery to stdout | BOOLEAN | GLOBAL |
| bq_default_location | Default location for BigQuery queries | VARCHAR | GLOBAL |
| bq_experimental_filter_pushdown | Whether to use filter pushdown (currently experimental) | BOOLEAN | GLOBAL |
| bq_experimental_use_info_schema | Whether to fetch table infos from BQ information schema (currently experimental). Can be significantly faster than fetching from REST API. | BOOLEAN | GLOBAL |
| bq_query_timeout_ms | Timeout for BigQuery queries in milliseconds | BIGINT | GLOBAL |