[GitHub] [carbondata] QiangCai commented on a change in pull request #3178: [CARBONDATA-3348] Support alter SORT_COLUMNS property

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

[GitHub] [carbondata] QiangCai commented on a change in pull request #3178: [CARBONDATA-3348] Support alter SORT_COLUMNS property

GitBox
QiangCai commented on a change in pull request #3178: [CARBONDATA-3348] Support alter SORT_COLUMNS property
URL: https://github.com/apache/carbondata/pull/3178#discussion_r277709894
 
 

 ##########
 File path: integration/spark-common/src/main/scala/org/apache/carbondata/spark/rdd/CarbonScanRDD.scala
 ##########
 @@ -232,7 +232,7 @@ class CarbonScanRDD[T: ClassTag](
       statistic.addStatistics(QueryStatisticsConstants.BLOCK_ALLOCATION, System.currentTimeMillis)
       statisticRecorder.recordStatisticsForDriver(statistic, queryId)
       statistic = new QueryStatistic()
-      val carbonDistribution = if (directFill) {
+      val carbonDistribution = if (directFill && !tableInfo.hasColumnDrift) {
 
 Review comment:
   fixed

----------------------------------------------------------------
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