BigQuery main to intraday table transfer question

73 views Asked by At

Im new in BigQuery db system and know that there is some mechanism when daily collected data is transfered from table_intraday_ to table_. I have working sql script that grab data from parquet files generated by BQ scheduled query which in its turn runs on daily basis to export data for last day. I have specific time to run this query and sometimes it fails because there is no data for last day in _intraday because it already came to main table. Is there any way to prognose time when data comes from _intraday to main table ? I have idea to write dynamic BQ sql scripts that will check existence of both _intraday and main table data for last day and pull data from existing one. Can be there problem that data exists in both tables _intraday and main and I need to wait until transfering complete ?

0

There are 0 answers