You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Terry Kim (Jira)" <ji...@apache.org> on 2020/09/24 20:09:00 UTC
[jira] [Created] (SPARK-32990) Migrate REFRESH TABLE to new
resolution framework
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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org