[
https://issues.apache.org/jira/browse/SPARK-31015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan resolved SPARK-31015.
---------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
Issue resolved by pull request 27766
[https://github.com/apache/spark/pull/27766]
> Star(*) expression fails when used with fully qualified column names for v2
> tables
> ----------------------------------------------------------------------------------
>
> Key: SPARK-31015
> URL: https://issues.apache.org/jira/browse/SPARK-31015
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 3.0.0, 3.1.0
> Reporter: Terry Kim
> Assignee: Terry Kim
> Priority: Major
> Fix For: 3.0.0
>
>
> For a v2 table,
> {code:java}
> CREATE TABLE testcat.ns1.ns2.tbl (id bigint, name string) USING foo
> {code}
> The following works
> {code:java}
> SELECT testcat.ns1.ns2.tbl.id FROM testcat.ns1.ns2.tbl
> {code}
> but this fails to resolve
> {code:java}
> SELECT testcat.ns1.ns2.tbl.* FROM testcat.ns1.ns2.tbl
> [info] org.apache.spark.sql.AnalysisException: cannot resolve
> 'testcat.ns1.ns2.tbl.*' given input columns 'id, name';
> {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]