[GitHub] [carbondata] kunal642 commented on a change in pull request #3167: [CARBONDATA-3334] fixed multiple segment file issue for partition

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [carbondata] kunal642 commented on a change in pull request #3167: [CARBONDATA-3334] fixed multiple segment file issue for partition

GitBox
kunal642 commented on a change in pull request #3167: [CARBONDATA-3334] fixed multiple segment file issue for partition
URL: https://github.com/apache/carbondata/pull/3167#discussion_r269943308
 
 

 ##########
 File path: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/management/CarbonLoadDataCommand.scala
 ##########
 @@ -869,7 +869,9 @@ case class CarbonLoadDataCommand(
       }
     }
     try {
-      carbonLoadModel.setFactTimeStamp(System.currentTimeMillis())
+      if (carbonLoadModel.getFactTimeStamp == 0L) {
+        carbonLoadModel.setFactTimeStamp(System.currentTimeMillis())
 
 Review comment:
   Ok

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


With regards,
Apache Git Services