[
https://issues.apache.org/jira/browse/ASTERIXDB-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17733547#comment-17733547
]
ASF subversion and git services commented on ASTERIXDB-3214:
------------------------------------------------------------
Commit 4f6da369855ac89f0c0f34c1f10463cf797005bc in asterixdb's branch
refs/heads/master from Wail Alkowaileet
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=4f6da36985 ]
[MULTIPLE ISSUES] Fixes for handling anti-matters in columnar datasets
- user model changes: no
- storage format changes: no
- interface changes: yes
Details:
- ASTERIXDB-3214: Avoid skipping non-key columns when
anti-matter was encountered
- ASTERIXDB-3213: Use single PK reader for both the
cursor and the assembler
- ASTERIXDB-3212: Account for offset sizes for
variable-length PKs in columnar datasets
Change-Id: If7dec034a2d75c80688523b19be6fdc38f077a65
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/17599
Integration-Tests: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Reviewed-by: Wail Alkowaileet <[email protected]>
Reviewed-by: Murtadha Al Hubail <[email protected]>
> Do not skip non-key columns if anti-matter was encountered
> -----------------------------------------------------------
>
> Key: ASTERIXDB-3214
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-3214
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: STO - Storage
> Affects Versions: 0.9.9
> Reporter: Wail Y. Alkowaileet
> Assignee: Wail Y. Alkowaileet
> Priority: Major
> Fix For: 0.9.9
>
>
> Currently, the method markAsDeleted in LSMColumnBTreeRangeSearchCursor has
> the following implementation:
> {code:java}
> protected void markAsDeleted(PriorityQueueElement e) throws
> HyracksDataException {
> if (isMemoryComponent[e.getCursorIndex()]) {
> super.markAsDeleted(e);
> return;
> }
> IColumnTupleIterator columnTuple = (IColumnTupleIterator) e.getTuple();
> columnTuple.skip(1);
> } {code}
> The problem here is that if *columnTuple* is an anti-matter, we will skip
> non-key columns that do not belong to the anti-matter (as anti-matter tuples
> do not have anything besides the PKs). So, this should only skip non-key
> columns if the tuple is not an anti-matter one.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)