delta
delta copied to clipboard
[Kernel] Introduce PeekableIterator class
Which Delta project/connector is this regarding?
- [ ] Spark
- [ ] Standalone
- [ ] Flink
- [x] Kernel
- [ ] Other (fill in here)
Description
Introduce PeekableIterator class, with this utils, we could check the head of a iterator without advancing.
It is prepared for some optimization like https://github.com/huan233usc/delta/pull/5
How was this patch tested?
Unit test
Does this PR introduce any user-facing changes?
No