spark git commit: [SPARK-4593][SQL] Return null when denominator is 0

2014-12-02 Thread marmbrus
Repository: spark Updated Branches: refs/heads/branch-1.2 06129cde4 -> 97dc2384a [SPARK-4593][SQL] Return null when denominator is 0 SELECT max(1/0) FROM src would return a very large number, which is obviously not right. For hive-0.12, hive would return `Infinity` for 1/0, while for hive-0.13

spark git commit: [SPARK-4593][SQL] Return null when denominator is 0

2014-12-02 Thread marmbrus
Repository: spark Updated Branches: refs/heads/master 106642760 -> f6df609dc [SPARK-4593][SQL] Return null when denominator is 0 SELECT max(1/0) FROM src would return a very large number, which is obviously not right. For hive-0.12, hive would return `Infinity` for 1/0, while for hive-0.13.1,