Nullif spark sql. Otherwise, it returns null for null input.

Lawn Fungus