The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
a5ab004882f1807eda179d762c75a6ba643c85a8 / Jarek Potiuk <[email protected]>
Fix errors in Databricks SQL operator introduced when refactoring

When SQLExecuteQueryOperator has been introduced in #25717, it
introduced some errors in the Databricks SQL operator:

* The templated "schema" field has not been set as field in the
  operator.
* The schema parameter has been still passed as _process_output
  parameter
* The do_xcom_push parameter was ignored
* The run() method of DatabricksHook was not conforming to other
  run methods of the Hook - it was returning Tuple of the
  result/description

This PR fixes it by:

* storing schema as field and using it via `self` reference rather
  than passing it as parameter to _process_output
* removing separate do_xcom_push parameter (the BaseOperator's one
  will be used)
* the Databricks Hook is now conformant to the other DBAPIHooks in
  terms of value returned by Hook (backwards incompatible so we
  need to bump major version of the provider
* the DBApiHook now has "last_description" field which on one hand
  makes it stateless, on the other, the state reflects the
  description of the last run method and is not a problem to keep.
  This implies 1.4 version of common-sql provider as this is a new
  feature for the provider

Report URL: https://github.com/apache/airflow/actions/runs/3533361896

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to