You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "nsivabalan (via GitHub)" <gi...@apache.org> on 2026/06/25 03:45:05 UTC
Re: [I] Fix partition pruning in trino-hudi connector [hudi]
nsivabalan commented on issue #16645:
URL: https://github.com/apache/hudi/issues/16645#issuecomment-4795627874
Likely fixable / fixed by the Hudi-maintained connector. As of master, Apache Hudi ships its own `hudi-trino-plugin` (migrated in #13493, HUDI-9556, with follow-up upstream sync in #13787). The connector now implements partition pruning end-to-end:
- `HudiMetadata.applyFilter` separates partition vs regular column predicates via `HudiPredicates.from(constraint.getSummary())` and pushes them down through `HudiTableHandle.applyPredicates`.
- `HudiSplitManager.getPartitions` then calls `metastore.getPartitionNamesByFilter(..., computePartitionKeyFilter(partitionColumns, tableHandle.getPartitionPredicates()))`, so partition filters are evaluated at the metastore.
The original report targeted the upstream trinodb/trino 452 connector; for users on the Hudi-maintained plugin, simple partition pruning should now work. Could a maintainer confirm with a recent build and close this if so?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org