Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The current implementation of tf.io.gfile.glob may return sorted results on __some__ filesystems. #455

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Feb 20, 2023

The current implementation of tf.io.gfile.glob may return sorted results on some filesystems.
But in general this API provides no ordering guarantee on all file systems.

If, in a remote chance, that different calls to this function returns results in different orders,
the sharding logic in FileDataSource would break.
This CL sorts the results to ensure that will not happen.

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.

None yet

0 participants