Github user KanakaKumar commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2791#discussion_r222252487
--- Diff:
integration/spark2/src/main/spark2.1/org/apache/spark/sql/hive/CarbonSessionState.scala
---
@@ -141,7 +141,13 @@ class CarbonHiveSessionCatalog(
*/
override def lookupRelation(name: TableIdentifier,
alias: Option[String]): LogicalPlan = {
- val rtnRelation = super.lookupRelation(name, alias)
+ val rtnRelation =
+ try {
+ super.lookupRelation(name, alias)
+ } catch {
+ case ex: Exception =>
--- End diff --
This change is not required. Catch and throwing same exception.
---