albertocalderari commented on issue #8903:
URL: https://github.com/apache/airflow/issues/8903#issuecomment-630744831


   My idea was yo use the methods exposed from google.cloud.bigquery.Client 
along with  google.cloud.bigquery.{JobType}JobConfig rather than using 
dictionaries.
   Doing this we can ditch most of the custom validation we have in the hook 
and make the code a bit slimmer.
   
   I'd build the job configs in the operator itself and mark 
run_with_configuration as deprecated.
   
   I like the Idea of having only 1 method to execute any kind of job though, 
we could add the recursive logic in there.
   
   What do you think @turbaszek?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to