-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
logicalTypes: fix alternative encoding for decimal types
The alternative is an explicit codec decimal type, additionally, this only worked for a small subset of values that were both valid native and valid binary encoding. Since we want to stay in the native value space, we just need to convert from native primative to native logical type. In order to do this we just do an encode/decode step for decimal logical types.
- Loading branch information
Showing
2 changed files
with
19 additions
and
12 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
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