-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Restrict decimal generation Before we were generating values that the Rust side couldn't handle. * Add a decode failure hint Sometimes this decode failure happens because Elixir Decimals can hold a wider range of values than Rust (Arrow) Decimals. Here, we're giving a hint about why the decode may have failed. * Fix `{:list, {:decimal, ...}}` for empty lists The bug turned out to be that in the presence of empty lists, we weren't casting when we should have been. * Remove decimal-related TODOs After restricting the decimal generator such that it only produced valid Decimals and fixing the empty list bug, it now seems like it's safe to include decimals in the property tests.
- Loading branch information
1 parent
7c5a087
commit 5608c27
Showing
4 changed files
with
38 additions
and
28 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
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