Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 44B341862B for ; Wed, 17 Jun 2015 18:03:06 +0000 (UTC) Received: (qmail 77377 invoked by uid 500); 17 Jun 2015 18:03:01 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 77271 invoked by uid 500); 17 Jun 2015 18:03:01 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 77066 invoked by uid 99); 17 Jun 2015 18:03:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2015 18:03:01 +0000 Date: Wed, 17 Jun 2015 18:03:00 +0000 (UTC) From: "Deneche A. Hakim (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-3304) improve org.apache.drill.exec.expr.TypeHelper error messages when UnsupportedOprationException is thrown MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)