We try a window function using max (or min), and the query just hangs. No notification in slow log, no nothing. The same query works fine with sum, count, or avg.
We thought that MariaDB supported window functions for MAX, MIN, as of 10.2.2?
The same problem happens with MIN.
This is the following query we're trying to run:
Here's the database
Is there a bug?