1fanwang commented on issue #72902: URL: https://github.com/apache/airflow/issues/72902#issuecomment-5623918419
Tested my changes working for on Python 3.12.14 and Airflow 3.3.1 on apache-airflow-providers-databricks==7.20.0rc1 : the behavior in https://github.com/apache/airflow/pull/70831, related to https://github.com/apache/airflow/pull/70340, is correct. A Dag that passes both statement and statement_id now fails during parsing with ValueError: Provide exactly one of statement or statement_id. , including statement_id="" and a template that renders to None . Both cases executed SELECT 1 with 7.19.0. A statement-only control still ran successfully. A lone statement template that rendered to None failed after rendering with ValueError: One of either statement or statement_id must be provided. -- 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]
