parquet_table_row_group_bounds Interface

interface
public module subroutine parquet_table_row_group_bounds(filename, bounds)

Arguments

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

parquet file to inspect.

integer(kind=int64), intent(out), allocatable :: bounds(:,:)

(2, num_row_groups).

Description

Reports each row group of filename as the inclusive 1-based row range it covers: bounds(1, rg) is its first row and bounds(2, rg) its last. Together they partition 1..nrows exactly.

Standalone on purpose: this is the PLANNING call, made before any table exists, so that each thread can work out which slice to open. It opens and closes a reader internally, which costs only a footer read -- no column data is touched.