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 102AF6ECF for ; Thu, 16 Jun 2011 02:32:19 +0000 (UTC) Received: (qmail 75126 invoked by uid 500); 16 Jun 2011 02:32:18 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 75094 invoked by uid 500); 16 Jun 2011 02:32:18 -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 75084 invoked by uid 99); 16 Jun 2011 02:32:18 -0000 Received: from reviews.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2011 02:32:18 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id CEE421C00B7; Thu, 16 Jun 2011 02:32:20 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============8845298173075495474==" MIME-Version: 1.0 Subject: Re: Review Request: HIVE-872: Allow BIGINT constants From: "Syed Albiz" To: "John Sichi" Date: Thu, 16 Jun 2011 02:32:20 -0000 Message-ID: <20110616023220.13641.51561@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org X-ReviewRequest-URL: https://reviews.apache.org/r/889/ Cc: "Syed Albiz" ,"hive" In-Reply-To: <20110615002701.13642.4770@reviews.apache.org> References: <20110615002701.13642.4770@reviews.apache.org> --===============8845298173075495474== 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/889/ ----------------------------------------------------------- (Updated 2011-06-16 02:32:20.778571) Review request for hive and John Sichi. Changes ------- Added ORDER BY to testcase & regenerated output Summary ------- Added a rule to the lexical grammar to allow BIGINT constants ending with '= L', and a clause to the TypeCheckProcFactory to ensure it gets interpreted = properly. This addresses bug HIVE-872. https://issues.apache.org/jira/browse/HIVE-872 Diffs (updated) ----- ql/src/java/org/apache/hadoop/hive/ql/exec/UnionOperator.java 2462517 = ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java ec816e9 = ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFCoalesce.java= f46c16c = ql/src/test/queries/clientpositive/type_widening.q PRE-CREATION = ql/src/test/results/clientpositive/type_widening.q.out PRE-CREATION = Diff: https://reviews.apache.org/r/889/diff Testing ------- TestCliDriver passes, previous behaviour was to accept bigint constants spe= cified without 'L', which is also preserved, so adding additional tests for= this case seems unnecessary. Thanks, Syed --===============8845298173075495474==--