aboutsummaryrefslogtreecommitdiff
path: root/R/pkg/NAMESPACE
diff options
context:
space:
mode:
authorfelixcheung <felixcheung_m@hotmail.com>2016-04-23 00:20:27 -0700
committerReynold Xin <rxin@databricks.com>2016-04-23 00:20:27 -0700
commita55fbe2a16aa0866ff8aca25bf9f772e6eb516a1 (patch)
tree3c29aa4d17cad1c88f6eb989cae5a207077de689 /R/pkg/NAMESPACE
parent86ca8fefc8a147b31952b8a00e58e46d93bb8bc4 (diff)
downloadspark-a55fbe2a16aa0866ff8aca25bf9f772e6eb516a1.tar.gz
spark-a55fbe2a16aa0866ff8aca25bf9f772e6eb516a1.tar.bz2
spark-a55fbe2a16aa0866ff8aca25bf9f772e6eb516a1.zip
[SPARK-12148][SPARKR] SparkR: rename DataFrame to SparkDataFrame
## What changes were proposed in this pull request? Changed class name defined in R from "DataFrame" to "SparkDataFrame". A popular package, S4Vector already defines "DataFrame" - this change is to avoid conflict. Aside from class name and API/roxygen2 references, SparkR APIs like `createDataFrame`, `as.DataFrame` are not changed (S4Vector does not define a "as.DataFrame"). Since in R, one would rarely reference type/class, this change should have minimal/almost-no impact to a SparkR user in terms of back compat. ## How was this patch tested? SparkR tests, manually loading S4Vector then SparkR package Author: felixcheung <felixcheung_m@hotmail.com> Closes #12621 from felixcheung/rdataframe.
Diffstat (limited to 'R/pkg/NAMESPACE')
-rw-r--r--R/pkg/NAMESPACE2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/pkg/NAMESPACE b/R/pkg/NAMESPACE
index b3aff10b7d..0f92b5e597 100644
--- a/R/pkg/NAMESPACE
+++ b/R/pkg/NAMESPACE
@@ -27,7 +27,7 @@ export("setJobGroup",
# Export Utility methods
export("setLogLevel")
-exportClasses("DataFrame")
+exportClasses("SparkDataFrame")
exportMethods("arrange",
"as.data.frame",