LuciferYang commented on PR #13710: URL: https://github.com/apache/gluten/pull/13710#issuecomment-7189332172
The placeholder is what breaks. After that change, a semi or anti join on the prebuild path whose filter reads build columns but isn't null-intolerant gets the constant `true` (`HashTableTaskBuilder.cc:48-51`), so HashBuild keeps only the keys, with or without reuse. This PR's test has such joins (`probe.x > build.y OR build.y IS NULL`). Deriving the key from what native built doesn't remove the rule: a join looks up its table before anything is built, so it has to know which table it needs. I'd give the placeholder a build column whenever the join has a filter (a join key if the filter reads none), and keep it null-propagating only where it is today. Then every join with a filter keeps duplicate keys under both rules, and the key can stay as it is. I'd do that in a separate PR, since on the pinned Velox it changes no query result. -- 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]
