Skip to content

Question about the field names returned after the query #912

@SurelySomeday

Description

@SurelySomeday

Hello, I have another question to ask.
When I use jdbc, I found that using something like 'select t.name, t.sex from table t', jdbc will return 't.name' as the field name, which will cause it to fail to map to the correct field.
While adding 't.name as name' solves this problem, I'm designing the field 't.name' to be reduced to 'name'. Below is a comparison graph that I cut out from mysql-jdbc and clickhouse-jdbc.

in clickhouse

image

in mysql

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions