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 8E79711041 for ; Tue, 16 Sep 2014 05:48:35 +0000 (UTC) Received: (qmail 5877 invoked by uid 500); 16 Sep 2014 05:48:35 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 5809 invoked by uid 500); 16 Sep 2014 05:48:35 -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 5793 invoked by uid 99); 16 Sep 2014 05:48:34 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2014 05:48:34 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id B9E7E1DB848; Tue, 16 Sep 2014 05:48:32 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============1825034443206112220==" MIME-Version: 1.0 Subject: Re: Review Request 25329: HIVE-7932: It may cause NP exception when add accessed columns to ReadEntity From: "Xiaomeng Huang" To: "Szehon Ho" , "Prasad Mujumdar" , "Brock Noland" Cc: "cheng xu" , "hive" , "Xiaomeng Huang" Date: Tue, 16 Sep 2014 05:48:32 -0000 Message-ID: <20140916054832.7801.80551@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Xiaomeng Huang" X-ReviewGroup: hive X-ReviewRequest-URL: https://reviews.apache.org/r/25329/ X-Sender: "Xiaomeng Huang" References: <20140915112913.7803.80701@reviews.apache.org> In-Reply-To: <20140915112913.7803.80701@reviews.apache.org> Reply-To: "Xiaomeng Huang" X-ReviewRequest-Repository: hive-git --===============1825034443206112220== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25329/ ----------------------------------------------------------- (Updated Sept. 16, 2014, 5:48 a.m.) Review request for hive, Brock Noland, Prasad Mujumdar, and Szehon Ho. Changes ------- add a test testQueryView1 Repository: hive-git Description ------- When I execute a query with view join, the view's type is table, but tableToColumnAccessMap will not store view's name, so it will throw null pointer exception Diffs (updated) ----- ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java 392f7ce ql/src/test/org/apache/hadoop/hive/ql/parse/TestColumnAccess.java PRE-CREATION Diff: https://reviews.apache.org/r/25329/diff/ Testing ------- Thanks, Xiaomeng Huang --===============1825034443206112220==--