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

3790 - Support CrateDB database plugin #3791

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

xdelox
Copy link

@xdelox xdelox commented Apr 8, 2024

Please add a meaningful description for your change here


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Run mvn clean install apache-rat:check to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
  • If you have a group of commits related to the same change, please squash your commits into one and force push your branch using git rebase -i.
  • Mention the appropriate issue in your description (for example: addresses #123), if applicable.

To make clear that you license your contribution under the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

@bamaer
Copy link
Contributor

bamaer commented Apr 14, 2024

Looks good, @xdelox. The only thing that seems missing is the doc page.

@xdelox
Copy link
Author

xdelox commented Apr 15, 2024

Looks good, @xdelox. The only thing that seems missing is the doc page.

@bamaer I think doc is ok now

@xdelox xdelox force-pushed the 3790-cratedb-connection branch 3 times, most recently from f7386ed to 133d536 Compare April 15, 2024 16:02
@xdelox xdelox marked this pull request as ready for review April 15, 2024 16:05
@bamaer
Copy link
Contributor

bamaer commented Apr 16, 2024

@xdelox would you mind adding the cratedb.adoc page to nav.adoc too please?

@xdelox
Copy link
Author

xdelox commented Apr 17, 2024

@xdelox would you mind adding the cratedb.adoc page to nav.adoc too please?

oh, I missed this out! now it's done ✅

@hansva hansva merged commit 1c1824c into apache:main Apr 17, 2024
3 checks passed
Comment on lines +83 to +87
public void sqlStatements() throws Exception {
executeUpdate(
"INSERT INTO foo (id, name, description) VALUES (1, 'Alice', 'test_description');");
Thread.sleep(1500); // need a break to make sure the data is there: unfortunately,
// CrateDB does not support transactions, rather it promote eventual consistency.

Choose a reason for hiding this comment

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

Hi, thanks for adding CrateDB support!

FYI: you can use refresh table foo after insert statement. https://cratedb.com/docs/crate/reference/en/5.6/general/dql/refresh.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants