Skip to content

Conversation

@LNSD
Copy link
Contributor

@LNSD LNSD commented Dec 22, 2025

Simplify dump control flow by retrieving the dataset instance directly from the dataset store and merging dump_impl into dump, reducing indirection and improving code clarity.

  • Add GetDataset error variant for dataset_store.get_dataset() call
  • Remove MixedDatasets check (tables guaranteed from same dataset)
  • Inline dump_impl() into dump() to simplify call stack
  • Flatten error hierarchy by removing DumpRangesError enum
  • Rename PartitionTaskError to PartitionTask variant

Note

Cursor Bugbot is generating a summary for commit 8f64ba8. Configure here.

Simplify dump control flow by retrieving dataset directly from dataset_store and merging dump_impl into dump, reducing indirection and improving code clarity.

- Add `GetDataset` error variant for `dataset_store.get_dataset()` call
- Remove `MixedDatasets` check (tables guaranteed from same dataset)
- Inline `dump_impl()` into `dump()` to simplify call stack
- Flatten error hierarchy by removing `DumpRangesError` enum
- Rename `PartitionTaskError` to `PartitionTask` variant

Signed-off-by: Lorenzo Delgado <lorenzo@edgeandnode.com>
@LNSD LNSD requested review from Theodus, leoyvens and sistemd December 22, 2025 12:45
@LNSD LNSD self-assigned this Dec 22, 2025
@LNSD LNSD merged commit 2de57f2 into main Dec 22, 2025
9 checks passed
@LNSD LNSD deleted the lnsd/refactor-dump-raw-dataset-inline branch December 22, 2025 13:36
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