Skip to content

docs(gandiva): add design doc for micro/nanosecond timestamp support#130

Draft
timhurskidremio wants to merge 2 commits intodremio:dremiofrom
timhurskidremio:gandiva-micro-nano-timestamp-design
Draft

docs(gandiva): add design doc for micro/nanosecond timestamp support#130
timhurskidremio wants to merge 2 commits intodremio:dremiofrom
timhurskidremio:gandiva-micro-nano-timestamp-design

Conversation

@timhurskidremio
Copy link
Copy Markdown

Covers the full function set (extract, date_trunc, cast, arithmetic) for Timestamp(MICRO) and Timestamp(NANO), including implementation approach, valid range constraints, overflow behavior, and test strategy.

This PR is not intended for merging, only for reviewing with a subsequent publishing in Apache Arrow issues as a proposal

timhurskidremio and others added 2 commits April 7, 2026 12:16
Covers the full function set (extract, date_trunc, cast, arithmetic)
for Timestamp(MICRO) and Timestamp(NANO), including implementation
approach, valid range constraints, overflow behavior, and test strategy.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…icro/nano timestamps

Recovered from dismissed session. Adds EpochTimePoint conversion problem
analysis (chose delegation wrappers over macro modification or templatization),
scopes out timestamp arithmetic, and breaks implementation into 4 phases:
infrastructure, extract functions, date_trunc, and cast functions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant