Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 57D8A200BF4 for ; Fri, 6 Jan 2017 09:15:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5674B160B4C; Fri, 6 Jan 2017 08:15:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A214E160B1F for ; Fri, 6 Jan 2017 09:14:59 +0100 (CET) Received: (qmail 19916 invoked by uid 500); 6 Jan 2017 08:14:58 -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 19904 invoked by uid 99); 6 Jan 2017 08:14:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2017 08:14:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B0EC92C1F5A for ; Fri, 6 Jan 2017 08:14:58 +0000 (UTC) Date: Fri, 6 Jan 2017 08:14:58 +0000 (UTC) From: "Flow Wei (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-4039) Query fails when non-ascii characters are used in string literals MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 06 Jan 2017 08:15:00 -0000 [ https://issues.apache.org/jira/browse/DRILL-4039?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1580= 3940#comment-15803940 ]=20 Flow Wei commented on DRILL-4039: --------------------------------- Hi, can we merge this patch?=20 I have tested this patch and deployed to production for a period of time, i= t work fine for me. > Query fails when non-ascii characters are used in string literals > ----------------------------------------------------------------- > > Key: DRILL-4039 > URL: https://issues.apache.org/jira/browse/DRILL-4039 > Project: Apache Drill > Issue Type: Bug > Components: Client - JDBC > Affects Versions: 1.1.0 > Environment: Linux lnxx64r6 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue= May 10 15:42:40 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux > Reporter: Sergio Lob > Attachments: DRILL-4039.patch.txt > > > The following query against DRILL returns this error: > SYSTEM ERROR: CalciteException: Failed to encode '=D0=9D=D0=90=D0=A1=D0= =A2=D0=A0=D0=9E=D0=95=D0=BD=D0=B8=D0=B5' in character set 'ISO-8859-1' > cc39118a-cde6-4a6e-a1d6-4b6b7e847b8a on maprd > Query is: > =C2=A0 =C2=A0SELECT > =C2=A0 T1.`F01INT`, > =C2=A0 T1.`F02UCHAR_10`, > =C2=A0 T1.`F03UVARCHAR_10` > =C2=A0 =C2=A0FROM > =C2=A0 DPRV64R6_TRDUNI01T T1 > =C2=A0 =C2=A0WHERE > =C2=A0 (T1.`F03UVARCHAR_10` =3D =C2=A0'=D0=9D=D0=90=D0=A1=D0=A2=D0=A0=D0= =9E=D0=95=D0=BD=D0=B8=D0=B5') > =C2=A0 =C2=A0ORDER BY > =C2=A0 T1.`F01INT`; > This issue looks similar to jira HIVE-12207. > Is there a fix or workaround for this? -- This message was sent by Atlassian JIRA (v6.3.4#6332)