It is needed to compile with scala 2.13. Notice: can be a problem with https://github.com/apache/spark/pull/12901