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

collect() ignores stringsAsFactors

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.1.3, 2.2.1, 2.3.0
    • Component/s: SparkR
    • Labels:
      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

            • Assignee:
              hyukjin.kwon Hyukjin Kwon
              Reporter:
              falaki Hossein Falaki
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: