kevinjqliu opened a new pull request, #16306: URL: https://github.com/apache/iceberg/pull/16306
Backport of #14483 (and follow-up #14497) to `spark/v3.4`. Replaces the `instanceof ExtendedParser` cast in `ExtendedParser.parseSortOrder` with a reflective `findParser(...)` helper that walks the `ParserInterface` delegate chain. Fixes sort-order parsing when another Spark extension wraps Iceberg's parser. 3.5/4.0 already have this fix; 3.4 still uses the direct cast. The main file is now identical to v3.5's, and the test is a direct copy of v3.5's `TestExtendedParser`. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
