scanParquet method
- String path, {
- int? nRows,
- bool parallel = true,
Lazily scans the Parquet file at path.
nRows limits the number of rows read. parallel lets Polars read
row groups in parallel.
Implementation
LazyFrame scanParquet(String path, {int? nRows, bool parallel = true}) {
_validatePath(path);
_validateUnsigned(nRows, 'nRows');
return _adoptLazy(
_client.invokeSync('lazyScanParquet', {
'path': path,
if (nRows != null) 'nRows': nRows,
'parallel': parallel,
}),
);
}