Skip to content

Unimplemented error when the output table contains timestamp with timezone #787

@Ke-Wng

Description

@Ke-Wng

Describe the bug, including details regarding any error messages, version, and platform.

Description

When we create a table with the following schema (the ts column is a timestamp with a time zone):

Image

Then we query this table, its output will report unimplemented error:

Image

But if we change the flight sql jdbc driver from 18.3.0 to 18.2.0 or earlier, the ouput is just fine.

Plantform

  • Client: DBeaver Community Edition 25.1.0
  • Operating System: Windows 10 19045.5965
  • Database: datalayers (our proprietary database)
  • Driver: flight-sql-jdbc-driver 18.3.0

Potential reasons

The error messages suggest the issue stems from Arrow-Java 18.3.0 is dependent on Calcite-Avatica 1.26.0. It appears Calcite-Avatica 1.26.0 doesn't support timestamp types with timezone in query result sets. In contrast, Arrow-Java 18.2.0 and earlier versions rely on Calcite-Avatica 1.25.0 (as seen in #634), which explains why their query result sets are correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions