Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not get column MetaData when execute a desc query #1776

Closed
JaynLau opened this issue Aug 20, 2024 · 1 comment · Fixed by #1785
Closed

Can not get column MetaData when execute a desc query #1776

JaynLau opened this issue Aug 20, 2024 · 1 comment · Fixed by #1785
Assignees
Labels
Milestone

Comments

@JaynLau
Copy link

JaynLau commented Aug 20, 2024

Describe the bug

When log4j2 jdbc appender insert logs into clickhouse, clickhouse use a "desc ({SQL})" statement to get column MetaData, but clickhouse-java-0.6.4 dropped !response.getColumns().isEmpty() in ClickHouseStatementImpl.updateResult(), then getMetaData() return empty!

clickhouse-java-0.6.3:
图片
clickhouse-java-0.6.4:
图片

log4j2 can not get the column meta data now!!!

Configuration

Environment

  • Client version: 0.6.4
@JaynLau JaynLau added the bug label Aug 20, 2024
@chernser
Copy link
Contributor

@JaynLau thank you for reporting!
Will fix.

@chernser chernser self-assigned this Aug 21, 2024
@chernser chernser modified the milestones: 0.7.0, 0.6.5 Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants