You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by KanakaKumar <gi...@git.apache.org> on 2018/10/03 10:03:07 UTC
[GitHub] carbondata pull request #2791: [HOTFIX]correct the exception handling in loo...
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.
---