Skip to content

Conversation

@gbrgr
Copy link
Contributor

@gbrgr gbrgr commented Nov 19, 2025

Adds support for the _file column used in projections of scans.

export with_file_column!
export scan!, next_batch, free_batch, free_stream

const Option{T} = Union{T, Nothing}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing this one here in this PR, as it is not used.

@gbrgr gbrgr marked this pull request as ready for review November 19, 2025 15:46
@gbrgr gbrgr requested a review from vustef November 19, 2025 15:46
stream = scan!(scan)
```
"""
const FILE_COLUMN = "_file"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought you said you wanted to make this a function and fetch from rust_lib that way?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what I mentioned in the meeting: that does not work cleanly

)::Cint

if result != 0
error("Failed to add file column to scan")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we can throw IcebergException instead of this one? Not sure, we're not consistent in this regard

@gbrgr gbrgr merged commit 7813a9c into main Nov 20, 2025
3 checks passed
@gbrgr gbrgr deleted the feature/gb/support-file-path-selection branch November 20, 2025 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants