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

Add GCS wildcard import support #153

Merged
merged 2 commits into from
May 4, 2023
Merged

Conversation

daku10
Copy link
Contributor

@daku10 daku10 commented Feb 27, 2023

Hello, thank you for this great project.

I've implemented load from GCS with wildcard.
To my understanding, GCS ListObjectAPI has several options, but doesn't handle wildcard directly.
Therefore I investigated gsutil which has wildcard list functionality, it seems gsutil parse wildcards by itself (I'm not familiar with python, I'm sorry if I'm wrong)
Hence, I've implemented handling wildcard simply, because the wildcard support is limited(at most one asterisk is allowed).

ref
Go SDK ListObjects

@goccy
Copy link
Owner

goccy commented May 4, 2023

@daku10 Thank you for your awesome PR !!! Sorry for the late reply, LGTM 👍

@goccy goccy merged commit fc6db7c into goccy:main May 4, 2023
@daku10 daku10 deleted the gcs-import-wildcard branch May 4, 2023 03:41
diogogmt pushed a commit to blockthrough/bigquery-emulator that referenced this pull request Sep 20, 2023
diogogmt pushed a commit to blockthrough/bigquery-emulator that referenced this pull request Sep 20, 2023
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