-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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 google as external storage for msq export #16051
Conversation
Thanks for the PR! I'll take a look at it shortly. |
...nsions/src/main/java/org/apache/druid/storage/google/output/GoogleExportStorageProvider.java
Outdated
Show resolved
Hide resolved
Some minor copyedit nits. The only absolutely must fix one is the incorrect cloud provider being listed in an intro sentence |
Co-authored-by: 317brian <[email protected]>
Co-authored-by: 317brian <[email protected]>
Co-authored-by: 317brian <[email protected]>
thanks @317brian added your commits |
@adarshsanjeev anything else ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good to me. Regarding testing, were these changes tested out on a cluster?
import javax.annotation.Nullable; | ||
import java.util.List; | ||
|
||
public class GoogleExportConfig |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the need to have this class than having these properties directly passed into GoogleExportStorageConnector? It would be nice to have uniformity in various cloud provider implementations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just followed what S3ExportStorageProvider
does. I think the reason for separate config is that these configs needs to be injected while creating ExportStorageProvider
instance in the sql planning phase.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah right. I see it now.
@adarshsanjeev yes tested on a cluster |
@adarshsanjeev - If its looks good to you, can we merge this? |
Yes, the changes look good to me! Thanks for the PR! |
Description
Support for exporting msq results to gcs bucket. This is essentially copying the logic of s3 export for gs, originally done by @adarshsanjeev in this PR - #15689
Release note
Support for exporting MSQ results to a GCS path.
Key changed/added classes in this PR
GoogleExportStorageProvider.java
GoogleStorageConnectorModule.java
This PR has: