Description
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:
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