Github user maropu commented on the issue:
https://github.com/apache/spark/pull/18079
yea, I think so. I mean, in the name conflict case you described above,
postgresql throws an error;
```
postgres=# select * from testTable;
col1 | col2
------+------
(0 rows)
postgres=# select * from testTable t(a, b);
a | b
---+---
(0 rows)
postgres=# select col1 a, col2 b from testTable t(c, d);
ERROR: column "col1" does not exist at character 8
STATEMENT: select col1 a, col2 b from testTable t(c, d);
ERROR: column "col1" does not exist
LINE 1: select col1 a, col2 b from testTable t(c, d);
```
We donot support aliases for subquries. Should we include that support in
this pr? Or, follow-up?
---
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]