Github user gatorsmile commented on the issue:
https://github.com/apache/spark/pull/18079
Yeah. That should be a negative case. The `FROM clause` should be resolved
before `SELECT clause`.
The PR title is not accurate. I think we should keep the original JIRA
name. `Support table column aliases in FROM clause`.
Yeah. These cases should be part of this JIRA. Please add the sub-tasks
under this JIRA. Follow what Redshift documents and do them one by
one?http://docs.aws.amazon.com/redshift/latest/dg/r_FROM_clause30.html
```SQL
with_subquery_table_name [ [ AS ] alias [ ( column_alias [, ...] ) ] ]
table_name [ * ] [ [ AS ] alias [ ( column_alias [, ...] ) ] ]
( subquery ) [ AS ] alias [ ( column_alias [, ...] ) ]
table_reference [ NATURAL ] join_type table_reference
[ ON join_condition | USING ( join_column [, ...] ) ]
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]