[
https://issues.apache.org/jira/browse/IGNITE-18705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maksim Zhuravkov updated IGNITE-18705:
--------------------------------------
Description:
Current implementation of TypeUtils.toInternal/fromInternal is error prone
because it allows passing incorrect combination of storage types and values.
It would be beneficial to to enumerate all currently supported combinations of
(storage type, value ) and throw an error when fromInternal/toInternal
encounter some unknown/invalid/unsupported data.
was:
Current implementation of TypeUtils.toInternal/fromInternal is error prone
because it allows passing incorrect combination of storage types and values.
It would be beneficial to to enumerate all currently supported combinations of
(storage type, value ) and throw an error when .
> Sql. Enumerate all supported types in TypeUtils.fromInternal/toInternal
> -----------------------------------------------------------------------
>
> Key: IGNITE-18705
> URL: https://issues.apache.org/jira/browse/IGNITE-18705
> Project: Ignite
> Issue Type: Improvement
> Components: sql
> Affects Versions: 3.0.0-beta2
> Reporter: Maksim Zhuravkov
> Priority: Minor
> Labels: calcite3-required, ignite-3
>
> Current implementation of TypeUtils.toInternal/fromInternal is error prone
> because it allows passing incorrect combination of storage types and values.
> It would be beneficial to to enumerate all currently supported combinations
> of (storage type, value ) and throw an error when fromInternal/toInternal
> encounter some unknown/invalid/unsupported data.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)