Potential compatibility issue with Spark 2.2.0?

see here: