Terry Kim created SPARK-32990:
---------------------------------
Summary: Migrate REFRESH TABLE to new resolution framework
Key: SPARK-32990
URL: https://issues.apache.org/jira/browse/SPARK-32990
Project: Spark
Issue Type: Sub-task
Components: SQL
Affects Versions: 3.1.0
Reporter: Terry Kim
Migrate "REFRESH TABLE" to new resolution framework so that it has a consistent
resolution rule for v1/v2 commands.
Currently, the following resolves to a table instead of a temp view:
{code:java}
sql("CREATE TABLE testcat.ns.t (id bigint) USING foo")
sql("CREATE TEMPORARY VIEW t AS SELECT 2")
sql("USE testcat.ns")
sql("REFRESH TABLE t") // 't' is resolved to testcat.ns.t
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]