Skip to content

Conversation

@steFaiz
Copy link

@steFaiz steFaiz commented Nov 14, 2025

Purpose

This PR is about to support rowid pushdown for flink, following #6483

Linked issue: None

Tests

Please see the test cases in org.apache.paimon.flink.source.FlinkTableSourceTest

API and Format

This PR does not change any user API

Documentation

if (ROW_ID.name().equals(predicate.fieldName())) {
LeafFunction function = predicate.function();
// _ROW_ID is always not null, so we can push down IsNull as an empty set.
if (function instanceof Equal || function instanceof In || function instanceof IsNull) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove IS_NULL? Is null optimization is for all non-null columns, not just for row id.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JingsongLi Thanks for your review! I'm not very familiar about it, sorry for that. I've removed IS_NULL condition and added some ITCases. PTAL if you have some time!

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.

2 participants