Open vburenin opened 1 week ago
@vburenin did adding the session property help with the queries? I am also facing severe degradation when upgrading my trino setup from 418 to 464
@lordicecream yes it did. Did you hit the same problem?
@lordicecream This config was introduced later, it is not applicable for 422
Today we have attempted migration from Trino 419 to Trino 464 and we started seeing a few queries failing with memory limit issues:
The query in question is this:
It fails like this:
Changing
WHERE DATE(o.day_partition) >= current_date - INTERVAL '60' DAY
toWHERE o.day_partition >= '2024-09-15'
Immediately returns everything back to normal.While this query itself is obviously not great, but this is what users came up with and we can't just break their stuff.
Explain shows a lack of missing filter for foo_orders table in Trino 464 while this example is copied from 419:
(CAST("day_partition_6" AS date) >= DATE '2024-09-15') AND (CAST("day_partition_6" AS DATE) >= DATE '2024-10-14') AND (CAST("day_partition_6" AS DATE) < DATE '2024-11-14')
All tables are Iceberg tables.