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

[R] POSIXct mapped to DateType not TimestampType?

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.14.0
    • Component/s: R
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              javierluraschi Javier Luraschi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: