-
Notifications
You must be signed in to change notification settings - Fork 1
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 support for stacked sinks #611
Conversation
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.
👍 Looks good to me! Reviewed everything up to 7aece6e in 1 minute and 15 seconds
More details
- Looked at
641
lines of code in11
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. fennel/internal_lib/to_proto/to_proto.py:195
- Draft comment:
The validation logic for stacked sinks could be simplified and the error messages could be more informative. Consider refactoring the logic to improve readability and provide more context in the error messages. - Reason this comment was not posted:
Confidence changes required:50%
The code infennel/internal_lib/to_proto/to_proto.py
has a potential issue with the validation logic for stacked sinks. The logic checks for the number of stacked sinks and raises errors if the conditions are not met. However, the error messages could be more informative and the logic could be simplified for better readability.
Workflow ID: wflow_UR2m1O4db6n2s4xy
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
7aece6e
to
af1e6ab
Compare
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.
👍 Looks good to me! Incremental review on af1e6ab in 37 seconds
More details
- Looked at
642
lines of code in11
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. fennel/connectors/connectors.py:258
- Draft comment:
Consider setting the default value ofstacked
toFalse
instead ofNone
for better clarity and to align with typical expectations. - Reason this comment was not posted:
Confidence changes required:50%
The PR introduces a new parameterstacked
for sinks, but the default value is set toNone
. It would be more intuitive to set the default toFalse
, as this would align with the typical expectation that a sink is not stacked unless explicitly specified.
Workflow ID: wflow_SUvwQUplGV21k4pb
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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.
❌ Changes requested. Incremental review on 7b6a57f in 43 seconds
More details
- Looked at
13
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
0
drafted comments based on config settings.
Workflow ID: wflow_YyTdt2PtHMPOL4Sr
Want Ellipsis to fix these issues? Tag @ellipsis-dev
in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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.
👍 Looks good to me! Incremental review on fc79745 in 16 seconds
More details
- Looked at
45
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. docs/examples/concepts/sink.py:18
- Draft comment:
The import statements forKafka
,S3
,eval
, andsource
are repeated inside thetest_stacked_sinks
function. Consider moving them to the top of the file to avoid redundancy and improve readability. - Reason this comment was not posted:
Confidence changes required:50%
The import statements forKafka
,S3
,eval
, andsource
are repeated inside thetest_stacked_sinks
function. These should be moved to the top of the file to avoid redundancy and improve readability.
Workflow ID: wflow_mMqnDNGLzv23EWPX
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
fc79745
to
fba3198
Compare
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.
👍 Looks good to me! Incremental review on fba3198 in 27 seconds
More details
- Looked at
49
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. docs/examples/concepts/sink.py:19
- Draft comment:
Consider moving the import statements forKafka
,Snowflake
, andsink
to the top of the file to avoid redundancy and improve readability. - Reason this comment was not posted:
Confidence changes required:50%
The import statements forKafka
,Snowflake
, andsink
are repeated within the functiontest_stacked_sinks
. This is unnecessary and can be moved to the top of the file to avoid redundancy and improve readability.
Workflow ID: wflow_XSe7iapnm7MiSYvy
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
This reverts commit 725eb40.
Important
Adds support for stacked sinks with a new
stacked
parameter insink()
and updates validation and documentation accordingly.stacked
parameter tosink()
inconnectors.py
, defaulting toNone
. Users should set it toTrue
for additional sinks on the same dataset.to_sync_request_proto()
into_proto.py
.test_invalid_connectors.py
.sink.md
andsink.py
to document thestacked
parameter and its usage.connector_pb2.py
andconnector_pb2.pyi
to includestacked
field inSink
message.1.5.59
inpyproject.toml
.This description was created by for fba3198. It will automatically update as commits are pushed.