Github user zero323 commented on the issue:
https://github.com/apache/spark/pull/17965
Points to discuss:
- Do we really need this. It gives us full API parity but is not strictly
necessary. `hint(df, "broadcast")` should be equivalent.
- Is this the best implementation? Some alternatives:
- Use generics for both and `signature(x = "SparkDataFrame",
"missing")` for `DataFrame` version and `signature(x = "jobj", object = "Any")`
for general version. This would keep internal API intact, but is hard to
document without leaking internal details.
- Use different name for `DataFrame` version, for example
`broadcast_table`. This is a bit verbose, and slightly harder to port for
users.
- Is `dataframe.R` the best location? It is generic on `SparkDataFrame` so
`functions.R` don't feel like a right choice.
---
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]