apache / apache/iceberg

Support listing files from hive partitions with subdirectories

Open
#17,924 1 comment 0 reactions 0 assignees View on GitHub
improvement
Dominant language
Java
Stars
9.2k
Forks
3.5k
Avg merge
2d 16h
Merged PRs (30d)
129

Description

### Feature Request / Improvement

While migrating from hive to iceberg, i have noticed we have few subdirectories within partition folder and the migrate for those partitions didn't happen as iceberg believes there is no data since it doesn't do recursive file listing.

I see two MRs were started and closed:

https://github.com/apache/iceberg/pull/15388
https://github.com/apache/iceberg/pull/4397

Would like to work on this.

### Query engine

Spark

### Willingness to contribute

- [x] I can contribute this improvement/feature independently
- [x] I would be willing to contribute this improvement/feature with guidance from the Iceberg community
- [ ] I cannot contribute this improvement/feature at this time

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the issue context and the previously closed pull requests #15388 and #4397 to understand the attempted approaches to recursive listing. Trace the existing partition file discovery path from there; done means files inside subdirectories of Hive partition folders are found during migration, including the relevant coverage for Spark.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spark
Domain
data-engineering, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.