You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2014/09/18 21:04:34 UTC

[jira] [Commented] (OPTIQ-413) Add RelDataTypeSystem plugin, allowing different max precision of a DECIMAL

    [ https://issues.apache.org/jira/browse/OPTIQ-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14139343#comment-14139343 ] 

Julian Hyde commented on OPTIQ-413:
-----------------------------------

Adding interface RelDataTypeSystem. The constructor of RelDataTypeFactoryImpl now takes a RelDataTypeSystem. Most applications will use RelDataTypeSystem.DEFAULT if you like.

Also adding a new connection property, "typeSystem", and adding a method FrameworkConfig.getTypeSystem().

> Add RelDataTypeSystem plugin, allowing different max precision of a DECIMAL
> ---------------------------------------------------------------------------
>
>                 Key: OPTIQ-413
>                 URL: https://issues.apache.org/jira/browse/OPTIQ-413
>             Project: Optiq
>          Issue Type: Bug
>            Reporter: Laljo John Pullokkaran
>            Assignee: Julian Hyde
>         Attachments: OPTIQ-413.patch
>
>
> Hive has different max scale/precision than Optiq.
> This patch just changes it to Hive values.
> This is most probably not how to address this. May be we need some setter methods or factory for this.
> This patch is just to capture the type issues surrounding precision/scale in Optiq w.r.t Hive.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)