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 662B518D37 for ; Mon, 13 Jul 2015 16:36:05 +0000 (UTC) Received: (qmail 56795 invoked by uid 500); 13 Jul 2015 16:36:05 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 56771 invoked by uid 500); 13 Jul 2015 16:36:05 -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 56761 invoked by uid 99); 13 Jul 2015 16:36:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2015 16:36:05 +0000 Date: Mon, 13 Jul 2015 16:36:05 +0000 (UTC) From: "Parth Chandra (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-2862) Convert_to/Convert_From throw assertion when an incorrect encoding type is specified 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-2862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Parth Chandra updated DRILL-2862: --------------------------------- Attachment: (was: DRILL-2862.2.patch.txt) > Convert_to/Convert_From throw assertion when an incorrect encoding type is specified > ------------------------------------------------------------------------------------ > > Key: DRILL-2862 > URL: https://issues.apache.org/jira/browse/DRILL-2862 > Project: Apache Drill > Issue Type: Bug > Components: Execution - Data Types > Reporter: Neeraja > Assignee: Parth Chandra > Fix For: 1.2.0 > > Attachments: DRILL-2862.3.patch.txt > > > Below is the error from SQLLine. Replacing UTF-8 to UTF8 works fine. > The error message need to accurately represent the problem. > 0: jdbc:drill:> select Convert_from(t.address.state,'UTF-8') from customers t limit 10; > Query failed: AssertionError: > Error: exception while executing query: Failure while executing query. (state=,code=0) -- This message was sent by Atlassian JIRA (v6.3.4#6332)