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

SparkR cannot parallelize data.frame with NA or NULL in Date columns

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2, 2.1.0
    • Component/s: SparkR
    • Labels:
      None

      Description

      To reproduce:

      df <- data.frame(Date = as.Date(c(rep("2016-01-10", 10), "NA", "NA")), id = 1:12)
      
      dim(createDataFrame(df))
      

      We don't seem to have this problem with POSIXlt

      df <- data.frame(Date = as.POSIXlt(as.Date(c(rep("2016-01-10", 10), "NA", "NA"))), id = 1:12)
      dim(createDataFrame(df))
      

        Attachments

          Activity

            People

            • Assignee:
              falaki Hossein Falaki
              Reporter:
              falaki Hossein Falaki
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: