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

Global Attributes refactor for write operation(execute/RPC API) #90

Open
longquanzheng opened this issue Nov 11, 2023 · 0 comments
Open

Comments

@longquanzheng
Copy link
Contributor

longquanzheng commented Nov 11, 2023

  1. support multi rows
  2. Postgres doesn't have a single upsert command. We need to change setXXX semantic from upsert to update, requiring all rows are present , return error if not.
  3. for now limits the error handling to always error+retry on update fails at conflict(e.g. unique constraint). In the future, we may support more options, like DO NOTHING or set update etc.
  4. in the future also support insert mode
  5. in the future we can even support upsert mode -- using multiple SQL command in Postgres
@longquanzheng longquanzheng changed the title Global Attributes refactor Global Attributes refactor for write operation(execute/RPC API) Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant