spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From viirya <>
Subject [GitHub] spark pull request: [SPARK-8840][SparkR] Add float coercion on Spa...
Date Fri, 10 Jul 2015 04:23:52 GMT
Github user viirya commented on a diff in the pull request:
    --- Diff: R/pkg/R/schema.R ---
    @@ -123,6 +123,7 @@ structField.character <- function(x, type, nullable = TRUE) {
       options <- c("byte",
    +               "float",
    --- End diff --
    Ok. I added it.
    It is ok to create a DataFrame with `float` type. Inserting data from RDD to the DataFrame
is no problem too. But if you want to insert local data from R to the DataFrame, it will crash
because we serialize `double` in R to `Double` in JVM.

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message