ying-w commented on issue #31322:
URL: https://github.com/apache/airflow/issues/31322#issuecomment-1550773824

   Confirmed https://github.com/apache/airflow/pull/30655 by verifying priority 
on ui when running the following dag
   
   ```py
   from pendulum import datetime
   from airflow.providers.common.sql.operators.sql import 
SQLExecuteQueryOperator
   from airflow.decorators import task, dag
   
   default_args = {
       "owner": "example",
       "retries": 0,
   }
   
   @dag(
       description="tmp",
       start_date=datetime(2021, 1, 1),
       schedule=None,
   )
   def testing():
       SQLExecuteQueryOperator(
           task_id="test",
           conn_id="bigquery",
           sql="SELECT 2",
           hook_params={
               "use_legacy_sql": False,
               "location": "us",
               "priority": "BATCH",  # this is the new part
               "api_resource_configs": {"query": {"useQueryCache": False}},
           },
       )
   
   testing()
   ```


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