BigQueryConnector
Configuration
bigquery_connector = BigQueryConnector(
id="bigquery_connector_id",
creds="/example_path/creds.json"
)execute_sql
execute_sqlfrom prism.decorators import task
from prism.runtime import CurrentRun
@task()
def bigquery_task(self):
conn = CurrentRun.conn("bigquery_connector_id")
data = conn.execute_sql(
sql="SELECT * FROM table"
)Last updated