parquet_get_default_compression Subroutine

public subroutine parquet_get_default_compression(name)

Reports the codec a writer opened with no compression= would use -- the value set here, or "zstd" if it was never set.

Arguments

Type IntentOptional Attributes Name
character(len=:), intent(out), allocatable :: name

effective default codec.


Source Code

    subroutine parquet_get_default_compression(name)
        character(len=:), allocatable, intent(out) :: name !! effective default codec.

        if (len_trim(cfg_default_compression) == 0) then
            name = "zstd"
        else
            name = trim(cfg_default_compression)
        end if
    end subroutine parquet_get_default_compression