FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GH-477: Fix Flight JDBC DATE(MILLISECOND) parameter binding by yujin5701 · Pull Request #1219 · apache/arrow-java · GitHub

GH-477: Fix Flight JDBC DATE(MILLISECOND) parameter binding - #1219

Open
yujin5701 wants to merge 1 commit into
apache:mainfrom
yujin5701:codex/gh-477-date-milli-binding
Open

GH-477: Fix Flight JDBC DATE(MILLISECOND) parameter binding#1219
yujin5701 wants to merge 1 commit into
apache:mainfrom
yujin5701:codex/gh-477-date-milli-binding

Conversation

Copy link
Copy Markdown

What's Changed

This fixes Flight JDBC prepared statement binding for Arrow DATE(MILLISECOND)
parameters.

Avatica represents JDBC DATE values as days since the Unix epoch. The Flight
JDBC parameter binder already writes that value correctly for DateDayVector,
but it was also writing the same day value directly into DateMilliVector,
which expects milliseconds since the Unix epoch.

This now converts epoch days to epoch milliseconds before writing to
DateMilliVector.

Tested with ArrowFlightPreparedStatementTest.

Closes #477.

This comment has been minimized.

lidavidm added the bug-fix PRs that fix a big. label Jul 8, 2026
github-actions Bot added this to the 20.0.0 milestone Jul 8, 2026

Copy link
Copy Markdown
Member

@yujin5701 can you rebase? It seems CI did not trigger

yujin5701 force-pushed the codex/gh-477-date-milli-binding branch from 63c2f9c to 11de508 Compare August 25, 2026 13:48

Copy link
Copy Markdown
Author

Rebased onto the latest main and force-pushed the updated branch.
Could you check whether CI is triggered now?

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix PRs that fix a big.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flight JDBC Driver not setting parameter correctly when parameter type is DATE<MILLISECOND>

2 participants


Back | FazBrowse Home | New Git URL