Skip to content

select() silently drops hidden fields such as etag #1907

Description

@dmpetrov

Description

etag is in File._hidden_fields (src/datachain/lib/file.py:244-251), so a request for it is
dropped rather than refused:

chain.select("scenario.frag.video.etag", "scenario.predicate")   # etag column simply absent

For lineage work, where the etag is the entire point, a silent omission is worse than an error. The
workaround is mutate(), which is not discoverable from the failure since there is no failure.

Version Info


Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions