Skip to content

ARROW-743: [C++] Consolidate all but decimal array tests into array-test, collect some tests in type-test.cc#463

Closed
wesm wants to merge 1 commit intoapache:masterfrom
wesm:ARROW-743
Closed

ARROW-743: [C++] Consolidate all but decimal array tests into array-test, collect some tests in type-test.cc#463
wesm wants to merge 1 commit intoapache:masterfrom
wesm:ARROW-743

Conversation

@wesm
Copy link
Copy Markdown
Member

@wesm wesm commented Mar 30, 2017

No description provided.

…pe tests to type-test

Change-Id: I50a91e76229bfa7961c05aca30bd31c23b775d65
@wesm
Copy link
Copy Markdown
Member Author

wesm commented Mar 30, 2017

@asfgit asfgit closed this in ae2da98 Mar 30, 2017
@wesm wesm deleted the ARROW-743 branch March 30, 2017 22:31
wesm pushed a commit to wesm/arrow that referenced this pull request Sep 8, 2018
Author: Gidon Gershinsky <gidon@il.ibm.com>

Closes apache#463 from ggershinsky/p1227-thrift-crypto-metadata and squashes the following commits:

579c319 [Gidon Gershinsky] enums -> unions
d07d708 [Gidon Gershinsky] bug fix
ee4b931 [Gidon Gershinsky] multiple keys and ciphers
8d0c179 [Gidon Gershinsky] New Thrift structures for Parquet modular encryption

Change-Id: I6430da9e5bda863aa57648bd83f45a6e626aa569
pribor pushed a commit to GlobalWebIndex/arrow that referenced this pull request Oct 24, 2025
This PR adds support for natively fetching `java.time.*` objects through
the JDBC driver.

DateVector
- getObject(LocalDate.class)

DateTimeVector
- getObject(OffsetDateTime.class)
- getObject(LocalDateTime.class)
- getObject(ZonedDateTime.class)
- getObject(Instant.class)

TimeVector
- getObject(LocalTime.class)

This PR also changes the behavior for vectors that include TZ info.
These will now return as `TIMESTAMP_WITH_TIMEZONE`.

The behavior for different ways to access a TimeStampVector are as
follows:

| | Vector with TZ | Vector W/O TZ |

|---------------------------------|------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|
| getTimestamp() | Get timestamp in the vector TZ | Get timestamp in UTC
|
| getTimestamp(calendar) | Get timestamp by adjusting from the vector TZ
to the desired calendar TZ | Get timestamp by adjusting from UTC to the
desired calendar TZ (a bug, IMO) |
| getObject(LocalDateTime.class) | Get LocalDateTime by taking the
timestamp at the vector TZ and taking the "wall-clock" time at that
moment | Treat the epoch value in the vector as the "wall-clock" time |
| getObject(Instant.class) | Get Instant represented by the value in the
vector TZ | Get Instant represented by the value in UTC |
| getObject(OffsetDateTime.class) | Get OffsetDateTime represented by
the value in the vector TZ (will account for daylight adjustment) | Get
OffsetDateTime represented by the value in UTC (will account for
daylight adjustment) |
| getObject(ZonedDateTime.class) | Get ZonedDateTime represented by the
value in the vector at in its TZ | Get ZonedDateTime represented by the
value in the vector at in UTC |

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants