You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/09/07 20:18:34 UTC

[GitHub] [airflow] tnyz commented on pull request #17998: Fix error when create external table using table resource

tnyz commented on pull request #17998:
URL: https://github.com/apache/airflow/pull/17998#issuecomment-914596659


   @potiuk to be more specific, this is the block when executing the command from table resource, using None will result in `TableReference.from_string(None)` right?
   ```
           if self.table_resource:
               tab_ref = TableReference.from_string(self.destination_project_dataset_table)
               bq_hook.create_empty_table(
                   table_resource=self.table_resource,
                   project_id=tab_ref.project,
                   table_id=tab_ref.table_id,
                   dataset_id=tab_ref.dataset_id,
               )
   ```


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org