You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Evgeny Stanilovsky (Jira)" <ji...@apache.org> on 2022/03/01 16:36:00 UTC
[jira] [Updated] (IGNITE-16635) Sql. Refactor strong mapping between inner RelDataType and NativeType.
[ 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)