Skip to content

RFC-0066: Native execution support for Hudi MOR tables - #66

Open
jja725 wants to merge 2 commits into
prestodb:mainfrom
jja725:rfc-hudi-mor-native
Open

RFC-0066: Native execution support for Hudi MOR tables#66
jja725 wants to merge 2 commits into
prestodb:mainfrom
jja725:rfc-hudi-mor-native

Conversation

@jja725

@jja725 jja725 commented Aug 17, 2026

Copy link
Copy Markdown

Summary

This RFC proposes native execution (Prestissimo/Velox) support for snapshot SELECT queries on Hudi MERGE_ON_READ tables. The main piece is a native Hudi connector in Velox, built around a C++ HoodieLogFormat reader and record merger, structured like the existing Iceberg connector. It also covers the Presto native protocol, explicit Hudi handle conversion, coordinator-side compatibility validation, and native catalog registration.

The revised design treats Java Hudi behavior as the correctness oracle while acknowledging that native semantic parity will be incremental. Each release declares a compatibility matrix for table versions, log formats, merge modes, payloads, key generation, and schema evolution. Unsupported table configurations fail during planning, and unsupported block details discovered on the worker fail the query; there is no JVM fallback from native execution.

Other key points:

  • Data predicates remain above the merged scan, matching the existing JVM connector behavior.
  • The initial in-memory merge index is visible to Velox memory accounting but non-reclaimable, so native splits have a coordinator- and worker-enforced log-byte limit.
  • The pure-C++ implementation includes a maintenance and Hudi-upgrade policy backed by JVM/native differential fixtures.

Related:

@jja725
jja725 force-pushed the rfc-hudi-mor-native branch from 8311e72 to 49eeb94 Compare August 17, 2026 21:19
@jja725 jja725 changed the title Add RFC for native execution support for Hudi MOR tables RFC-0066: Native execution support for Hudi MOR tables Aug 17, 2026
@jja725
jja725 force-pushed the rfc-hudi-mor-native branch from 49eeb94 to 0508137 Compare August 17, 2026 21:32
@jja725
jja725 force-pushed the rfc-hudi-mor-native branch from 0508137 to 31c8089 Compare August 17, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant