-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(c/driver/postgresql): customize numeric conversion
- introduces statement-level option `adbc.postgresql.numeric_conversion` - the option is used to tell result reader what strategy to use when converting numeric values to Arrow data; since this cannot be done 1-1, the reader has to convert to other data type - clients can use this option to specify the strategy - value can be either `to_string` or `to_double` - when not specified defaults to `to_string` - `to_string` -> numerics converted loss-less to string representation - when `to_double` -> numeric converted to double (with possible loss of precision)
- Loading branch information
Showing
5 changed files
with
346 additions
and
84 deletions.
There are no files selected for viewing
This file contains 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
Oops, something went wrong.