Sunitha Kambhampati created SPARK-18121: -------------------------------------------
Summary: Unable to query global temp views when hive support is enabled. Key: SPARK-18121 URL: https://issues.apache.org/jira/browse/SPARK-18121 Project: Spark Issue Type: Bug Components: SQL Affects Versions: 2.1.0 Reporter: Sunitha Kambhampati Querying on a global temp view throws Table or view not found exception when Hive support is enabled. Testcase to reproduce the problem: The test needs to run when hive support is enabled. test("query global temp view") { val df = Seq(1).toDF("i1") df.createGlobalTempView("tbl1") checkAnswer(spark.sql("select * from global_temp.tbl1"), Row(1)) spark.sql("drop view global_temp.tbl1") } Cause: HiveSessionCatalog.lookupRelation does not check for the global temp views. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org