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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.0.2, 2.1.0
    • SparkR
    • 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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: