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

Bulk limitations: no order guarenteed, and duplicate identifiers behavior is not defined #21

Open
galkoren opened this issue Mar 10, 2021 · 0 comments

Comments

@galkoren
Copy link
Contributor

galkoren commented Mar 10, 2021

We have 2 issues which are related to bulk handling.
They both could be "fixed" by having bulk size of 1.
They are also related to each other by their expected behavior: when we have a bulk with commands with duplicate Identifier (in this case, NAME), the user may expect these commands to take effect in order.

Bulk example:

NAME,FIELD1,FIELD2
"gal","a","x",
"gal","b",,

If the bulk size was 1, then the final result for entity "gal" would be: FIELD1:"b", FIELD2:"x".
However, today, the order is not guaranteed.

Moreover, if we have two commands with same Identifier ("gal"), it can also mess up any code that deals with maps where the key is Identifier (we suspect to have an issue but we didn't reproduce it yet).

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