You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksandr Polovtcev (Jira)" <ji...@apache.org> on 2023/07/04 14:10:00 UTC
[jira] [Assigned] (IGNITE-19810) Don't store BinaryRow as a single array
[ https://issues.apache.org/jira/browse/IGNITE-19810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksandr Polovtcev reassigned IGNITE-19810:
--------------------------------------------
Assignee: Aleksandr Polovtcev
> Don't store BinaryRow as a single array
> ---------------------------------------
>
> Key: IGNITE-19810
> URL: https://issues.apache.org/jira/browse/IGNITE-19810
> Project: Ignite
> Issue Type: Improvement
> Reporter: Ivan Bessonov
> Assignee: Aleksandr Polovtcev
> Priority: Major
> Labels: ignite-3
>
> Right now, binary row manipulations lead to garbage byte[] instances, because schema version is prepended as 4 bytes in the beginning of the array. This is absolutely unnecessary and there are no benefits to such approach.
> Methods `org.apache.ignite.internal.schema.BinaryRow#bytes` / `org.apache.ignite.internal.schema.BinaryRow#byteBuffer` are a part of a very old design, we should revisit them, and hopefully remove them. This will affect serialization, but it's worth it imo.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)