dabla commented on PR #37246:
URL: https://github.com/apache/airflow/pull/37246#issuecomment-1934435825

   > I think it should be two-fold:
   > 
   > * make a method in common.sql DBApi that you can override, returning the 
statement
   > * in ODBCHook make it customizable (and implement the method to do so) - 
for example by passing the actual statement to return as keyword arg in the 
ODBCHook
   > 
   > We already have a mechanims that when you use the common SQL Operators, 
you can pass hook kwargs as `__init__` parameter. This way you could either 
pass the kwargs in your DAG or write your own SAPHanaSQL* operators that will 
instantiate the common ones with those kwargs.
   
   Thank you Jarek, I understand now what you are proposing, will try to do it 
like this.


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