Skip to content

fix(flight/flightsql/driver): fix time.Time params#666

Merged
zeroshade merged 1 commit intoapache:mainfrom
etodd:fix-time-params
Feb 18, 2026
Merged

fix(flight/flightsql/driver): fix time.Time params#666
zeroshade merged 1 commit intoapache:mainfrom
etodd:fix-time-params

Conversation

@etodd
Copy link
Copy Markdown
Contributor

@etodd etodd commented Feb 18, 2026

Rationale for this change

Parameters passed as time.Time were being interpreted incorrectly. Nanosecond() returns the nanosecond portion of the timestamp within a one-second interval, not the number of nanoseconds since the Unix epoch.

What changes are included in this PR?

Just a one-liner!

Are these changes tested?

Yes, tested locally with a real FlightSQL server.

Are there any user-facing changes?

time.Time parameters should work now!

Parameters passed as time.Time were being interpreted incorrectly.
Nanosecond() returns the nanosecond portion of the timestamp within a
one-second interval, not the number of nanoseconds since the Unix epoch.
@etodd etodd requested a review from zeroshade as a code owner February 18, 2026 16:50
@zeroshade zeroshade merged commit b3689e4 into apache:main Feb 18, 2026
39 of 41 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.

2 participants