[jira] [Updated] (IGNITE-18705) Sql. Enumerate all supported types in TypeUtils.fromInternal/toInternal

2025-04-14 Thread Andrey Mashenkov (Jira)


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

Andrey Mashenkov updated IGNITE-18705:
--
Labels: ignite-3  (was: calcite3-required ignite-3)

> 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
>Reporter: Maksim Zhuravkov
>Priority: Minor
>  Labels: 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)


[jira] [Updated] (IGNITE-18705) Sql. Enumerate all supported types in TypeUtils.fromInternal/toInternal

2023-02-03 Thread Maksim Zhuravkov (Jira)


 [ 
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)


[jira] [Updated] (IGNITE-18705) Sql. Enumerate all supported types in TypeUtils.fromInternal/toInternal

2023-02-03 Thread Maksim Zhuravkov (Jira)


 [ 
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 .


  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 otherwise.



> 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 .



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