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

collect() ignores stringsAsFactors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.1.3, 2.2.1, 2.3.0
    • SparkR
    • None

    Description

      `collect()` function signature includes an optional flag named `stringsAsFactors`. It seems it is completely ignored.

      str(collect(createDataFrame(iris), stringsAsFactors = TRUE)))
      

      Attachments

        Activity

          People

            gurwls223 Hyukjin Kwon
            falaki Hossein Falaki
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: