Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
5.2.0
-
None
-
None
Description
While working on PHOENIX-6587, I found that splitting tables with local indexes on certain points will break the local indexing code, and result in incorrect query results.
When a table is pre-split by Phoenix, or automatically split by HBase, then split points always have a minimum length that is equal to the possible minimum length of the table rowkey.
The automatic split always happens at an existing rowkey, and SchemaUtil.processSplits() has code that approximates the same behaviour for pre-split tables.
However, it is still possible to split the table manually from HBase at points that do not satisfy the above requirement, which breaks local indexing.
Attachments
Attachments
Issue Links
- is related to
-
PHOENIX-6587 Handle explicit pre-splits for new salted tables and validate splits when creating salted tables on existing HBase tables
- Resolved
- relates to
-
PHOENIX-6684 When hbase pre-partition and Phoenix map the table,we select by local index will failed。
- Open