dabla commented on code in PR #47014:
URL: https://github.com/apache/airflow/pull/47014#discussion_r1971328393


##########
providers/common/sql/src/airflow/providers/common/sql/operators/sql.py:
##########
@@ -120,6 +120,30 @@ def default_output_processor(results: list[Any], 
descriptions: list[Sequence[Seq
     return results
 
 
+def default_output_processor_with_column_names(

Review Comment:
   Indeed it's an alternative solution which returns the descriptions (e.g. 
colunm names) as well as the results, but by default the 
SQLExecuteQueryOperator only returns the results without the columns names, 
eventhough it's foreseen.  Michaƫl added this method so it can be used instead 
of the default one, so the DAG author doesn't need to reinvent the wheel each 
time.



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