akashrn5 opened a new pull request #3734: URL: https://github.com/apache/carbondata/pull/3734 ### Why is this PR needed? ### What changes were proposed in this PR? ### Does this PR introduce any user interface change? - No - Yes. (please explain the change and update document) ### Is any new testcase added? - No - Yes ---------------------------------------------------------------- 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] |
CarbonDataQA1 commented on pull request #3734: URL: https://github.com/apache/carbondata/pull/3734#issuecomment-621749310 Build Failed with Spark 2.4.5, Please check CI http://121.244.95.60:12545/job/ApacheCarbon_PR_Builder_2.4.5/1188/ ---------------------------------------------------------------- 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] |
In reply to this post by GitBox
CarbonDataQA1 commented on pull request #3734: URL: https://github.com/apache/carbondata/pull/3734#issuecomment-621749546 Build Failed with Spark 2.3.4, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.3/2905/ ---------------------------------------------------------------- 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] |
In reply to this post by GitBox
CarbonDataQA1 commented on pull request #3734: URL: https://github.com/apache/carbondata/pull/3734#issuecomment-621816776 Build Success with Spark 2.3.4, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.3/2906/ ---------------------------------------------------------------- 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] |
In reply to this post by GitBox
CarbonDataQA1 commented on pull request #3734: URL: https://github.com/apache/carbondata/pull/3734#issuecomment-621817113 Build Success with Spark 2.4.5, Please check CI http://121.244.95.60:12545/job/ApacheCarbon_PR_Builder_2.4.5/1189/ ---------------------------------------------------------------- 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] |
In reply to this post by GitBox
ajantha-bhat commented on a change in pull request #3734: URL: https://github.com/apache/carbondata/pull/3734#discussion_r419336445 ########## File path: integration/spark/src/main/scala/org/apache/spark/sql/secondaryindex/rdd/SecondaryIndexCreator.scala ########## @@ -321,6 +323,18 @@ object SecondaryIndexCreator { segmentLocks.foreach(segmentLock => { segmentLock.unlock() }) + // if some segments are skipped, disable the SI table so that + // SILoadEventListenerForFailedSegments will take care to load to these segments in next + // consecutive load to main table. + if (!skippedSegments.isEmpty) { + secondaryIndexModel.sqlContext.sparkSession.sql( + s"""ALTER TABLE ${ + secondaryIndexModel + .carbonLoadModel + .getDatabaseName + }.${ secondaryIndexModel.secondaryIndex.indexName } SET + |SERDEPROPERTIES ('isSITableEnabled' = 'true')""".stripMargin).collect() Review comment: suppose to **disable** here ? why setting to `true` ? please add test case or verify the latest PR in cluster. ---------------------------------------------------------------- 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] |
In reply to this post by GitBox
akashrn5 commented on a change in pull request #3734: URL: https://github.com/apache/carbondata/pull/3734#discussion_r419344017 ########## File path: integration/spark/src/main/scala/org/apache/spark/sql/secondaryindex/rdd/SecondaryIndexCreator.scala ########## @@ -321,6 +323,18 @@ object SecondaryIndexCreator { segmentLocks.foreach(segmentLock => { segmentLock.unlock() }) + // if some segments are skipped, disable the SI table so that + // SILoadEventListenerForFailedSegments will take care to load to these segments in next + // consecutive load to main table. + if (!skippedSegments.isEmpty) { + secondaryIndexModel.sqlContext.sparkSession.sql( + s"""ALTER TABLE ${ + secondaryIndexModel + .carbonLoadModel + .getDatabaseName + }.${ secondaryIndexModel.secondaryIndex.indexName } SET + |SERDEPROPERTIES ('isSITableEnabled' = 'true')""".stripMargin).collect() Review comment: that was by mistake during code change, corrected it. ---------------------------------------------------------------- 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] |
In reply to this post by GitBox
CarbonDataQA1 commented on pull request #3734: URL: https://github.com/apache/carbondata/pull/3734#issuecomment-623441051 Build Success with Spark 2.4.5, Please check CI http://121.244.95.60:12545/job/ApacheCarbon_PR_Builder_2.4.5/1211/ ---------------------------------------------------------------- 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] |
In reply to this post by GitBox
CarbonDataQA1 commented on pull request #3734: URL: https://github.com/apache/carbondata/pull/3734#issuecomment-623441926 Build Success with Spark 2.3.4, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.3/2929/ ---------------------------------------------------------------- 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] |
In reply to this post by GitBox
ajantha-bhat commented on pull request #3734: URL: https://github.com/apache/carbondata/pull/3734#issuecomment-624082949 LGTM ---------------------------------------------------------------- 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] |
Free forum by Nabble | Edit this page |