parquet_release_column Interface

interface
public module subroutine parquet_release_column(reader, name)

Arguments

Type IntentOptional Attributes Name
type(parquet_reader), intent(in) :: reader

open reader.

character(len=*), intent(in) :: name

column to free (dotted struct-leaf path allowed).

Description

Frees column name's decoded Arrow buffers inside reader, after the caller has copied the values it wanted into its own Fortran storage. Purely a memory/time trade: a later read of the same column transparently re-reads and re-decodes it, so this can never change a result. Composes with an active filter=/sample_fraction= (both are re-applied to every freshly decoded column).

name may be a dotted struct-leaf path, but the reader caches a struct as ONE array, so releasing any leaf frees the whole struct -- when walking several leaves of one struct, release only after the last of them, or each will re-read the struct. A name that doesn't exist, or a column that was never read, is a silent no-op.