Repository navigation
fix(napi): preserve qualified interval parameters - #298
Merged
Merged
Conversation
cathleeny
force-pushed
the
PECOBLR-4169
branch
from
August 26, 2026 00:58
bb9a8a0 to
415c039
Compare
cathleeny
marked this pull request as ready for review
August 26, 2026 00:59
There was a problem hiding this comment.
Verdict: 1 Low
Looks good — clean, well-scoped napi binding that forwards pre-marshalled rawParams through the existing StatementSpec::param_raw path across all four execute flows. The kernel already enforces raw-vs-typed and positional-vs-named mutual exclusivity (with tests), and the param_raw signature, .d.ts, and doc comments all match. One low note about napi-tier test coverage of the forwarding glue.
Signed-off-by: cat23123 <58714163+cat23123@users.noreply.github.com>
cathleeny
force-pushed
the
PECOBLR-4169
branch
from
August 26, 2026 01:08
415c039 to
00ec994
Compare
cathleeny
requested review from
eric-wang-1990,
sreekanth-db,
vikrantpuppala and
vuanhphung
August 26, 2026 01:18
vuanhphung
approved these changes
Aug 26, 2026
Signed-off-by: cat23123 <58714163+cat23123@users.noreply.github.com>
This branch was previously deployed
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The N-API layer previously used TypedValue, and collapsed qualified types like INTERVAL MONTH into generic INTERVAL. Changing to RawParameter presevers the exact SQL type and restores Thrift parity on the NodeJS driver.
ExecuteOptions.rawParamsto the N-API bindingStatementSpec::param_rawpathValidation
cargo fmt --all -- --checkcargo clippy --all-targets --locked -- -D warningscargo test --locked --features dyn-symbols.github/scripts/check-napi-loader-drift.shFollow-up
After this merges, the Node driver follow-up PR will pin this kernel ref.