Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 66A03478C for ; Mon, 9 May 2011 23:05:58 +0000 (UTC) Received: (qmail 43056 invoked by uid 500); 9 May 2011 23:05:58 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 43032 invoked by uid 500); 9 May 2011 23:05:58 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 43023 invoked by uid 99); 9 May 2011 23:05:58 -0000 Received: from reviews.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 May 2011 23:05:58 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 400661C0068; Mon, 9 May 2011 23:05:58 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============4352217025472835507==" MIME-Version: 1.0 Subject: Review Request: HIVE-2153. Stats JDBC LIKE queries should escape '_' and '%' From: "Ning Zhang" To: "Ning Zhang" , "hive" Date: Mon, 09 May 2011 23:05:58 -0000 Message-ID: <20110509230558.9130.54907@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org X-ReviewRequest-URL: https://reviews.apache.org/r/702/ --===============4352217025472835507== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/702/ ----------------------------------------------------------- Review request for hive. Summary ------- Escape '_' and '%' in the LIKE operands. = This addresses bug HIVE-2153. https://issues.apache.org/jira/browse/HIVE-2153 Diffs ----- trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java 1101220 = trunk/ql/src/java/org/apache/hadoop/hive/ql/stats/jdbc/JDBCStatsAggregato= r.java 1101220 = Diff: https://reviews.apache.org/r/702/diff Testing ------- passed the stats test suite, also tested it manually on mysql in addition t= o derby. = Thanks, Ning --===============4352217025472835507==--