I have hive data partitioned by ts_date and orid and below is the sample cloud storage url for the files
myhivepartionedbucket/crunched-logs/mrs-suds-sloaders/loader-log/output/{year}/{month}/{Day}/{Hour}/{Min}/ts_date={yyyy-mm-dd}/orid={orid}/file.orc
Below is the cloud storage actual url in production
myhivepartionedbucket/crunched-logs/mrs-suds-sloaders/loader-log/output/2020/08/06/00/30/ts_date=2020-08-05/orid=6691/part-202008060030.orc
This kind of structure will be there for all the days for each month with 24hrs separated by each hour for all the orid's
Now we want to schedule to load this kind of data to big query with partition by ts_date and clustering by orid.
I have tried on the console for one file without partition, I'm able to load the data, but how can I schedule and load this kind of data regularly with partition by ts_date and cluster by orid.
I'm new to GCP and not enough understanding from docs provided by google so can somebody guide or give me ideas to run on UI or program in python
Thanks in advance