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

Clarify UPDATE statement support for JDBC connectors #19341

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

blvckcoffee
Copy link
Member

Description

  • Add docs for update statements to JDBC connectors #19263 added support for UPDATE statements to docs pages for several JDBC connectors. This documentation is incomplete and more specific detail of UPDATE support is required. This PR creates a fragment detailing UPDATE support limitations.

Additional context and related issues

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

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.

Mostly okay but still needs clarification and confirmation from @vlad-lyutenko

UPDATE table SET col1 = 1 WHERE col3 = 1 AND col2 = 3
```

All column values of a table row can not be updated simultaneously. The
Copy link
Member

Choose a reason for hiding this comment

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

All?

You mean not more than one?

Copy link
Contributor

Choose a reason for hiding this comment

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

it could be more then one but not all columns :
like if have 6 columns in table we can update 5, 4, ... simultaneously, but not 6

Copy link
Member Author

Choose a reason for hiding this comment

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

I meant all. You can update multiple columns simultaneously. The distinction is that you can't update every column in the table simultaneously.

@blvckcoffee blvckcoffee force-pushed the jj/clarify-update-support branch from 5c94005 to 1a1c120 Compare October 11, 2023 14:06
@mosabua
Copy link
Member

mosabua commented Oct 11, 2023

Still more clarification needed @vlad-lyutenko and @blvckcoffee ...

@blvckcoffee blvckcoffee force-pushed the jj/clarify-update-support branch from 1a1c120 to c3b27d3 Compare October 12, 2023 14:42
@blvckcoffee blvckcoffee requested a review from mosabua October 12, 2023 14:42
@blvckcoffee blvckcoffee force-pushed the jj/clarify-update-support branch from c3b27d3 to 63829b1 Compare October 12, 2023 16:01
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.

Looks good now

@mosabua mosabua merged commit 17005ae into trinodb:master Oct 12, 2023
7 checks passed
@github-actions github-actions bot added this to the 430 milestone Oct 12, 2023
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.

4 participants