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 new S3 source option and modify docdb template #4492

Merged
merged 1 commit into from
May 6, 2024

Conversation

srikanthjg
Copy link
Contributor

Description

  • Add new S3 source option
    disable_s3_metadata_in_event: true option will not add bucket name and key to event.

  • Modify docdb template
    Added disable_s3_metadata_in_event and folder_partitions options in s3 scan of doc db template

Check List

  • New functionality includes testing.
  • New functionality has a documentation issue. Please link to it in this PR.
    • New functionality has javadoc added
  • Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: srigovs <srigovs@amazon.com>
@@ -189,4 +192,8 @@ public Map<String, String> getBucketOwners() {
public String getDefaultBucketOwner() {
return defaultBucketOwner;
}

public boolean isDeleteS3MetadataInEvent() {
return deleteS3MetadataInEvent;
Copy link
Member

Choose a reason for hiding this comment

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

Nit: variable and function rename to disableS3MetadataInEvent;

scan:
folder_partitions:
Copy link
Member

Choose a reason for hiding this comment

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

Would be nice if we added an integration test for the transform. Not needed in this PR

@graytaylor0 graytaylor0 merged commit f6a06a0 into opensearch-project:main May 6, 2024
37 of 47 checks passed
@kkondaka kkondaka added this to the v2.8 milestone May 14, 2024
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.

3 participants