Description
Running SELECT 1 / NULL fails with
org.apache.spark.sql.AnalysisException: cannot resolve '(1 / NULL)' due to data type mismatch: differing types in '(1 / NULL)' (int and null).
but SELECT 1 * NULL returns NULL, as expected.
Running SELECT 1 / NULL fails with
org.apache.spark.sql.AnalysisException: cannot resolve '(1 / NULL)' due to data type mismatch: differing types in '(1 / NULL)' (int and null).
but SELECT 1 * NULL returns NULL, as expected.