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 Wed, 17 Jun 2015 18:03: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.1.patch.txt

all unit tests are passing along with functional/tpch100

For example DRILL-3293, the following error message:
{noformat}
Error: SYSTEM ERROR:

Fragment 0:0

[Error Id: 96897b46-70c0-4373-9d85-ca7501cb1479 on atsqa4-133.qa.lab:31010] (state=,code=0)
{noformat}

will be replaced by this one:
{noformat}
Error: SYSTEM ERROR: UnsupportedOperationException: Unable to get value vector class for minor
type [NULL] and mode [OPTIONAL]

Fragment 0:0

[Error Id: 446c496e-fffd-47e3-bc9f-a02a134db9b6 on 10.250.50.54:31010] (state=,code=0)
{noformat}

> 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
>
>
> 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