Skip to content

If not implemented, null should not be returned #2286

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

Open
nieqiurong opened this issue Apr 7, 2025 · 1 comment · May be fixed by #2315
Open

If not implemented, null should not be returned #2286

nieqiurong opened this issue Apr 7, 2025 · 1 comment · May be fixed by #2315
Assignees
Labels
bug jdbc-v2 jdbc-v2 issues
Milestone

Comments

@nieqiurong
Copy link

nieqiurong commented Apr 7, 2025

https://github.com/ClickHouse/clickhouse-java/blob/7a139706364f2888450405542e8a3df0589653ee/jdbc-v2/src/main/java/com/clickhouse/jdbc/metadata/DatabaseMetaData.java#L1029C1-L1032C1

I see that there are two implementations in the driver package, and the other ClickHouseBaseMetaData implements the getIndexInfo logic, but the implementation of DatabaseMetaData returns null. It would be better to return an empty ResultSet

@chernser
Copy link
Contributor

Good day, @nieqiurong!
Thank you for reporting it!

@Paultagoras Paultagoras self-assigned this Apr 17, 2025
@chernser chernser modified the milestones: 0.8.4, 0.8.5 Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug jdbc-v2 jdbc-v2 issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants