[SPARK-3531][SQL]select null from table would throw a MatchError

Maybe it would be better to create a query test, since then it actually checks to make sure hive is returning the same answer.