Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-8897

SparkR DataFrame fail to return data of float type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.4.0
    • None
    • SparkR
    • None

    Description

      This is an issue reported by Evgeny Sinelnikov <esinelnikov@griddynamics.com> in the Spark mailing list:

      I'm got a trouble with float type coercion on SparkR with hiveContext.

      > result <- sql(hiveContext, "SELECT offset, percentage from data limit > 100")

      > show(result)
      DataFrame[offset:float, percentage:float]

      > head(result)
      Error in as.data.frame.default(x[[i]], optional = TRUE) :
      cannot coerce class ""jobj"" to a data.frame

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sunrui Sun Rui
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: