1

I ran this standard query and it executes successfully.

EXPORT DATA
  OPTIONS (
    uri = 'https://pubsub.googleapis.com/projects/ggdevbigqueryproject/topics/GGTEST',
    format = 'JSON',
    overwrite = false
  )
AS
(select * from `ggdevbigqueryproject.QASOURCE.TCUSTMER`);

But no messages are pushed to pub/sub topic GGTEST.

I tried the above query where table exist under same project. I am expecting table data to be pushed as JSON messages in pub/sub topic.

1 Answer 1

1

BigQuery’s EXPORT DATA to Pub/Sub integration is only supported in a continuous query (streaming / continuous mode), not just a one-off export

Reference: https://cloud.google.com/bigquery/docs/export-to-pubsub

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.