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

Evgeny Stanilovsky updated IGNITE-20134:
----------------------------------------
    Fix Version/s: 3.2
                       (was: 3.1)

> Only allow changing type of indexed column when indexed values representation 
> remains the same
> ----------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-20134
>                 URL: https://issues.apache.org/jira/browse/IGNITE-20134
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Roman Puchkovskiy
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.2
>
>
> When an attempt to change type of a column that is included in an index is 
> made, this should only be permitted if the representation of the column 
> values in the index will remain unchanged (and, hence, index rebuild will not 
> be needed).
> The following changes are acceptable:
> * integral->integral (as integral types are represented as varints)
> * integral->decimal (with enough precision) and float->double for SORTED 
> indices where the ordering remains the same
> * integral->decimal and decimal->decimal (with enough precision) for HASH 
> indices (requires IGNITE-20133)



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

Reply via email to