pkumarsinha commented on a change in pull request #1084:
URL: https://github.com/apache/hive/pull/1084#discussion_r440922085



##########
File path: 
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadPartitions.java
##########
@@ -320,7 +334,7 @@ private void addPartition(boolean hasMorePartitions, 
AlterTableAddPartitionDesc
   private String getPartitionName(Path partitionMetadataFullPath) {
     //Get partition name by removing the metadata base path.
     //Needed for getting the data path
-    return 
partitionMetadataFullPath.toString().substring(event.metadataPath().toString().length());
+    return 
partitionMetadataFullPath.toString().substring(event.metadataPath().toString().length()
 + 1);

Review comment:
       Existing method. just changing the index




----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to