googleapis / googleapis/google-cloud-java

[java-bigtable] Add the ability to get Row cells in serverside order

Đang mở
#13,088 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
api: bigtable type: docs
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
154

Mô tả

Bigtable stores data in the following order:
1. lexicographically by row key
2. family creation order
3. lexicographically by qualifier
4. reverse chronological by timestamp

The family ordering is not guaranteed so the data client currently pre-processes each row to change the ordering of families to be lexicographic order. This makes it convenient to do binary searches for specific values.

Unfortunately, this has negative repercussions when combined with `cells_per_row_limit_filter` and `cells_per_row_offset_filter`. Those filters are executed on the server side using the family creation order.

At the very least we need to update our docs to caution users against using those filters outside of a chain that narrows it to a single family.

In addition we should expose the server ordering of the cells on each row as `Row#getRawCells()` (maybe with a better name).

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.