You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Daniel Barclay (Drill/MapR) (JIRA)" <ji...@apache.org> on 2015/02/13 01:41:11 UTC

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

Daniel Barclay (Drill/MapR) created DRILL-2240:
--------------------------------------------------

             Summary: 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/MapR)
            Assignee: Daniel Barclay (Drill/MapR)
            Priority: Minor


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)