GitHub user dhatchayani opened a pull request:
https://github.com/apache/carbondata/pull/2277 [CARBONDATA-2448] Adding compacted segments to load and alter events Be sure to do all of the following checklist to help us incorporate your contribution quickly and easily: - [ ] Any interfaces changed? - [ ] Any backward compatibility impacted? - [ ] Document update required? - [ ] Testing done Please provide details on - Whether new unit test cases have been added or why no new tests are required? - How it is tested? Please attach test report. - Is it a performance related change? Please attach the performance test report. - Any additional information to help reviewers in testing this change. - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. You can merge this pull request into a Git repository by running: $ git pull https://github.com/dhatchayani/carbondata CARBONDATA-2448 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/carbondata/pull/2277.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2277 ---- commit 254c5854328ecdc5be501426bdfa245b11ba2e0e Author: dhatchayani <dhatcha.official@...> Date: 2018-05-07T05:46:02Z [CARBONDATA-2448] Adding compacted segments to load and alter events ---- --- |
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2277 Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/5686/ --- |
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2277 Build Failed with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/4526/ --- |
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:
https://github.com/apache/carbondata/pull/2277 SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/4758/ --- |
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:
https://github.com/apache/carbondata/pull/2277 SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/4759/ --- |
In reply to this post by qiuchenjian-2
Github user manishgupta88 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2277#discussion_r186369217 --- Diff: integration/spark-common/src/main/scala/org/apache/carbondata/events/AlterTableEvents.scala --- @@ -166,7 +166,8 @@ case class AlterTableCompactionPreEvent(sparkSession: SparkSession, case class AlterTableCompactionPostEvent(sparkSession: SparkSession, carbonTable: CarbonTable, carbonMergerMapping: CarbonMergerMapping, - mergedLoadName: String) extends Event with AlterTableCompactionEventInfo + mergedLoadName: String, + compactedLoads: java.util.List[String]) extends Event with AlterTableCompactionEventInfo --- End diff -- if compactedLoads list is added then you can remove mergedLoadName --- |
In reply to this post by qiuchenjian-2
Github user manishgupta88 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2277#discussion_r186371022 --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/management/CarbonLoadDataCommand.scala --- @@ -756,13 +756,19 @@ case class CarbonLoadDataCommand( } try { carbonLoadModel.setFactTimeStamp(System.currentTimeMillis()) + val compactedSegments = new util.ArrayList[String]() // Trigger auto compaction CarbonDataRDDFactory.handleSegmentMerging( sparkSession.sqlContext, carbonLoadModel, table, + compactedSegments, operationContext) - + carbonLoadModel.setMergedSegmentIds(compactedSegments) + val loadTablePreStatusUpdateEvent: LoadTablePreStatusUpdateEvent = + new LoadTablePreStatusUpdateEvent(table.getCarbonTableIdentifier, + carbonLoadModel) + OperationListenerBus.getInstance().fireEvent(loadTablePreStatusUpdateEvent, operationContext) --- End diff -- Please re verify. I think LoadTablePreStatusUpdateEvent event is not required to be triggered here --- |
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:
https://github.com/apache/carbondata/pull/2277 SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/4761/ --- |
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2277 Build Failed with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/5694/ --- |
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2277 Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/5696/ --- |
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2277 Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/4536/ --- |
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:
https://github.com/apache/carbondata/pull/2277 SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/4763/ --- |
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:
https://github.com/apache/carbondata/pull/2277 SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/4772/ --- |
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:
https://github.com/apache/carbondata/pull/2277 SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/4774/ --- |
In reply to this post by qiuchenjian-2
Github user manishgupta88 commented on the issue:
https://github.com/apache/carbondata/pull/2277 LGTM --- |
In reply to this post by qiuchenjian-2
|
Free forum by Nabble | Edit this page |