Skip to content

Spark: Fix predicate pushdown on changelog metadata column - #18148

Open
yingjianwu98 wants to merge 1 commit into
apache:mainfrom
yingjianwu98:yingjianw/fix_changelog_predicate_pushdown
Open

yingjianwu98 wants to merge 1 commit into
apache:mainfrom
yingjianwu98:yingjianw/fix_changelog_predicate_pushdown

Conversation

@yingjianwu98

Copy link
Copy Markdown
Contributor

Bug:
Filtering .changes changelog metadata table queries on _change_type, _change_ordinal, or _commit_snapshot_id threw ValidationException, since these generated columns don't exist in the real table schema SparkChangelogScanBuilder was binding them against for pushdown.

Fix:
Defer these three columns to Spark's post-scan filtering instead of pushing them into the Iceberg-side scan.

@github-actions github-actions Bot added the spark label Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant