drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deneche A. Hakim (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-3304) improve org.apache.drill.exec.expr.TypeHelper error messages when UnsupportedOprationException is thrown
Date Thu, 18 Jun 2015 15:58:00 GMT

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

Deneche A. Hakim updated DRILL-3304:
------------------------------------
    Attachment: DRILL-3304.2.patch.txt

used buildErrorMessage() in more places in TypeHelper. I did left some exceptions that had
more meaningful error messages

> improve org.apache.drill.exec.expr.TypeHelper error messages when UnsupportedOprationException
is thrown
> --------------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-3304
>                 URL: https://issues.apache.org/jira/browse/DRILL-3304
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Execution - Data Types
>    Affects Versions: 1.0.0
>            Reporter: Deneche A. Hakim
>            Assignee: Deneche A. Hakim
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: DRILL-3304.1.patch.txt, DRILL-3304.2.patch.txt
>
>
> TypeHelper contains several helper methods that take as parameter a MajorType. When the
received type is incorrect, most helper methods will throw an UnsupportedOperationException
with an empty message.
> The purpose of this Jira is to add proper messages to the thrown exceptions.



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

Mime
View raw message