[
https://issues.apache.org/jira/browse/IGNITE-19756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Tupitsyn updated IGNITE-19756:
------------------------------------
Description:
[ClientTableCommon#writeSchema|https://github.com/apache/ignite-3/blob/317aca963ed9c87e14dd6eebd3284408fb550c8c/modules/client-handler/src/main/java/org/apache/ignite/client/handler/requests/table/ClientTableCommon.java#L75]
does not preserve the order of colocation columns. It assumes that key column
order is the same as colocation column order, which is not always true.
* Fix *writeSchema* somehow to specify the order of colocation columns (maybe
send their indices as a separate array)
* Fix Java client accordingly
was:
[ClientTableCommon#writeSchema|https://github.com/apache/ignite-3/blob/317aca963ed9c87e14dd6eebd3284408fb550c8c/modules/client-handler/src/main/java/org/apache/ignite/client/handler/requests/table/ClientTableCommon.java#L75]
does not preserve the order of colocation columns. It assumes that key column
order is the same as colocation column order, which is not always true.
* Fix *writeSchema* somehow to specify the order of colocation columns (maybe
send their indices as a separate array)
* Fix clients (.NET, Java, C++) accordingly
> Thin 3.0: Colocation column order is not preserved
> --------------------------------------------------
>
> Key: IGNITE-19756
> URL: https://issues.apache.org/jira/browse/IGNITE-19756
> Project: Ignite
> Issue Type: Bug
> Components: thin client
> Affects Versions: 3.0.0-beta1
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Priority: Critical
> Labels: ignite-3
> Fix For: 3.0.0-beta2
>
>
> [ClientTableCommon#writeSchema|https://github.com/apache/ignite-3/blob/317aca963ed9c87e14dd6eebd3284408fb550c8c/modules/client-handler/src/main/java/org/apache/ignite/client/handler/requests/table/ClientTableCommon.java#L75]
> does not preserve the order of colocation columns. It assumes that key
> column order is the same as colocation column order, which is not always true.
> * Fix *writeSchema* somehow to specify the order of colocation columns (maybe
> send their indices as a separate array)
> * Fix Java client accordingly
--
This message was sent by Atlassian Jira
(v8.20.10#820010)