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 Tupitsyn (Jira)" <ji...@apache.org> on 2023/05/22 08:25:00 UTC

[jira] [Resolved] (IGNITE-16152) Thin 3.0: Optimize server-side Tuple handling using known schema version

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

Pavel Tupitsyn resolved IGNITE-16152.
-------------------------------------
    Resolution: Not A Problem

Not a problem anymore - fixed by IGNITE-18925

> Thin 3.0: Optimize server-side Tuple handling using known schema version
> ------------------------------------------------------------------------
>
>                 Key: IGNITE-16152
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16152
>             Project: Ignite
>          Issue Type: Improvement
>          Components: thin client
>    Affects Versions: 3.0.0-alpha3
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0.0-beta2
>
>
> Thin client protocol is schema-aware, but the known schema is thrown away on the server after deserialization, and Table API has to match it against schemas again.
> *SchemaAware* interface can be used to preserve known schema when passing tuples to the Table API (see how TupleMarshallerImpl checks for SchemaAware).
> *Example: table.Upsert(Tuple t)*
> # Client: match user tuple to schema, serialize with schema version, send to server
> # Server: read schema version, read tuple data, create Tuple, throw away schema version, pass to Table API
> # Server: match tuple to schema



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