haohuaijin commented on PR #17224: URL: https://github.com/apache/datafusion/pull/17224#issuecomment-3195385422
I check the code, the FliterExec predicate's column index is based on FilterExec's input schema, so when we deserialization the FilterExec, the predicate should also based on input schema. https://github.com/apache/datafusion/blob/b84ddfde0689e8ecb9b71521fd95c7245d68d4ca/datafusion/physical-plan/src/filter.rs#L90-L116 and i also check the disscussion in #16744 and #16665, not sure why previous method work fine. maybe some code have problem before, but someone fix it it before v49 release. -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org