Github user NarineK commented on the issue:
https://github.com/apache/spark/pull/14431
That's a good point, @shivaram `worker.R` is the component which has the
keys and appends it to the output.
I don't see any elegant way of doing it in `worker.R` yet.
However, I was thinking about the following option:
We can still have optional flag in gapply that states if the key is
required or not but we will not pass it over to scala side.
By default we can always prepend keys in `worker.R` and in `group.R` we can
have a check such as:
if (!prependKey) {
// de-attach/remove the appended key columns.
}
Is this sound reasonable or is it a still hackish ?
---
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]