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

Support timezone for timestamps in SparkR

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 2.2.0
    • None
    • SparkR

    Description

      SparkR::createDataFrame() wipes timezone attribute from POSIXct and POSIXlt. See following example:

      > x <- data.frame(x = c(Sys.time()))
      > x
                          x
      1 2017-09-06 19:17:16
      > attr(x$x, "tzone") <- "Europe/Paris"
      > x
                          x
      1 2017-09-07 04:17:16
      > collect(createDataFrame(x))
                          x
      1 2017-09-06 19:17:16
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: