That's an unhelpful thing to say. Most people agree that the Spark scala DSL is functional style. It's not as advanced in the style as other scala ecosystems but it has been a very good on ramp for people discovering functional style and is widely celebrated for that
It's funny that if you tell Cat-purist that Spark is functional-style, they would laugh at your face :)