pola-rs/polars · error · TypeError
cannot use NoopCatalog with {fn_name}()
Error message
cannot use NoopCatalog with {fn_name}() What it means
Error "cannot use NoopCatalog with {fn_name}()" thrown in pola-rs/polars.
Source
Thrown at py-polars/src/polars/io/iceberg/_dataset.py:197
)
if fn_name == "scan_iceberg"
else ""
)
msg = (
f"failed to load catalog for {fn_name}() ({error = }). "
"Configure the default PyIceberg catalog, or pass "
"a catalog via the 'catalog' parameter, or pass a PyIceberg "
"table object instead of the name."
f"{static_metadata_hint}"
)
raise ComputeError(msg) from error
catalog_config = IcebergCatalogConfig.from_catalog(default_catalog)
if catalog_config.class_ == NoopCatalog:
msg = f"cannot use NoopCatalog with {fn_name}()"
raise TypeError(msg)
return catalog_config
@dataclass(kw_only=True)
class IcebergScanResolver:
"""
Iceberg scan resolver.
Defers scan resolution to run during IR resolution.
"""
table: IcebergTableWrap
snapshot_id: int | None
reader_override: Literal["native", "pyiceberg"] | None
use_metadata_statistics: bool
fast_deletion_count: bool
use_pyiceberg_filter: boolView on GitHub (pinned to df599052da)
When it happens
Trigger: Thrown at py-polars/src/polars/io/iceberg/_dataset.py:197 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of pola-rs/polars@df599052da (2026-08-16).
Data as JSON: /api/errors/33669d74c5ba5b8c.
Report an issue: GitHub.