spark-instrumented-optimizer/sql/catalyst
Reynold Xin 423783a08b [SPARK-12904][SQL] Strength reduction for integral and decimal literal comparisons
This pull request implements strength reduction for comparing integral expressions and decimal literals, which is more common now because we switch to parsing fractional literals as decimal types (rather than doubles). I added the rules to the existing DecimalPrecision rule with some refactoring to simplify the control flow. I also moved DecimalPrecision rule into its own file due to the growing size.

Author: Reynold Xin <rxin@databricks.com>

Closes #10882 from rxin/SPARK-12904-1.
2016-01-23 12:13:05 -08:00
..
src [SPARK-12904][SQL] Strength reduction for integral and decimal literal comparisons 2016-01-23 12:13:05 -08:00
pom.xml [SPARK-12573][SPARK-12574][SQL] Move SQL Parser from Hive to Catalyst 2016-01-06 11:16:53 -08:00