Github user gatorsmile commented on the issue:
https://github.com/apache/spark/pull/18079
It sounds like PostgresSQL supports it. See the docs in
https://www.postgresql.org/docs/9.2/static/sql-select.html
Actually, we also need to support the other alias in the from clauses:
See the link: https://drill.apache.org/docs/from-clause/ and
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 [, ...] ) ]
```
---
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]