[Feature Request] Consolidate CDF TahoeFileIndex code paths
#1.127 aberto em 12 de mai. de 2022
Métricas do repositório
- Stars
- (8.807 stars)
- Métricas de merge de PR
- (Mesclagem média 7d 1h) (142 fundiu PRs em 30d)
Description
Feature request
Overview
This commit added 3 new TahoeFileIndex's for the Change Data Feed feature currently being developed for Delta Lake. These are: CdcAddFileIndex, TahoeChangeFileIndex, and TahoeRemoveFileIndex.
These three classes have lots of similar code paths + logic, and can be consolidated to a simpler abstract base class + children to reduce duplicate code.
Feel free to give them better class names, too.
Motivation
Clean up the code. Less code duplication. Better file and class names. Easier to maintain and debug in the future.
For more info on the Change Data Feed project for Delta Lake, see #1105.