Can I use (in python) load_table_from_uri with file generations (cloud versioning)?

I want to move CSV file from Cloud Storage Bucket to BQ and I want to use load_table_from_uri  in the same time with file generation number (cloud versioning). so this file may be in the archive and not in the directory itself directly. 

But when I tested, it goes error when I set the URI of the file in the archive (ex: gs://Bucket_name/file_name.csv#file_generation)

Any help, please?

0 1 499
1 REPLY 1

Hi @Abdelrahman_A ,

 

What error you are facing when you try to set the URI?