Github user sun-rui commented on the pull request:
https://github.com/apache/spark/pull/11336#issuecomment-193561063
A column can be applied to different dataframes.
For example, if both df1 and df2 have a column named "col",then
col <- column("col")
collect(select(df1, col))
collect(select(df2, col))
both works.
Take the join case above as example,
You have can different DataFrames resulting from different joins on both
df1 and df2,
and apply c3 to the different resulting DataFrames also work.
So how do you know which dataFrame to associate with a column in such cases?
@rxin, any comments on this issue?
---
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]