Skip to content

Finalize timestamp type #15760

Closed
Closed

Description

@asfimport

support int64 UNIX timestamps with a particular resolution.

Parquet supports timestamp millis and micros (no nanos)
https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#datetime-types

currently Arrow timestamps have a timezone field.
https://github.com/apache/arrow/blob/master/format/Message.fbs#L67
proposal to change timestamp as follows:

  • remove "timestamp" field and say it's UTC
  • add unit field (MICROS | MILLIS)

Reporter: Julien Le Dem / @julienledem
Assignee: Julien Le Dem / @julienledem

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-315. Please see the migration documentation for further details.

Activity

  1. asfimport commented on Oct 3, 2016

    @asfimport
    Author
  2. asfimport commented on Oct 4, 2016

    @asfimport
    Author

    Greg Rahn:
    IMHO an important clarification with timestamp is to agree that while the serialization format may be based of a unix time/UTC offset, technically the value has no time zone information (e.g. timestamp without time zone). This is means that no matter what the client or server timezone is set to, the value remains the same – it behaves the same way write/read would work for a string representing a given timestamp.

  3. asfimport commented on Oct 4, 2016

    @asfimport
    Author

    Julian Hyde:
    [~grahn] +1

  4. asfimport commented on Oct 4, 2016

    @asfimport
    Author

    Julien Le Dem / @julienledem:
    Issue resolved by pull request 156
    #156

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions