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

BigTable: Behaviour of BTType.mutationsToRow is different compared to actual BT. #358

Open
anish749 opened this issue May 21, 2021 · 0 comments

Comments

@anish749
Copy link
Contributor

The mutationsToRow defined in BigTableType, assumes col qualifiers to be utf8 strings (for sorting), and sorts the set cell requests before applying.

The above code creates as many columns as there are set cells. So when mutations contain the same col but different cell timestamps, this breaks. The expected behaviour would be for one col to have all the cells that belong to that column with different cell timestamps.

The row has the column qualifiers sorted, but the mutations aren't applied after sorting the col qualifiers. Mutations to the same row are applied serially (batch write is forced to serialize mutations to the same row).

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