hive_path_attrs

function of dascore.io.index.ingest source

hive_path_attrs(
    rel_posix: str ,
    warn: bool = True,
)-> ‘dict[str, str]’

Return the indexable hive-style path attrs for a stored relative path.

Applies the same name rules as file attrs: structural/underscore names are dropped silently, reserved column collisions warn and drop.