Skip to content

[fs] fix bugs in glob and list in our GSFS #13434

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

Merged
merged 9 commits into from
Sep 2, 2023

Conversation

danking
Copy link
Contributor

@danking danking commented Aug 15, 2023

CHANGELOG: In QoB, Hail's file systems now correctly list all files in a directory, not just the first 1000. This could manifest in an import_table or import_vcf which used a glob expression. In such a case, only the first 1000 files would have been included in the resulting Table or MatrixTable.

I also moved two GSFS-only tests into the FSSuite. There should be very few tests that are cloud-specific.

I also moved two GSFS-only tests into the FSSuite. There should be very few tests that are
cloud-specific.
jigold
jigold previously requested changes Aug 15, 2023
}

@Test def testSeekAfterEOF(): Unit = {
val prefix = s"$hail_test_storage_uri/google-storage-fs-suite/delete-many-files/${ java.util.UUID.randomUUID() }"
Copy link
Contributor

Choose a reason for hiding this comment

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

can we change the prefix name to not have google in it?

@danking danking dismissed jigold’s stale review August 16, 2023 23:40

Good catch, that was lazy of me.

@jigold
Copy link
Contributor

jigold commented Aug 18, 2023

There's a bug somewhere in your code in the test suite.

@jigold
Copy link
Contributor

jigold commented Aug 18, 2023

Can you add a CHANGELOG for a bug fix for this?

@jigold jigold added the WIP label Aug 18, 2023
@jigold
Copy link
Contributor

jigold commented Aug 18, 2023

I put the WIP tag on so it won't merge until you change the commit message.

@danking danking removed the WIP label Aug 18, 2023
@danking
Copy link
Contributor Author

danking commented Aug 18, 2023

Good catch. I did a bit of digging to confirm the default max results too.

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