QiangCai opened a new pull request #3759: URL: https://github.com/apache/carbondata/pull/3759 ### Why is this PR needed? The old code has been commented, this PR will revert the code. ### What changes were proposed in this PR? Set default header for load data in legacy enviroment ### Does this PR introduce any user interface change? - No ### Is any new testcase added? - No ---------------------------------------------------------------- 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] |
ajantha-bhat commented on a change in pull request #3759: URL: https://github.com/apache/carbondata/pull/3759#discussion_r422841866 ########## File path: integration/spark/src/main/scala/org/apache/spark/sql/execution/command/management/CommonLoadUtils.scala ########## @@ -212,7 +212,7 @@ object CommonLoadUtils { options: Map[String, String]): util.Map[String, String] = { val tableProperties = table.getTableInfo.getFactTable.getTableProperties val optionsFinal = LoadOption.fillOptionWithDefaultValue(options.asJava) - // EnvHelper.setDefaultHeader(sparkSession, optionsFinal) + EnvHelper.setDefaultHeader(SparkSQLUtil.getSparkSession, optionsFinal) Review comment: please add a comment here that it is for legacy store. All data load in new store success without this change. so I commented this. If there was a comment why this is required. I would have kept 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
QiangCai commented on a change in pull request #3759: URL: https://github.com/apache/carbondata/pull/3759#discussion_r422864290 ########## File path: integration/spark/src/main/scala/org/apache/spark/sql/execution/command/management/CommonLoadUtils.scala ########## @@ -212,7 +212,7 @@ object CommonLoadUtils { options: Map[String, String]): util.Map[String, String] = { val tableProperties = table.getTableInfo.getFactTable.getTableProperties val optionsFinal = LoadOption.fillOptionWithDefaultValue(options.asJava) - // EnvHelper.setDefaultHeader(sparkSession, optionsFinal) + EnvHelper.setDefaultHeader(SparkSQLUtil.getSparkSession, optionsFinal) Review comment: done ---------------------------------------------------------------- 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 #3759: URL: https://github.com/apache/carbondata/pull/3759#issuecomment-626625970 Build Success with Spark 2.4.5, Please check CI http://121.244.95.60:12545/job/ApacheCarbon_PR_Builder_2.4.5/1274/ ---------------------------------------------------------------- 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 #3759: URL: https://github.com/apache/carbondata/pull/3759#issuecomment-626627015 Build Success with Spark 2.3.4, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.3/2993/ ---------------------------------------------------------------- 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 #3759: URL: https://github.com/apache/carbondata/pull/3759#issuecomment-626662515 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 |