Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Pubsub to BQ PicklingError or NameError

I am using beam just to read data from pubsub and doing some transformation and loading the data into bigquery. When I am running my code using colob my code is runnign fine but when i am using dataflow as runner i am getting error like 'PicklingError' or 'process NameError: name 'BQ_CLIENT' is not defined During handling of the above exception, another exception occurred'. I tried option  like using 

save_main_session=True but still getting error. Can someone please help me on this. Appreciate your quick reply. 
1 1 166
1 REPLY 1

Hi @Sudipta what is the language you're using and if possible, the screen click of the same; could help us to navigate you with the possible answers.