Github user sun-rui commented on a diff in the pull request:
https://github.com/apache/spark/pull/9835#discussion_r45429327
--- Diff: R/pkg/R/utils.R ---
@@ -624,15 +624,22 @@ convertNamedListToEnv <- function(namedList) {
env
}
-# Assign a new environment for attach() and with() methods
-assignNewEnv <- function(data) {
- stopifnot(class(data) == "DataFrame")
- cols <- columns(data)
- stopifnot(length(cols) > 0)
-
+# Put each column of a DataFrame into a new environment
--- End diff --
I thought "each" means "all columns one by one individually". @felixcheung,
@shivaram, any more precise wording?:)
---
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]