Slackbot
05/31/2023, 9:07 AMAbhishek Agarwal
05/31/2023, 10:00 AMsize
is argument in the function itself. you should refer to the documentation of this function in druid docs.Christopher Johnson
05/31/2023, 11:03 AMARRAY_AGG
...are they somehow in Javadocs?Christopher Johnson
05/31/2023, 11:03 AMHellmar Becker
05/31/2023, 11:23 AMHellmar Becker
05/31/2023, 11:44 AMGian Merlino
05/31/2023, 3:07 PMChristopher Johnson
06/01/2023, 8:25 AMChristopher Johnson
06/01/2023, 8:27 AMCASE WHEN CAST(ARRAY_QUANTILE(ARRAY_AGG( OURCOLUMN, 500000), 0.10) AS BIGINT) = 'NaN' THEN NULL ELSE ARRAY_QUANTILE(ARRAY_AGG(OURCOLUMN, 500000), 0.10) END ) AS "OURCOLUMN_10_percentile"
This is the query we're trying now, and we're getting 504 (timeout) errorsChristopher Johnson
06/01/2023, 8:28 AMChristopher Johnson
06/01/2023, 8:44 AMARRAY_AGG(DISTINCT expr, [size])
then the query returns a value without a 504 timeout.
I'll report back with any updates, but for now this seems to be resolved!Gian Merlino
06/01/2023, 3:47 PMGian Merlino
06/01/2023, 3:48 PM