Github user maropu commented on the issue:
https://github.com/apache/spark/pull/18375
@gatorsmile I remembered @liancheng said `we want to allow users to create
partitioned tables that allow data schema to contain (part of) the partition
columns, and there are test cases for this use case` before
(https://github.com/apache/spark/pull/16030#issuecomment-263981907). But, I
feel the query in the description seems to be error-prone, so how about just
printing warning messages when detecting the duplication ([like
here)](https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/Column.scala#L264)?
---
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]