apache-airflow-providers-trino

Changelog

6.0.0

Note

This release of provider is only available for Airflow 2.9+ as explained in the Apache Airflow providers support policy.

Breaking changes

Warning

All deprecated classes, parameters and features have been removed from the {provider_name} provider package. The following breaking changes were introduced:

  • Remove TrinoOperator class from airflow.providers.trino.operators.trino. Please use airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator`

  • Remove Provider Deprecations in Trino  (#44717)

Misc

  • Remove references to AIRFLOW_V_2_9_PLUS (#44987)

  • Bump minimum Airflow version in providers to Airflow 2.9.0 (#44956)

  • Consistent way of checking Airflow version in providers (#44686)

  • Update DAG example links in multiple providers documents (#44034)

  • Rename execution_date to logical_date across codebase (#43902)

5.9.0

Features

  • Add support for semicolon stripping to DbApiHook, PrestoHook, and TrinoHook (#41916)

5.8.1

Misc

  • Rename dataset related python variable names to asset (#41348)

5.8.0

Note

This release of provider is only available for Airflow 2.8+ as explained in the Apache Airflow providers support policy.

Misc

  • Bump minimum Airflow version in providers to Airflow 2.8.0 (#41396)

5.7.2

Misc

  • implement per-provider tests with lowest-direct dependency resolution (#39946)

  • Update pandas minimum requirement for Python 3.12 (#40272)

5.7.1

Misc

  • Faster 'airflow_version' imports (#39552)

  • Simplify 'airflow_version' imports (#39497)

5.7.0

Note

This release of provider is only available for Airflow 2.7+ as explained in the Apache Airflow providers support policy.

Misc

  • Bump minimum Airflow version in providers to Airflow 2.7.0 (#39240)

5.6.3

Misc

  • Limit 'pandas' to '<2.2' (#37748)

  • Implement AIP-60 Dataset URI formats (#37005)

5.6.2

Misc

  • feat: Switch all class, functions, methods deprecations to decorators (#36876)

5.6.1

Misc

  • Set min pandas dependency to 1.2.5 for all providers and airflow (#36698)

5.6.0

Features

  • Make "placeholder" of ODBC configurable in UI (#36000)

5.5.0

Note

This release of provider is only available for Airflow 2.6+ as explained in the Apache Airflow providers support policy.

Features

  • Add timezone parameter to TrinoHook (#35963)

Misc

  • Bump minimum Airflow version in providers to Airflow 2.6.0 (#36017)

5.4.1

Misc

  • Remove backcompat inheritance for DbApiHook (#35754)

5.4.0

Note

This release of provider is only available for Airflow 2.5+ as explained in the Apache Airflow providers support policy.

Misc

  • Bump min airflow version of providers (#34728)

  • Use 'airflow.exceptions.AirflowException' in providers (#34511)

5.3.1

Misc

  • Improve modules import in Airflow providers by some of them into a type-checking block (#33754)

5.3.0

Features

  • Add OpenLineage support for Trino. (#32910)

Misc

  • Consolidate import and usage of pandas (#33480)

5.2.1

Misc

  • Add more accurate typing for DbApiHook.run method (#31846)

  • Add deprecation info to the providers modules and classes docstring (#32536)

5.2.0

Features

  • Trino Hook: Add ability to read JWT from file (#31950)

5.1.1

Note

This release dropped support for Python 3.7

Misc

  • Add note about dropping Python 3.7 for providers (#32015)

5.1.0

Note

This release of provider is only available for Airflow 2.4+ as explained in the Apache Airflow providers support policy.

Misc

  • Bump minimum Airflow version in providers (#30917)

5.0.0

Breaking changes

Warning

In this version of the provider, deprecated GCS hook’s param delegate_to is removed from GCSToPrestoOperator. Impersonation can be achieved instead by utilizing the impersonation_chain param.

  • remove delegate_to from GCP operators and hooks (#30748)

4.3.2

Misc

  • Deprecate 'delegate_to' param in GCP operators and update docs (#29088)

4.3.1

Misc

  • Remove outdated compat imports/code from providers (#28507)

4.3.0

Features

  • Add _serialize_cell method to TrinoHook and PrestoHook (#27724)

Bug Fixes

  • Bump common.sql provider to 1.3.1 (#27888)

4.2.0

Note

This release of provider is only available for Airflow 2.3+ as explained in the Apache Airflow providers support policy.

Misc

  • Move min airflow version to 2.3.0 for all providers (#27196)

  • Bump Trino version to fix non-working DML queries (#27168)

Features

  • Add SQLExecuteQueryOperator (#25717)

4.1.0

Features

  • trino: Support CertificateAuthentication in the trino hook (#26246)

4.0.1

Features

  • Add common-sql lower bound for common-sql (#25789)

Bug Fixes

  • Fix placeholders in 'TrinoHook', 'PrestoHook', 'SqliteHook' (#25939)

4.0.0

Breaking changes

Deprecated hql parameter has been removed in get_records, get_first, get_pandas_df and run methods of the TrinoHook.

  • Deprecate hql parameters and synchronize DBApiHook method APIs (#25299)

Features

  • Unify DbApiHook.run() method with the methods which override it (#23971)

3.1.0

Features

  • Move all SQL classes to common-sql provider (#24836)

  • Add test_connection method to Trino hook (#24583)

  • Add 'on_kill()' to kill Trino query if the task is killed (#24559)

  • Add TrinoOperator (#24415)

3.0.0

Breaking changes

Note

This release of provider is only available for Airflow 2.2+ as explained in the Apache Airflow providers support policy.

2.3.0

Features

  • TrinoHook add authentication via JWT token and Impersonation  (#23116)

  • Make presto and trino compatible with airflow 2.1 (#23061)

Bug Fixes

2.2.0

Features

  • Pass X-Trino-Client-Info in trino hook (#22535)

2.1.2

Bug Fixes

  • Fix mistakenly added install_requires for all providers (#22382)

2.1.1

Misc

  • Add Trove classifiers in PyPI (Framework :: Apache Airflow :: Provider)

2.1.0

Features

  • Add GCSToTrinoOperator (#21704)

Misc

  • Support for Python 3.10

2.0.2

Bug Fixes

  • Properly handle verify parameter in TrinoHook (#18791)

2.0.1

Misc

  • Optimise connection importing for Airflow 2.2.0

2.0.0

Breaking changes

  • Auto-apply apply_default decorator (#15667)

Warning

Due to apply_default decorator removal, this version of the provider requires Airflow 2.1.0+. If your Airflow version is < 2.1.0, and you want to install this provider version, first upgrade Airflow to at least version 2.1.0. Otherwise your Airflow package version will be upgraded automatically and you will have to manually run airflow upgrade db to complete the migration.

1.0.0

Initial version of the provider.

Was this entry helpful?