kazanzhy opened a new pull request #18431:
URL: https://github.com/apache/airflow/pull/18431


   This PR is based on: #17592 and closes: #13750
   SqlSensor relies on underlying hooks that are automatically injected (DI) 
depending on the connection type provided to the SqlSensor. However, from time 
to time (but mainly in BigqueryHook) it is needed to pre-configure the 
"to-be-injected" hook because some default params do not fit the current config.
   For example, if using SqlSensor with Bigquery it by default configures the 
SQL dialect to "legacy SQL", and there is no way to change this through 
configuration. Instead, the SqlSensor has to be extended and some functions are 
overwritten.


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