Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-3702

[R] POSIXct mapped to DateType not TimestampType?

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • R
    • None

    Description

      Why was POSIXct mapped to DataType not TimestampType? What are the PRO/CONs from each approach?

      This is mostly to interoperate with Spark which choose to map POSIXct to Timestamps since in Spark, not Arrow, dates do not have a time component. There is a way to make this work in Spark with POSIXct mapped to DateType by mapping DateType to timestamps, so mostly looking to understand tradeoffs.

      One particular question, timestamps in arrow seem to support timezones, wouldn't it make more sense to map POSIXct to timestamps?

      Attachments

        Activity

          People

            Unassigned Unassigned
            javierluraschi Javier Luraschi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: