BigQuery
Configuration
# profile.yml
<profile name here>: # change this!
adapters:
<bigquery adapter name here>: # change this!
type: bigquery
creds: '{{ env("GOOGLE_APPLICATION_CREDENTIALS") }}'
hooks.sql()
hooks.sql()def run(self, tasks, hooks):
data = hooks.sql(
adapter_name="<bigquery adapter name>",
query="SELECT * FROM table"
)