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

Init target-s3-jsonl #1

Merged
merged 10 commits into from
Nov 10, 2022
Merged

Init target-s3-jsonl #1

merged 10 commits into from
Nov 10, 2022

Conversation

ynaim94-harrys
Copy link
Collaborator

@ynaim94-harrys ynaim94-harrys commented Nov 5, 2022

Description

Implement target-s3-jsonl

QA

You can run:

meltano elt tap-carbon-intensity target-s3-jsonl

This tap has also been tested in dev:
see https://github.com/harrystech/harrys-data-warehouse/pull/2453

@ynaim94-harrys ynaim94-harrys force-pushed the ynaim94/batch-write-s3-jsonl branch 6 times, most recently from c3bad54 to 496c603 Compare November 5, 2022 01:12
@ynaim94-harrys ynaim94-harrys force-pushed the ynaim94/batch-write-s3-jsonl branch from 496c603 to 642c475 Compare November 5, 2022 01:16
@ynaim94-harrys ynaim94-harrys force-pushed the ynaim94/batch-write-s3-jsonl branch from 53eec51 to cdc2397 Compare November 6, 2022 18:45
@ynaim94-harrys ynaim94-harrys force-pushed the ynaim94/batch-write-s3-jsonl branch from 41cf786 to 0b124c7 Compare November 7, 2022 21:44
@ynaim94-harrys ynaim94-harrys force-pushed the ynaim94/batch-write-s3-jsonl branch from 0b124c7 to 828dc98 Compare November 7, 2022 21:59
@ynaim94-harrys ynaim94-harrys marked this pull request as ready for review November 8, 2022 15:50

def _get_batch_key(self, batch_id):
path = self.config["prefix_scheme"].format(
stream_name=self.stream_name, batch_id=batch_id

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

@ynaim94-harrys ynaim94-harrys Nov 8, 2022

Choose a reason for hiding this comment

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

it is optional, "string".format(foo=bar) gives you "string". The user of the tap can choose whether to use the stream name of not.

Copy link

@rishi-gajula-harrys rishi-gajula-harrys left a comment

Choose a reason for hiding this comment

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

LGTM

@ynaim94-harrys ynaim94-harrys merged commit 47e7bc2 into main Nov 10, 2022
@jwisdom-harrys jwisdom-harrys deleted the ynaim94/batch-write-s3-jsonl branch November 10, 2022 17:41
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