-
Notifications
You must be signed in to change notification settings - Fork 134
UDF checkpoints for aggregator #1470
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
base: ilongin/1392-udf-checkpoints
Are you sure you want to change the base?
UDF checkpoints for aggregator #1470
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
| self.setup() | ||
|
|
||
| # Check if partition_id is available (when partition_by is used) | ||
| partition_id_idx = None |
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.
| partition_id_idx = None | |
| partition_id_idx: int | None = None |
| ) | ||
| # Include sys__input_id to track which partition produced each output | ||
| output = [ | ||
| {"sys__input_id": input_id} |
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.
Do we want to add sys__input_id as constant (same way we added from datachain.data_storage.schema import PARTITION_COLUMN_ID)?
| Create table with partition mappings (sys__id -> partition_id). | ||
| Args: | ||
| query: Input query with sys__id column | ||
| table_name: Name for the partition table. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
Implementing UDF checkpoints for aggregator.