destinations.impl.bigquery.bigquery
BigQueryClient Objects
class BigQueryClient(SqlJobClientWithStaging, SupportsStagingDestination)
restore_file_load
def restore_file_load(file_path: str) -> LoadJob
Returns a completed SqlLoadJob or restored BigQueryLoadJob
See base class for details on SqlLoadJob.
BigQueryLoadJob is restored with a job ID derived from file_path
.
Arguments:
file_path
str - a path to a job file.
Returns:
LoadJob
- completed SqlLoadJob or restored BigQueryLoadJob