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

Evgeny Stanilovsky updated IGNITE-16635:
----------------------------------------
    Summary: Sql. Refactor strong mapping between inner RelDataType and 
NativeType.  (was: Refactor strong mapping between inner RelDataType and 
NativeType.)

> Sql. Refactor strong mapping between inner RelDataType and NativeType.
> ----------------------------------------------------------------------
>
>                 Key: IGNITE-16635
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16635
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Evgeny Stanilovsky
>            Assignee: Konstantin Orlov
>            Priority: Major
>              Labels: ignite-3
>
> Now we have mappings between inner and native types, start point: 
> org.apache.ignite.internal.sql.engine.util.TypeUtils#nativeType
> this leads to all undefined types (like INTERVAL) are mapped to byte array 
> type:
> for example for such a a case:
> {noformat}
> select id::interval hour, id::interval year from person;
> {noformat}
> ResultSetMetadataImpl#fields will return List<ResultFieldMetadata> with only 
> _NativeType type();_  mapping.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to