Skip to content

[Java][FlightSQL] Column Duplication When Selecting from no result record in Arrow Flight SQL JDBC Driver #44

@mingnuj

Description

@mingnuj

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

I encountered an issue when working with Arrow Flight SQL, and I would appreciate your help.

I created a test_table with the following columns:

CREATE TABLE default.public.test_table (col1 int);

When I run a SELECT * query without inserting any data into the table, the columns appear duplicated.
I get the following output:
image

I am developing the database myself, using Rust and connecting through FlightSQL.
When executing SELECT clause and the table is empty, I handle this by returning an endpoint with empty endpoint in the get_flight_info method.

This did not occur in Arrow Flight SQL JDBC Driver versions prior to 15.0.0, but it started happening with version 15.0.0.

Component(s)

Java

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions