| 646 | } |
| 647 | |
| 648 | void TestNumericLimits() { |
| 649 | TestNumericLimit<Int8Type>(); |
| 650 | TestNumericLimit<UInt8Type>(); |
| 651 | TestNumericLimit<Int16Type>(); |
| 652 | TestNumericLimit<UInt16Type>(); |
| 653 | if constexpr (DecimalType::kMaxPrecision > 9) { |
| 654 | TestNumericLimit<Int32Type>(); |
| 655 | TestNumericLimit<UInt32Type>(); |
| 656 | } |
| 657 | if constexpr (DecimalType::kMaxPrecision > 18) { |
| 658 | TestNumericLimit<Int64Type>(); |
| 659 | TestNumericLimit<UInt64Type>(); |
| 660 | } |
| 661 | } |
| 662 | |
| 663 | template <typename ArrowType> |
| 664 | void TestNumericLimit() { |