You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by GitBox <gi...@apache.org> on 2019/01/29 01:19:16 UTC

[GitHub] qiuchenjian commented on a change in pull request #3110: [HOTFIX] Upgraded jars to work S3 with presto

qiuchenjian commented on a change in pull request #3110: [HOTFIX] Upgraded jars to work S3 with presto
URL: https://github.com/apache/carbondata/pull/3110#discussion_r251659448
 
 

 ##########
 File path: core/src/main/java/org/apache/carbondata/core/statusmanager/SegmentUpdateStatusManager.java
 ##########
 @@ -655,7 +655,7 @@ private long getEndTimeOfDeltaFile(String extension, SegmentUpdateDetails block)
     // get the updated status file identifier from the table status.
     String tableUpdateStatusIdentifier = getUpdatedStatusIdentifier();
 
-    if (null == tableUpdateStatusIdentifier) {
+    if (null == tableUpdateStatusIdentifier || tableUpdateStatusIdentifier.length() == 0) {
 
 Review comment:
   StringUtils.isNotEmpty is better

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services