You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/07/15 09:30:00 UTC

[jira] [Work logged] (HIVE-23849) Hive skips the creation of ColumnAccessInfo when creating a view

     [ https://issues.apache.org/jira/browse/HIVE-23849?focusedWorklogId=459164&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-459164 ]

ASF GitHub Bot logged work on HIVE-23849:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 15/Jul/20 09:29
            Start Date: 15/Jul/20 09:29
    Worklog Time Spent: 10m 
      Work Description: bmaidics opened a new pull request #1254:
URL: https://github.com/apache/hive/pull/1254


   https://issues.apache.org/jira/browse/HIVE-23849


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 459164)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When creating a view, Hive skips the creation of ColumnAccessInfo that should be created at [step 8|#L12601]. This causes Authorization error. 
> Currently, this issue is "hidden" when CBO is enabled. By introducing HIVE-14496, CalcitePlanner creates this ColumnAccessInfo at [step 2|https://github.com/apache/hive/blob/11e069b277fd1a18899b8ca1d2926fcbe73f17f2/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java#L12459]. But after turning off CBO, the issue is still there. 
> I think the return statement in [step 5|https://github.com/apache/hive/blob/11e069b277fd1a18899b8ca1d2926fcbe73f17f2/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java#L12574] is not necessary.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)