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 629FB18B14 for ; Thu, 5 Nov 2015 20:51:28 +0000 (UTC) Received: (qmail 42610 invoked by uid 500); 5 Nov 2015 20:51:28 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 42568 invoked by uid 500); 5 Nov 2015 20:51:28 -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 42539 invoked by uid 99); 5 Nov 2015 20:51:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Nov 2015 20:51:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D9B892C1F5F for ; Thu, 5 Nov 2015 20:51:27 +0000 (UTC) Date: Thu, 5 Nov 2015 20:51:27 +0000 (UTC) From: "Julian Hyde (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 [ https://issues.apache.org/jira/browse/DRILL-4039?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1499= 2449#comment-14992449 ]=20 Julian Hyde commented on DRILL-4039: ------------------------------------ Alright, I don't know what should happen in those cases. But now you know a= bout SQL's support for non-ascii characters maybe you can see what other da= tabases do. IIRC the Convert function is supposed to deal with character-se= t conversion. > 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 > > 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)