Skip to content

Support for _file metadata column #1766

@vustef

Description

@vustef

Is your feature request related to a problem or challenge?

The spec defines metadata columns, one of which is the _file column. This column seems instrumental for write operations positional deletes in future, as well as for having some ways for users to identify rows (combination of filepath + position)

Describe the solution you'd like

The solution should allow building a TableScan with option to return metadata columns (in this case _file). When that happens, the library should return batches that include this extra column. The column should be encoded in such a way that it doesn't add much memory overhead. Since arrow doesn't support constant vectors, perhaps RLE could be used.

Willingness to contribute

I can contribute to this feature independently

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions