[GitHub] [carbondata] QiangCai commented on a change in pull request #4070: [CARBONDATA-4082] Fix alter table add segment query on adding a segment having delete delta files.
Posted by
GitBox on
Jan 07, 2021; 2:29am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/GitHub-carbondata-Karan980-opened-a-new-pull-request-4070-CARBONDATA-4082-Fix-alter-table-add-segmen-tp105251p105317.html
QiangCai commented on a change in pull request #4070:
URL:
https://github.com/apache/carbondata/pull/4070#discussion_r553074562##########
File path: integration/spark/src/main/scala/org/apache/spark/sql/execution/command/management/CarbonAddLoadCommand.scala
##########
@@ -294,6 +297,49 @@ case class CarbonAddLoadCommand(
OperationListenerBus.getInstance().fireEvent(loadTablePreStatusUpdateEvent, operationContext)
}
+ val deltaFiles = FileFactory.getCarbonFile(segmentPath).listFiles()
Review comment:
how to know which deletedelta files are valid?
----------------------------------------------------------------
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]