aleksi75 commented on issue #15562:
URL: https://github.com/apache/druid/issues/15562#issuecomment-1881389086
I tried it just now =) The query with the refactored/changed WHERE clause
with multiplication instead of division is working as expected.
`SELECT
--"server" AS "service",
"curr_size",
"max_size",
"curr_size" * 1.0 / "max_size" AS "fill"
FROM sys.servers
WHERE "server_type" = 'historical' AND "curr_size" * 1.0 > 0.2 * "max_size"
ORDER BY "server" DESC`

As mentioned above, the division works in the SELECT clause but not in the
WHERE clause, which makes no sense for me.
--
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]