GitHub user animeshbaranawal opened a pull request:
https://github.com/apache/spark/pull/6933
[SPARK-8072] [SQL] Better AnalysisException for writing DataFrame with
identically named columns
1. Created a rule for checking duplicate column names in a dataframe by
inspecting its Logical Plan
2. Throw exception message containing duplicate column names if such a
dataframe is found.
cc @rxin
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/animeshbaranawal/spark SPARK-8072
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6933.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6933
----
commit 58ed0c9f61c576c4664a7a75e6df127e0cefd30c
Author: animesh <[email protected]>
Date: 2015-06-22T10:10:50Z
SPARK-8072: Added rule for checking duplicate columns
commit 0dbf1064f20b8f3d90f29b980dd92b21e17df83d
Author: animesh <[email protected]>
Date: 2015-06-22T10:26:05Z
SPARK-8072: correct style
----
---
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]