Slackbot
03/24/2023, 6:13 PMBen Krug
03/24/2023, 8:44 PMSergio Ferragut
03/24/2023, 9:22 PMKrishna
03/24/2023, 9:53 PMBen Krug
03/24/2023, 9:54 PMforcelimitPushDown to true it is failing saying this setting won’t applicable if we have having clause ." What's the full message?Ben Krug
03/24/2023, 9:54 PMKrishna
03/24/2023, 9:55 PMKrishna
03/27/2023, 10:37 PMSergio Ferragut
03/27/2023, 10:51 PMSELECT * FROM
(
SELECT sum(metrics) as sum_metrics FROM "druid"."datasource"
WHERE ...
LIMIT 10
)
WHERE sum_metrics > 0
This should run the subquery with the pushdown and then resolve the "having" with the external WHERE clause.Krishna
03/27/2023, 10:55 PMKrishna
03/27/2023, 11:00 PMSergio Ferragut
03/27/2023, 11:07 PMSergio Ferragut
03/27/2023, 11:08 PMBen Krug
03/28/2023, 1:04 AMKrishna
03/28/2023, 1:06 AMKrishna
03/28/2023, 1:06 AMBen Krug
03/28/2023, 1:09 AMKrishna
03/28/2023, 1:10 AMBen Krug
03/28/2023, 1:13 AMKrishna
03/28/2023, 1:21 AMGian Merlino
03/28/2023, 5:35 AMGian Merlino
03/28/2023, 5:35 AMGian Merlino
03/28/2023, 5:36 AMGian Merlino
03/28/2023, 5:37 AMWHERE on a subquery into a single query using HAVING. It does this kind of rewriting without considering context params like forceLimitPushDownKrishna
03/28/2023, 7:10 AMBen Krug
03/28/2023, 5:34 PM