You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Parth Chandra (JIRA)" <ji...@apache.org> on 2015/04/06 22:48:14 UTC

[jira] [Updated] (DRILL-2240) Clarify "insufficient precision" message in CastVarCharDecimal

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

Parth Chandra updated DRILL-2240:
---------------------------------
    Fix Version/s:     (was: 1.0.0)
                   1.1.0

> Clarify "insufficient precision" message in CastVarCharDecimal
> --------------------------------------------------------------
>
>                 Key: DRILL-2240
>                 URL: https://issues.apache.org/jira/browse/DRILL-2240
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>            Reporter: Daniel Barclay (Drill)
>            Assignee: Daniel Barclay (Drill)
>            Priority: Minor
>             Fix For: 1.1.0
>
>
> The error message about insufficient precision in CastVarCharDecimal would be clearer  and shorter as something like
> "Precision of X digits is insufficient for the provided input of "XXXXX.XXXXX" (X total digits)."
> (The current form of the message is like: 
> "Precision is insufficient for the provided input: 123456789.987654321 Precision: 5 Total Digits: 9"
> That initially seemed to mean that 5 post-decimal digits and 9 total digits were allowed.)



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