apache / apache/hudi

Implment metadata caching with CachingDirectoryLister for hudi metadata

Open
#16,953 1 comment 0 reactions 0 assignees View on GitHub
from-jira priority:high type:devtask
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
111

Description

Hive conenctor supports `CachingDirectoryLister` - [https://github.com/trinodb/trino/blob/8bb87dd44820774040927aa872eeaddc62830b87/plugin/trino-hive/src/main/java/io/trino/plugin/hive/fs/CachingDirectoryLister.java]

Hudi connector should also support metadata caching. This is particularly useful when running repeated queries on the same table in the same session.

## JIRA info

- Link: https://issues.apache.org/jira/browse/HUDI-9348
- Type: Task

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Hudi connector's metadata and directory-listing entry points, then compare the referenced Trino file, plugin/trino-hive/src/main/java/io/trino/plugin/hive/fs/CachingDirectoryLister.java. Check the Hudi connector tests around repeated table queries and add coverage showing that metadata is reused within one session.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.