kunal642 commented on a change in pull request #3565: [CARBONDATA-3662]:
Changes to show metacache command
URL: https://github.com/apache/carbondata/pull/3565#discussion_r365138382
##########
File path:
integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/cache/CarbonShowCacheCommand.scala
##########
@@ -110,13 +137,42 @@ case class CarbonShowCacheCommand(tableIdentifier:
Option[TableIdentifier],
}
}
+ def getAllExecutorCache(sparkSession: SparkSession): Seq[Row] = {
+ val isDistributedPruningEnabled = CarbonProperties.getInstance()
+ .isDistributedPruningEnabled("", "")
+ if (!isDistributedPruningEnabled) {
+ getAllTablesCache(sparkSession)
+ }
+ else {
Review comment:
fix the indentation for the whole PR
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services