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

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

                Author: ASF GitHub Bot
            Created on: 08/Mar/21 03:51
            Start Date: 08/Mar/21 03:51
    Worklog Time Spent: 10m 
      Work Description: anuragshekhar2020 commented on a change in pull request 
#2029:
URL: https://github.com/apache/hive/pull/2029#discussion_r589154569



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplLoadTask.java
##########
@@ -435,7 +435,7 @@ private TaskTracker addLoadFunctionTasks(Context 
loadContext, BootstrapEventsIte
       // texts using new DB name. Currently it refers to the source database 
name.
     }
 
-    CreateViewDesc desc = new CreateViewDesc(dbDotView, table.getAllCols(), 
null, table.getParameters(),
+    CreateViewDesc desc = new CreateViewDesc(dbDotView, table.getCols(), null, 
table.getParameters(),

Review comment:
       I have listed the steps to reproduce the issue in jira.
   We do need getPartCols and its part of the constructor parameters for 
CreateViewDesc (its in next line so its not showing in the diff, expanded view 
will show). However list from getAllCols adds partition columns to both column 
list and partition column list and latter in the code flow the check fails due 
to duplicate entry.




----------------------------------------------------------------
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:
us...@infra.apache.org


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

    Worklog Id:     (was: 562113)
    Time Spent: 0.5h  (was: 20m)

> REPL LOAD (Bootstrap ) of views with partitions fails 
> ------------------------------------------------------
>
>                 Key: HIVE-24818
>                 URL: https://issues.apache.org/jira/browse/HIVE-24818
>             Project: Hive
>          Issue Type: Bug
>          Components: repl
>            Reporter: Anurag Shekhar
>            Assignee: Anurag Shekhar
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>




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

Reply via email to