You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladislav Pyatkov (Jira)" <ji...@apache.org> on 2022/10/28 10:57:00 UTC

[jira] [Comment Edited] (IGNITE-18005) ItDataTypesTest#testUnicodeStrings fails with IndexOutOfBoundsException

    [ https://issues.apache.org/jira/browse/IGNITE-18005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17625603#comment-17625603 ] 

Vladislav Pyatkov edited comment on IGNITE-18005 at 10/28/22 10:56 AM:
-----------------------------------------------------------------------

It is not exactly right, because the tombstone transforms to null value (it is not had to filter some specific way).
But the issue is in delete batch option, that passes a binary row with tuple contains null value and a key, but the removed value should pass as a null.


was (Author: v.pyatkov):
It is nor exactly right, because the tombstone transforms to null value (it is not had to filter some specific way).
But the issue is in delete batch option, that passes a binary row with tuple contains null value and a key, but the removed value should pass as a null.

> ItDataTypesTest#testUnicodeStrings fails with IndexOutOfBoundsException
> -----------------------------------------------------------------------
>
>                 Key: IGNITE-18005
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18005
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Alexander Lapin
>            Assignee: Vladislav Pyatkov
>            Priority: Major
>
> {code:java}
> Caused by: java.lang.IndexOutOfBoundsException: 4
>     at java.base/java.nio.HeapByteBuffer.get(HeapByteBuffer.java:166)
>     at org.apache.ignite.internal.schema.row.Row.findColumn(Row.java:516)
>     at org.apache.ignite.internal.schema.row.Row.stringValue(Row.java:288)
>     at org.apache.ignite.internal.schema.NativeTypeSpec$9.objectValue(NativeTypeSpec.java:134)
>     at org.apache.ignite.internal.schema.row.Row.value(Row.java:122)
>     at org.apache.ignite.internal.sql.engine.schema.IgniteTableImpl.toRow(IgniteTableImpl.java:284)
>     at org.apache.ignite.internal.sql.engine.exec.rel.TableScanNode.convert(TableScanNode.java:279)
>     at org.apache.ignite.internal.sql.engine.exec.rel.TableScanNode$SubscriberImpl.onNext(TableScanNode.java:246)
>     at org.apache.ignite.internal.sql.engine.exec.rel.TableScanNode$SubscriberImpl.onNext(TableScanNode.java:233)
>     at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
>     at org.apache.ignite.internal.table.distributed.storage.InternalTableImpl$PartitionScanPublisher$PartitionScanSubscription.lambda$scanBatch$2(InternalTableImpl.java:1182)
>     at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714)
>     ... 11 more
>  {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)