You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Roman Puchkovskiy (Jira)" <ji...@apache.org> on 2022/12/26 07:59:00 UTC
[jira] [Commented] (IGNITE-17467) Return RowIds in MvPartitionStorage#scan() results
[ https://issues.apache.org/jira/browse/IGNITE-17467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17651956#comment-17651956 ]
Roman Puchkovskiy commented on IGNITE-17467:
--------------------------------------------
Thanks
> Return RowIds in MvPartitionStorage#scan() results
> --------------------------------------------------
>
> Key: IGNITE-17467
> URL: https://issues.apache.org/jira/browse/IGNITE-17467
> Project: Ignite
> Issue Type: Bug
> Reporter: Vladislav Pyatkov
> Assignee: Roman Puchkovskiy
> Priority: Major
> Labels: ignite-3
> Fix For: 3.0.0-beta2
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Row id is returned only for insert operation, but if you want to find a row id by Binary row is not possible.
> I sure, it has to be possible through scan operation. In that case, the scan operation can be used as a scan index.
> I would like to see API like:
> {code:java}
> Cursor<Tuple<RowId, BinaryRow>> scan(Predicate<BinaryRow> keyFilter, UUID txId) throws TxIdMismatchException, StorageException;
> Cursor<Tuple<RowId, BinaryRow>> scan(Predicate<BinaryRow> keyFilter, Timestamp timestamp) throws StorageException;
> {code}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)