quentin-sommer commented on code in PR #28284:
URL: https://github.com/apache/airflow/pull/28284#discussion_r1045141132


##########
airflow/providers/google/cloud/transfers/gcs_to_bigquery.py:
##########
@@ -300,6 +305,16 @@ def execute(self, context: Context):
             impersonation_chain=self.impersonation_chain,
         )
         self.hook = hook
+        self.source_format = self.source_format.upper()
+        allowed_formats = [

Review Comment:
   Why not declare this and validate `source_format` in the `__init__` to fail 
at dag parsing time instead of during the execution?



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

Reply via email to