potiuk commented on pull request #17998:
URL: https://github.com/apache/airflow/pull/17998#issuecomment-914642118
Ah I see now. I have not looked that far.I am not sure though if that is the
**right** fix, I think - looking at the code deeper, is that this is really a
mixture of old and new way of passing table resource parameters - there is
ambiguity here - looks like the idea was to put everything in table resource
and here we have a weird expactation that part of it will be passed as
`destination_project_dataset_table`.
So IMHO the right approach is to change the lines you marked to:
```
if self.table_resource:
bq_hook.create_empty_table(
table_resource=self.table_resource,
project_id=None,
table_id=None,
dataset_id=None,
)
```
--
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]