Skip to content

Commit

Permalink
fix precision
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed Dec 11, 2024
1 parent 26ac031 commit 607a161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyarrow/tests/test_compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -1900,7 +1900,7 @@ def test_fsl_to_fsl_cast(value_type):
FloatToDecimalCase = namedtuple('FloatToDecimalCase',
('precision', 'scale', 'float_val'))

decimal_type_traits = [DecimalTypeTraits('decimal32', pa.decimal32, 8),
decimal_type_traits = [DecimalTypeTraits('decimal32', pa.decimal32, 9),
DecimalTypeTraits('decimal64', pa.decimal64, 18),
DecimalTypeTraits('decimal128', pa.decimal128, 38),
DecimalTypeTraits('decimal256', pa.decimal256, 76)]
Expand Down

0 comments on commit 607a161

Please sign in to comment.