gianm opened a new pull request #10318: URL: https://github.com/apache/druid/pull/10318
The problem is that unions are typically rewritten into a series of individual queries on the underlying tables, but this isn't done when the union is wrapped in a join. The main changes are in UnionQueryRunner: 1) Replace an `instanceof UnionQueryRunner` check with DataSourceAnalysis. 2) Replace a `query.withDataSource` call with a new function, `Queries.withBaseDataSource`. Together, these enable UnionQueryRunner to "see through" a join. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
