Skip to content

docs: date_nanos travels at millisecond precision over Arrow Flight SQL and ADBC - #477

Merged
fupelaqu merged 1 commit into
mainfrom
docs/date-nanos-arrow
Nov 26, 2026
Merged

fupelaqu merged 1 commit into
mainfrom
docs/date-nanos-arrow

Conversation

@fupelaqu

Copy link
Copy Markdown
Contributor

What

A date_nanos value travels at millisecond precision over Arrow Flight SQL and ADBC, which carry a timestamp as Timestamp(MS). The docs said "read to the nanosecond" without that caveat.

  • documentation/sql/known_limitations.md: the date_nanos bullet now ends with the Arrow caveat. Through the relational engine (a JOIN, for instance), the value used to arrive as its text, nanoseconds included, before arrow-extensions 0.3.5. A plain query through the JDBC driver keeps the nanoseconds.
  • documentation/client/arrow_flight_sql.md: one sentence in the type-mapping paragraph says the same. The paragraph is re-wrapped, with no other word changed.

Verification

Measured on the released software (Elasticsearch 8.18.3, a date_nanos value …00.123456789Z):

0.3.4 0.3.5
Flight SQL, plain query timestamp[ms], …00.123 the same
Flight SQL, JOIN text, …00.123456789Z timestamp[ms], …00.123
JDBC, plain query nanoseconds kept nanoseconds kept

One independent review, then a check of its fixes. The site gets the same text in its own PR.

🤖 Generated with Claude Code

…QL and ADBC

Arrow carries a timestamp as Timestamp(MS): the known-limitations bullet and
the Arrow type-mapping paragraph now say so, with the relational engine's
earlier text answer (arrow-extensions before 0.3.5) and the JDBC plain query
keeping the nanoseconds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fupelaqu
fupelaqu marked this pull request as ready for review November 26, 2026 14:12
@fupelaqu
fupelaqu merged commit afd1312 into main Nov 26, 2026
4 checks passed
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.

1 participant