parquet_set_default_compression_level Subroutine

public subroutine parquet_set_default_compression_level(n)

Sets the compression level parquet_open_writer uses when the caller passes no compression_level=. Captured at writer open.

The valid range is the codec's business, not this library's (zstd, gzip and brotli each accept a different one, and snappy and lz4 have no levels at all), so nothing is rejected here -- an out-of-range level is reported by the codec when a writer is actually opened with it.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: n

compression level, interpreted by the chosen codec.


Source Code

    subroutine parquet_set_default_compression_level(n)
        integer, intent(in) :: n !! compression level, interpreted by the chosen codec.

        cfg_default_compression_level = n
    end subroutine parquet_set_default_compression_level