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

Null handing issue with Partial upserts and partialUpsertStrategies #14924

Open
raghukn opened this issue Jan 27, 2025 · 0 comments
Open

Null handing issue with Partial upserts and partialUpsertStrategies #14924

raghukn opened this issue Jan 27, 2025 · 0 comments

Comments

@raghukn
Copy link

raghukn commented Jan 27, 2025

As described in the partial update behavior - https://docs.pinot.apache.org/basics/data-import/upsert

Below case is described:

With partial upsert, if the value is null in either the existing record or the new coming record, Pinot will ignore the upsert strategy and the null value:

(null, newValue) -> newValue

(oldValue, null) -> oldValue

(null, null) -> null

Partial Update is very desirable. But this behavior of ignoring fields present in payload but has null value, is not desirable. The fact that some one is sending null value show he / she intends to overwrite existing value. Other wise they would not have sent this column / value in the first place.

How do we get this behavior work correctly and incoming null not ignored?

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