Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-7984

Support Clickhouse using JDBC Storage Plugin

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.20.0
    • Storage - JDBC
    • None

    Description

      Trino(Formerly PrestoSQL, branched from Presto) has already supportted [Clickhouse|https://trino.io/docs/current/connector/clickhouse.html|https://trino.io/docs/current/connector/clickhouse.html],] using [clickhouse-jdbc|https://github.com/ClickHouse/clickhouse-jdbc|https://github.com/ClickHouse/clickhouse-jdbc]

      When connecting to clickhouse using drill jdbc plugin, found one uncompatible place:

      clickhouse-jdbc return constant string "default" when call getCatalogs, and return all databases when call getSchemas(input catalog is not used). All schemas will be appended after the "default" catalog, which will cause the query to fail.

      Attachments

        Activity

          People

            leon_wtf wtf
            leon_wtf wtf
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: