SPARK-3014. Log a more informative messages in a couple failure scenario...

...s
If the assertion fails, it's a consequence of user error, not a logic error in Spark's code.