Skip to content

Conversation

@vbekiaris
Copy link
Contributor

Adds an option to customize the function used to determine which io.IO implementation to load when constructing a Glue catalog.


type Option func(*options)

type FSLoaderFunction func(ctx context.Context, props map[string]string, location string) (io.IO, error)
Copy link
Member

Choose a reason for hiding this comment

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

Rather than doing this, would it make more sense to set up a registry with the io.IO similar to the catalog registry we have? Where the scheme can be used to register specific handlers for file systems?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@zeroshade thanks for the feedback. Maybe #455 looks like what you had in mind?

@vbekiaris
Copy link
Contributor Author

Closing this in favor of #455

@vbekiaris vbekiaris closed this Jul 8, 2025
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