You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2021/02/18 06:27:31 UTC

[GitHub] [hive] aasha commented on a change in pull request #1988: HIVE-24791: Backward compatibility issue in _dumpmetadata

aasha commented on a change in pull request #1988:
URL: https://github.com/apache/hive/pull/1988#discussion_r578161679



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/DumpMetaData.java
##########
@@ -131,7 +131,8 @@ private void loadDumpFromFile() throws SemanticException {
           lineContents[2].equals(Utilities.nullStringOutput) ? null : Long.valueOf(lineContents[2]),
           lineContents[3].equals(Utilities.nullStringOutput) ? null : new Path(lineContents[3]),
           lineContents[4].equals(Utilities.nullStringOutput) ? null : Long.valueOf(lineContents[4]),
-          Boolean.valueOf(lineContents[6]));
+          (lineContents.length < 8 || lineContents[6].equals(Utilities.nullStringOutput)) ?

Review comment:
       check for length < 7




----------------------------------------------------------------
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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org