Skip to content

feat: improve query parameter parsing for datafusion#326

Merged
sunng87 merged 4 commits intomasterfrom
feature/arrow-pg-parameter-enhance
Apr 13, 2026
Merged

feat: improve query parameter parsing for datafusion#326
sunng87 merged 4 commits intomasterfrom
feature/arrow-pg-parameter-enhance

Conversation

@sunng87
Copy link
Copy Markdown
Member

@sunng87 sunng87 commented Apr 10, 2026

  1. add data type coerce for various number type
  2. add parameter type support for numeric, this allows us to use uint64 and decimal for parameter
  3. allow coerce number to timestamp

@mjgarton
Copy link
Copy Markdown
Collaborator

Looks good overall. I made a minor suggested simplification and here is a PR into your branch: #327

Instead of reusing `checked_int_cast` also for the float code paths and
requiring a `source` parameter, split the int & float paths completely,
making the callsites simpler, and reducing the overall code length.
@sunng87 sunng87 merged commit d3de9f4 into master Apr 13, 2026
7 checks passed
@sunng87 sunng87 deleted the feature/arrow-pg-parameter-enhance branch April 13, 2026 12:27
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