Skip to main content

bounded_table_text

Function bounded_table_text 

Source
pub fn bounded_table_text(
    lf: LazyFrame,
    format: CopyFormat,
    header: bool,
    limit: usize,
) -> Result<(String, usize), String>
Expand description

A table copy’s text and row count, read from lf in batches and abandoned at the first batch past limit base64 bytes, so a copy the terminal refuses is never built whole. Text only. Upstream operations (sorts, joins) still take their memory; Markdown holds rows until widths are known, bounded by the cap.