diff options
author | Reynold Xin <rxin@databricks.com> | 2016-01-23 12:13:05 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-01-23 12:13:05 -0800 |
commit | 423783a08bb8730852973aca19603e444d15040d (patch) | |
tree | b178b4f2f0fd6de068195addba392a9700aaf9d0 /streaming | |
parent | 5f56980127704d3c2877d0d0b5047791c00fdac9 (diff) | |
download | spark-423783a08bb8730852973aca19603e444d15040d.tar.gz spark-423783a08bb8730852973aca19603e444d15040d.tar.bz2 spark-423783a08bb8730852973aca19603e444d15040d.zip |
[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.
Diffstat (limited to 'streaming')
0 files changed, 0 insertions, 0 deletions