Is it expected behavior that MIN() window function in MariaDB/MySQL can return a non-null value from a window with only null values?
Reported this as a bug to MariaDB bug tracker:

https://jira.mariadb.org/browse/MDEV-21874