Login  Register

[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 Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

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

GitBox
31718 posts
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_r268053378
 
 

 ##########
 File path: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/cache/CarbonShowCacheCommand.scala
 ##########
 @@ -190,6 +192,9 @@ case class CarbonShowCacheCommand(tableIdentifier: Option[TableIdentifier],
        * Assemble result for table
        */
       val carbonTable = CarbonEnv.getCarbonTable(tableIdentifier.get)(sparkSession)
+      if (!isValidTable(carbonTable, sparkSession)) {
 
 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]


With regards,
Apache Git Services