From issues-return-195666-archive-asf-public=cust-asf.ponee.io@hive.apache.org Wed Jul 15 09:06:03 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 875C118066B for ; Wed, 15 Jul 2020 11:06:02 +0200 (CEST) Received: (qmail 15495 invoked by uid 500); 15 Jul 2020 09:06:02 -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 15398 invoked by uid 99); 15 Jul 2020 09:06:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2020 09:06:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D6E174077F for ; Wed, 15 Jul 2020 09:06:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 53D9B780310 for ; Wed, 15 Jul 2020 09:06:00 +0000 (UTC) Date: Wed, 15 Jul 2020 09:06:00 +0000 (UTC) From: "Barnabas Maidics (Jira)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-23849) Hive skips the creation of ColumnAccessInfo when creating a view 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/HIVE-23849?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Barnabas Maidics updated HIVE-23849: ------------------------------------ Description:=20 When creating a view, Hive skips the creation of ColumnAccessInfo that shou= ld be created at [step 8|#L12601]]. This causes Authorization error.=C2=A0 Currently, this issue is "hidden" when CBO is enabled. By introducing=C2=A0= HIVE-14496, CalcitePlanner creates this ColumnAccessInfo at [step 2|https:/= /github.com/apache/hive/blob/11e069b277fd1a18899b8ca1d2926fcbe73f17f2/ql/sr= c/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java#L12459]. But a= fter turning off CBO, the issue is still there.=C2=A0 I think the return statement in [step 5|https://github.com/apache/hive/blob= /11e069b277fd1a18899b8ca1d2926fcbe73f17f2/ql/src/java/org/apache/hadoop/hiv= e/ql/parse/SemanticAnalyzer.java#L12574]]=C2=A0is not necessary. was: When creating a view, Hive skips the creation of ColumnAccessInfo that shou= ld be created at [step 8|#L12601]]. This causes Authorization error.=C2=A0 Currently, this issue is "hidden" when CBO is enabled. By introducing=C2=A0= HIVE-14496, CalcitePlanner creates this ColumnAccessInfo at [step 2|https:/= /github.com/apache/hive/blob/11e069b277fd1a18899b8ca1d2926fcbe73f17f2/ql/sr= c/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java#L12459]. But a= fter turning off CBO, the issue is still there.=C2=A0 I think the return statement in [[step 5|https://github.com/apache/hive/blo= b/11e069b277fd1a18899b8ca1d2926fcbe73f17f2/ql/src/java/org/apache/hadoop/hi= ve/ql/parse/SemanticAnalyzer.java#L12574]|#L12574]] is not necessary. > Hive skips the creation of ColumnAccessInfo when creating a view > ---------------------------------------------------------------- > > Key: HIVE-23849 > URL: https://issues.apache.org/jira/browse/HIVE-23849 > Project: Hive > Issue Type: Bug > Reporter: Barnabas Maidics > Assignee: Barnabas Maidics > Priority: Major > > When creating a view, Hive skips the creation of ColumnAccessInfo that sh= ould be created at [step 8|#L12601]]. This causes Authorization error.=C2= =A0 > Currently, this issue is "hidden" when CBO is enabled. By introducing=C2= =A0HIVE-14496, CalcitePlanner creates this ColumnAccessInfo at [step 2|http= s://github.com/apache/hive/blob/11e069b277fd1a18899b8ca1d2926fcbe73f17f2/ql= /src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java#L12459]. Bu= t after turning off CBO, the issue is still there.=C2=A0 > I think the return statement in [step 5|https://github.com/apache/hive/bl= ob/11e069b277fd1a18899b8ca1d2926fcbe73f17f2/ql/src/java/org/apache/hadoop/h= ive/ql/parse/SemanticAnalyzer.java#L12574]]=C2=A0is not necessary. -- This message was sent by Atlassian Jira (v8.3.4#803005)