You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Pereslegin (Jira)" <ji...@apache.org> on 2023/09/06 12:18:00 UTC

[jira] [Updated] (IGNITE-20356) Sql. Replace the RowHandler "set" operation with "append".

     [ https://issues.apache.org/jira/browse/IGNITE-20356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Pereslegin updated IGNITE-20356:
--------------------------------------
    Description: 
In IGNITE-19791, a wrapper over {{BinaryTuple}} was added.

This wrapper ({{BinaryTupleRowWrapper}}) does not support the "{{set()}}" method

Instead of using "{{set(int, RowT, Object)}}" method, we can use the "{{append(RowT, Object)}}" method to add fields sequentially.

To add this method we need:
 * Implement an efficient addition of field values to BinaryTuple if it is not implemented yet.
 * Remove the {{RowHandler#set()}} method and rework all related code/tests to use the {{RowHandler#append()}} method.

  was:
In IGNITE-19791, a wrapper over BinaryTuple was added.

This wrapper (BinaryTupleRowWrapper) does not support the "set()" method

Instead of using "set(int, RowT, Object)" method, we can use the "append(RowT, Object)" method to add fields sequentially.

To add this method we need:
 * Implement an efficient addition of field values to BinaryTuple if it is not implemented yet.
 * Remove the RowHandler#set() method and rework all related code/tests to use the "RowHandler#append()" method.


> Sql. Replace the RowHandler "set" operation with "append".
> ----------------------------------------------------------
>
>                 Key: IGNITE-20356
>                 URL: https://issues.apache.org/jira/browse/IGNITE-20356
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Pavel Pereslegin
>            Priority: Major
>              Labels: ignite-3
>
> In IGNITE-19791, a wrapper over {{BinaryTuple}} was added.
> This wrapper ({{BinaryTupleRowWrapper}}) does not support the "{{set()}}" method
> Instead of using "{{set(int, RowT, Object)}}" method, we can use the "{{append(RowT, Object)}}" method to add fields sequentially.
> To add this method we need:
>  * Implement an efficient addition of field values to BinaryTuple if it is not implemented yet.
>  * Remove the {{RowHandler#set()}} method and rework all related code/tests to use the {{RowHandler#append()}} method.



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