Skip to content

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

Merged
danking merged 9 commits into
hail-is:mainfrom
danking:gcs-bug-in-list-and-glob
Sep 2, 2023
Merged

[fs] fix bugs in glob and list in our GSFS#13434
danking merged 9 commits into
hail-is:mainfrom
danking:gcs-bug-in-list-and-glob

Conversation

@danking

@danking danking commented Aug 15, 2023

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

jigold commented Aug 18, 2023

Copy link
Copy Markdown
Contributor

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

@jigold

jigold commented Aug 18, 2023

Copy link
Copy Markdown
Contributor

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

@jigold jigold added the WIP label Aug 18, 2023
@jigold

jigold commented Aug 18, 2023

Copy link
Copy Markdown
Contributor

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

danking commented Aug 18, 2023

Copy link
Copy Markdown
Contributor Author

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