Allow decimals with 1 <= precision <= 18 to be stored as integers. In Parquet, DECIMAL can be stored in any of the following physical types: - int32: for 1 <= precision <= 9. - int64: for 10 <= precision <= 18. - fixed_len_byte_array: precision is limited by the array size. Length n can store <= floor(log_10(2^(8*n - 1) - 1)) base-10 digits. - binary: precision is unlimited. The minimum number of
| 813 | /// |
| 814 | /// As a consequence, decimal columns stored in integer types are more compact. |
| 815 | Builder* enable_store_decimal_as_integer() { |
| 816 | store_decimal_as_integer_ = true; |
| 817 | return this; |
| 818 | } |
| 819 | |
| 820 | /// Disable decimal logical type with 1 <= precision <= 18 to be stored |
| 821 | /// as integer physical type. |
nothing calls this directly
no outgoing calls
no test coverage detected