[GitHub] [carbondata] NamanRastogi commented on a change in pull request #3157: [WIP] Added check for invalid tables in ShowCacheCommand

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

[GitHub] [carbondata] NamanRastogi commented on a change in pull request #3157: [WIP] Added check for invalid tables in ShowCacheCommand

GitBox
NamanRastogi commented on a change in pull request #3157: [WIP] Added check for invalid tables in ShowCacheCommand
URL: https://github.com/apache/carbondata/pull/3157#discussion_r268053651
 
 

 ##########
 File path: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/cache/CarbonShowCacheCommand.scala
 ##########
 @@ -205,4 +210,9 @@ case class CarbonShowCacheCommand(tableIdentifier: Option[TableIdentifier],
       }
     }
   }
+
+  def isValidTable(carbonTable: CarbonTable, sparkSession: SparkSession): Boolean = {
 
 Review comment:
   `Checker.validateTableExists` throws an exception when the table is invalid, I don't need that in this case, I simply need that to be ignored.

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