trinodb / trino

Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
https://trino.io
Apache License 2.0
10.49k stars 3.02k forks source link

Add InfluxDB Connector #24220

Open k3rnL opened 12 hours ago

k3rnL commented 12 hours ago

Description

This PR introduces a new connector for InfluxDB, enabling Trino to query time-series data stored in InfluxDB. InfluxDB is a widely used time-series database but diverges from many traditional database standards, requiring a tailored approach to integration.

Additional context and related issues

I must note that most of the work was made in the past, but the PR was never finalized #15549 I have mostly only rebased the code, fixed tests and adapt the code to the new requirements. My addition is the support for schema creation and schema/table destruction.

Release notes

( ) Release notes are required, with the following suggested text:

## Section
* Add InfluxDB connector. ({issue}`issuenumber`)