aru-trackunit commented on issue #36838:
URL: https://github.com/apache/airflow/issues/36838#issuecomment-1988736158

   I discussed it with him on airflow's slack but it's a good idea to have a 
visibility over it in here as well.
   I have attached a `DatabricksSqlOperator` that is ready to test against. SQL 
returns one row as attached on the screenshot
   <img width="200" alt="Screenshot 2024-03-11 at 16 35 57" 
src="https://github.com/apache/airflow/assets/93520526/f92949ef-2f68-49be-a188-8f7c2cd0142f";>v
   
   ```
   test = DatabricksSqlOperator(
           task_id="count_query",
           databricks_conn_id="databricks-sp",
           sql_endpoint_name="endpoint_name",
           sql="SELECT count(*) FROM catalog.schema.table_test;"
       )
   ```
   
   
   


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