zhengchenyu opened a new pull request, #52694: URL: https://github.com/apache/spark/pull/52694
### What changes were proposed in this pull request? Get data files by prefix matching, then support reading tables with multi-level partition directories. Although partition matching does introduce additional computation, as far as I know, for TEZ UNION, the location of non-partitioned tables and the partition location of partitioned tables typically don't contain many directories, so this additional computation is negligible. For situations without multiple levels of directories, the impact is minimal. ### Why are the changes needed? When table location or partition location have multi-level non partitioned paths. In particular, TEZ will generate the `HIVE_UNION_SUBDIR_1` directory. Spark cannot read the real contents. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Added unit test, and real job. -- 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]
