Skip to content

Update Ignite getTableProperties implementation#16359

Merged
ebyhr merged 1 commit intotrinodb:masterfrom
chenjian2664:ignite_op_tableproperties
Mar 6, 2023
Merged

Update Ignite getTableProperties implementation#16359
ebyhr merged 1 commit intotrinodb:masterfrom
chenjian2664:ignite_op_tableproperties

Conversation

@chenjian2664
Copy link
Copy Markdown
Contributor

Description

Update Ignite table properties raw sql, we can get the primary key directly from sys.indexes.

Additional context and related issues

Release notes

(x) This is not user-visible or docs only and no release notes are required.

@cla-bot cla-bot bot added the cla-signed label Mar 3, 2023
@chenjian2664 chenjian2664 requested a review from ebyhr March 3, 2023 09:45
@chenjian2664 chenjian2664 self-assigned this Mar 3, 2023
Copy link
Copy Markdown
Member

@ebyhr ebyhr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question, Ignite JDBC driver doesn't support providing primary kesy in DatabaseMetaData#getPrimaryKeys? It would be better to use it if supported.

@chenjian2664
Copy link
Copy Markdown
Contributor Author

Yes support, switched to use DatabaseMetaData#getPrimaryKeys, thanks!

@chenjian2664 chenjian2664 changed the title Update table properties raw sql in Ignite Update Ignite getTableProperties implementation Mar 3, 2023
Copy link
Copy Markdown
Member

@ebyhr ebyhr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you leave the motivation to the commit body?

@ebyhr ebyhr merged commit 2dac207 into trinodb:master Mar 6, 2023
@github-actions github-actions bot added this to the 410 milestone Mar 6, 2023
@chenjian2664 chenjian2664 deleted the ignite_op_tableproperties branch May 25, 2023 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants