Github user kunal642 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2818#discussion_r226910752
--- Diff:
integration/spark-common/src/main/scala/org/apache/carbondata/spark/rdd/CarbonScanRDD.scala
---
@@ -748,4 +754,8 @@ class CarbonScanRDD[T: ClassTag](
vectorReader = boolean
}
+ // TODO find the better way set it.
+ def setDirectScanSupport(boolean: Boolean): Unit = {
--- End diff --
Actually directScan can be passed through constructor like ```var
directScan: Boolean = false```.
Current flows would not be impacted and can be enabled using
scanRDD.directScan = true instead of this method.
---