As documented in https://mariadb.com/kb/en/library/function-differences-between-mariadb-106-and-mysql-80 MySQL 8.0 has quite a few Geographic functions not available in MariaDB:
DISTANCE (removed in 8.0)
ST_Collect (from MySQL 8.0.24)
ST_DISTANCE_SPHERE ( MDEV-13467)
ST_LineInterpolatePoint() (from MySQL 8.0.24)
ST_LineInterpolatePoints() (from MySQL 8.0.24)
The lack of these can cause problems for some MySQL users wanting to use MariaDB.