Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

IncrementalPartitionedWriter#minCheckpoint isn't safe #13

Open
nathankleyn opened this issue Feb 20, 2017 · 0 comments
Open

IncrementalPartitionedWriter#minCheckpoint isn't safe #13

nathankleyn opened this issue Feb 20, 2017 · 0 comments
Labels

Comments

@nathankleyn
Copy link
Contributor

The IncrementalPartitionedWriter#minCheckpoint method isn't safe. https://github.com/intenthq/pucket/blob/master/core/src/main/scala/com/intenthq/pucket/writer/IncrementalPartitionedWriter.scala#L42

It tries to call #min on what could potentially be an empty sequence. This should be made safe if possible.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant