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)

Reply via email to