[ https://issues.apache.org/jira/browse/SPARK-32959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan resolved SPARK-32959. --------------------------------- Fix Version/s: 3.1.0 Resolution: Fixed Issue resolved by pull request 29811 [https://github.com/apache/spark/pull/29811] > Fix the "Relation: view text" test in DataSourceV2SQLSuite > ---------------------------------------------------------- > > Key: SPARK-32959 > URL: https://issues.apache.org/jira/browse/SPARK-32959 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 3.1.0 > Reporter: Terry Kim > Assignee: Terry Kim > Priority: Minor > Fix For: 3.1.0 > > > The existing code just defines a function literal and doesn't execute it: > {code:java} > test("Relation: view text") { > val t1 = "testcat.ns1.ns2.tbl" > withTable(t1) { > withView("view1") { v1: String => > sql(s"CREATE TABLE $t1 USING foo AS SELECT id, data FROM source") > sql(s"CREATE VIEW $v1 AS SELECT * from $t1") > checkAnswer(sql(s"TABLE $v1"), spark.table("source")) > } > } > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org