Evgeny Stanilovsky created IGNITE-16635:
-------------------------------------------

             Summary: 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


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