kgyrtkirk commented on pull request #2006: URL: https://github.com/apache/hive/pull/2006#issuecomment-785178016
@jcamachor alternate approach could be to instead of disabling; restrict the optimization to only target case when: ``` TS_SJ -> [...] -> JOIN TS_FILTERED -> [...] -> JOIN -> [...] TS_X -> [...] ``` `TS_X` and `TS_FILTERED` scans the same table - those are being optimized; `TS_SJ` is a table from which the SJ filter is computed. * in the above case if there is no `RS -> MAPJOIN ` in the `TS_FILTERED -> [...] -> JOIN` path then the optimization might not make much harm... * or more generally - if there is no `RS` on that path it may definetly go ahead and make the optimization ---------------------------------------------------------------- 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]
