Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-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 B70CE18DD6 for ; Sun, 10 Apr 2016 00:06:25 +0000 (UTC) Received: (qmail 48931 invoked by uid 500); 10 Apr 2016 00:06:25 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 48907 invoked by uid 500); 10 Apr 2016 00:06:25 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 48895 invoked by uid 99); 10 Apr 2016 00:06:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Apr 2016 00:06:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 848CD2C14E1 for ; Sun, 10 Apr 2016 00:06:25 +0000 (UTC) Date: Sun, 10 Apr 2016 00:06:25 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-13434) BaseSemanticAnalyzer.unescapeSQLString doesn't unescape \u0000 style character literals. 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/HIVE-13434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15233785#comment-15233785 ] Ashutosh Chauhan commented on HIVE-13434: ----------------------------------------- +1 > BaseSemanticAnalyzer.unescapeSQLString doesn't unescape \u0000 style character literals. > ---------------------------------------------------------------------------------------- > > Key: HIVE-13434 > URL: https://issues.apache.org/jira/browse/HIVE-13434 > Project: Hive > Issue Type: Bug > Components: Parser > Affects Versions: 2.1.0 > Reporter: Kousuke Saruta > Assignee: Kousuke Saruta > Attachments: HIVE-13434.1.patch > > > BaseSemanticAnalyzer.unescapeSQLString method may have a fault. When "\u0061" style character literals are passed to the method, it's not unescaped successfully. > In Spark SQL project, we referenced the unescaping logic and noticed this issue (SPARK-14426) -- This message was sent by Atlassian JIRA (v6.3.4#6332)