englefly opened a new pull request, #68213: URL: https://github.com/apache/doris/pull/68213
Cherry-pick of #56802 to branch-4.2 [feat](nereids) add table alias for catalog relation The alias is threaded through branch-4.2's constructors, which carry extra parameters that master does not have (cachedSlots / relationSchema / relationSnapshot / partitionPrunablePredicates / scoreLimit / scoreRangeInfo / annOrderKeys / annLimit); those are preserved and `tableAlias` is appended last. PhysicalOlapScan keeps branch-4.2's `PhysicalOlapScan[<id>] table=...` title and adds `alias=...` as upstream does. Expected-output baselines: the plan strings now contain `alias=...`; the shape_check tpcds/tpch suites touched by this PR were verified against the branch-4.2 cluster and the few that still lacked the alias were regenerated with -forceGenOut. Tests: RewriteTopDownJobTest passes; shape_check tpcds_sf100 (112 suites), tpcds_sf1000 (53), tpcds_sf10t_orc (26), tpch_sf1000 (14) and 14 nereids_rules_p0 suites + query_p0/join pass with 0 failures. -- 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]
