Hi Everyone, has anyone used BQTask before?: <http...
# ask-community
g
Hi Everyone, has anyone used BQTask before?: https://docs.prefect.io/api/latest/tasks/gcp.html
k
Hey @Guozheng Kuang, I don’t have an example but it should just be like
Copy code
bigquery = BigQueryTask(query=...,query_params=...)
with Flow(...) as flow:
    bigquery()
and then the top of the page has notes on out to authenticate
a
if you set
to_dataframe=True
, you can even get a Pandas dataframe as a query result 🙂
g
Hi, folks thanks for the reply.
So I wish to run BQSQL directly on BQ, I do not wish to load data
👍 1
k
I guess you can just use the
dataset_dest
or
table_dest
then.