bugraoz93 commented on issue #26884: URL: https://github.com/apache/airflow/issues/26884#issuecomment-1323867347
Hello, I think I can give the reference. I think @bhankit1410 is talking about the following operation. It copies individual partitions to another table or another table's partition. https://cloud.google.com/bigquery/docs/managing-partitioned-tables##copying_partitions This is the same job triggered by the following part of the `BigQuery Hook` which is used in the `BigQueryToBigQuery Operator`. **Hook**: https://github.com/apache/airflow/blob/093345cb61cea623bffe6af5a41d6ba417dfcf6f/airflow/providers/google/cloud/hooks/bigquery.py#L1805 **Operator**: https://github.com/apache/airflow/blob/093345cb61cea623bffe6af5a41d6ba417dfcf6f/airflow/providers/google/cloud/transfers/bigquery_to_bigquery.py#L129 The only difference is `sourceTables.tableId` and `destinationTable.tableId` can contain partition information with a `$` sign followed by `PARTITION_IDENTIFIER` for the same copy job. https://cloud.google.com/bigquery/docs/reference/rest/v2/TableReference I am willing to submit a PR! If anyone can assign me the issue, that would be great! Thanks in advance! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
