parquet_load_qc_maml_file Interface

interface
public module function parquet_load_qc_maml_file(filename) result(schema)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename

qc-maml file path.

Return Value type(parquet_schema)

schema with only %maml populated (raw qc-maml lines).

Description

Loads a qc-maml's raw lines from disk WITHOUT running the full parquet_validate_maml checks parquet_load_maml_file always applies (table:, at least one field, valid data_type, ...) -- a qc-maml only needs name + qc: min:/max:/miss: per field, and doesn't need data_type at all. Its own (lighter) validation happens later, in parquet_parse_qc_maml, when parquet_open_reader(..., schema=) uses it. Returns a parquet_schema with only %maml populated (the raw qc-maml lines); %cinfo/%metadata stay empty, since a qc-maml is never parsed.