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

Add Ignite connector #8323

Merged
merged 1 commit into from
Feb 22, 2023
Merged

Add Ignite connector #8323

merged 1 commit into from
Feb 22, 2023

Conversation

chenjian2664
Copy link
Contributor

@chenjian2664 chenjian2664 commented Jun 19, 2021

Fixes #8098

Add a connector for Apache Ignite.

@cla-bot cla-bot bot added the cla-signed label Jun 19, 2021
@chenjian2664 chenjian2664 self-assigned this Jun 19, 2021
@chenjian2664 chenjian2664 marked this pull request as draft June 20, 2021 05:34
@chenjian2664 chenjian2664 marked this pull request as ready for review June 20, 2021 08:03
@chenjian2664 chenjian2664 marked this pull request as draft June 24, 2021 02:38
Copy link
Member

@hashhar hashhar left a comment

Choose a reason for hiding this comment

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

Some initial comments in addition to existing ones

@chenjian2664 chenjian2664 marked this pull request as ready for review July 5, 2021 06:36
Copy link
Member

@hashhar hashhar left a comment

Choose a reason for hiding this comment

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

Thanks @chenjian2664 for working on this. This looks much better than expected for the initial version of a connector.

Some initial comments. Haven't taken a look at the test classes yet. Will do so later.

docs/src/main/sphinx/connector/ignite.rst Show resolved Hide resolved
docs/src/main/sphinx/connector/ignite.rst Show resolved Hide resolved
docs/src/main/sphinx/connector/ignite.rst Outdated Show resolved Hide resolved
docs/src/main/sphinx/connector/ignite.rst Outdated Show resolved Hide resolved
docs/src/main/sphinx/connector/ignite.rst Outdated Show resolved Hide resolved
docs/src/main/sphinx/connector/ignite.rst Outdated Show resolved Hide resolved
docs/src/main/sphinx/connector/ignite.rst Show resolved Hide resolved
docs/src/main/sphinx/connector/ignite.rst Outdated Show resolved Hide resolved
docs/src/main/sphinx/connector/ignite.rst Outdated Show resolved Hide resolved
docs/src/main/sphinx/connector/ignite.rst Outdated Show resolved Hide resolved
@hashhar
Copy link
Member

hashhar commented Aug 27, 2021

Thanks for picking this up again @chenjian2664 ❤️

Looks like there are some conflicts now.
Can you rebase your branch against latest master from Trino?

@chenjian2664
Copy link
Contributor Author

@hashhar Thanks. Can you help to look at it again? :)

Copy link
Member

@hashhar hashhar left a comment

Choose a reason for hiding this comment

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

Sorry for the delay in getting to this @chenjian2664.

Some initial comments.
Main ones are about some overrides in IgniteJdbcClient and the IgniteQueryRunner.
Will do another pass once those are addressed.

Copy link
Contributor Author

@chenjian2664 chenjian2664 left a comment

Choose a reason for hiding this comment

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

#8323 (comment)
@hashhar
Ignite not support CATS, so I must create table first then process a transactional insert here.

@martint martint added the roadmap Top level issues for major efforts in the project label Sep 21, 2021
@chenjian2664 chenjian2664 marked this pull request as draft November 3, 2021 06:09
@chenjian2664 chenjian2664 marked this pull request as ready for review November 14, 2021 11:59
@chenjian2664 chenjian2664 requested a review from hashhar November 15, 2021 07:03
Copy link
Member

@mosabua mosabua left a comment

Choose a reason for hiding this comment

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

From the docs perspective this is definitely good enough to merge. Nice job @chenjian2664 !

@chenjian2664
Copy link
Contributor Author

cc @martint @electrum

Copy link
Member

@kokosing kokosing left a comment

Choose a reason for hiding this comment

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

I am concerned about amount of code that is copied from jdbc connector. Can we try to reuse more code?

Copy link
Member

@kokosing kokosing left a comment

Choose a reason for hiding this comment

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

% last comment.

I will merge it after the release. Let's give some time to others to take a look if they like.

@bitsondatadev
Copy link
Member

Amazing work here @chenjian2664! Would you like to join the Trino Community Broadcast some time after this gets merged?

@chenjian2664
Copy link
Contributor Author

Amazing work here @chenjian2664! Would you like to join the Trino Community Broadcast some time after this gets merged?

Yes, of course!

Copy link
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.

Most comments are minor, but I strongly recommend adding char/varchar type mapping tests to this PR.

Also, please remove a redundant commit body. It's the same as the commit title.

plugin/trino-ignite/pom.xml Outdated Show resolved Hide resolved
docs/src/main/sphinx/connector/ignite.rst Outdated Show resolved Hide resolved
docs/src/main/sphinx/connector/ignite.rst Outdated Show resolved Hide resolved
docs/src/main/sphinx/connector/ignite.rst Outdated Show resolved Hide resolved
docs/src/main/sphinx/connector/ignite.rst Outdated Show resolved Hide resolved
@ebyhr ebyhr mentioned this pull request Feb 17, 2023
Copy link
Member

@kokosing kokosing left a comment

Choose a reason for hiding this comment

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

Please squash the commit and rebase to new release.

core/trino-server/src/main/provisio/trino.xml Outdated Show resolved Hide resolved
@chenjian2664 chenjian2664 requested a review from ebyhr February 21, 2023 05:08
@chenjian2664 chenjian2664 requested a review from ebyhr February 21, 2023 08:56
@chenjian2664
Copy link
Contributor Author

chenjian2664 commented Feb 21, 2023

web-ui-checks hit #16179

Copy link
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.

Looks good except for comments.

<dependency>
<groupId>org.apache.ignite</groupId>
<artifactId>ignite-core</artifactId>
<exclusions>
Copy link
Member

Choose a reason for hiding this comment

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

Reminder.

@ebyhr
Copy link
Member

ebyhr commented Feb 22, 2023

@chenjian2664 Thank you so much for working on this patiently!

Let me leave the final merge to @kokosing

@kokosing
Copy link
Member

Thank you @ebyhr for stepping in.

@chenjian2664 Please rebase and squash commits, once CI get green I will merge it. Thank you for collaboration! Great work!

@chenjian2664
Copy link
Contributor Author

Thank you for your patient guidance and professional review, without you I would not be able to do such an amazing work.
Thank you all for the great help !!
@kokosing @ebyhr @hashhar @findepi @mosabua

@martint martint merged commit b5ef0ac into trinodb:master Feb 22, 2023
@github-actions github-actions bot added this to the 408 milestone Feb 22, 2023
@chenjian2664 chenjian2664 deleted the add_ignite_connector branch February 24, 2023 06:47
@ebyhr ebyhr mentioned this pull request Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed docs enhancement New feature or request roadmap Top level issues for major efforts in the project
Development

Successfully merging this pull request may close these issues.

Add Apache Ignite connector
10 participants