Skip to main content

Provider for Apache Airflow. Implements apache-airflow-providers-trino package

Project description

Package apache-airflow-providers-trino

Release: 4.2.0

Trino

Provider package

This is a provider package for trino provider. All classes for this provider package are in airflow.providers.trino python package.

You can find package information and changelog for the provider in the documentation.

Installation

You can install this package on top of an existing Airflow 2 installation (see Requirements below for the minimum Airflow version supported) via pip install apache-airflow-providers-trino

The package supports the following python versions: 3.7,3.8,3.9,3.10

Requirements

PIP package

Version required

apache-airflow

>=2.3.0

apache-airflow-providers-common-sql

>=1.3.0

pandas

>=0.17.1

trino

>=0.318.0

Cross provider package dependencies

Those are dependencies that might be needed in order to use all the features of the package. You need to install the specified provider packages in order to use them.

You can install such cross-provider dependencies when installing from PyPI. For example:

pip install apache-airflow-providers-trino[common.sql]

Dependent package

Extra

apache-airflow-providers-common-sql

common.sql

apache-airflow-providers-google

google

Changelog

4.2.0

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

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)

1.0.0

Initial version of the provider.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apache-airflow-providers-trino-4.2.0.tar.gz (18.0 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page