aboutsummaryrefslogtreecommitdiff
path: root/R/pkg
diff options
context:
space:
mode:
authorReynold Xin <rxin@databricks.com>2016-11-02 15:53:02 -0700
committerReynold Xin <rxin@databricks.com>2016-11-02 15:53:02 -0700
commitfd90541c35af2bccf0155467bec8cea7c8865046 (patch)
tree628164701b38ddebfd0e916a53bffba01c716a00 /R/pkg
parent37d95227a21de602b939dae84943ba007f434513 (diff)
downloadspark-fd90541c35af2bccf0155467bec8cea7c8865046.tar.gz
spark-fd90541c35af2bccf0155467bec8cea7c8865046.tar.bz2
spark-fd90541c35af2bccf0155467bec8cea7c8865046.zip
[SPARK-18214][SQL] Simplify RuntimeReplaceable type coercion
## What changes were proposed in this pull request? RuntimeReplaceable is used to create aliases for expressions, but the way it deals with type coercion is pretty weird (each expression is responsible for how to handle type coercion, which does not obey the normal implicit type cast rules). This patch simplifies its handling by allowing the analyzer to traverse into the actual expression of a RuntimeReplaceable. ## How was this patch tested? - Correctness should be guaranteed by existing unit tests already - Removed SQLCompatibilityFunctionSuite and moved it sql-compatibility-functions.sql - Added a new test case in sql-compatibility-functions.sql for verifying explain behavior. Author: Reynold Xin <rxin@databricks.com> Closes #15723 from rxin/SPARK-18214.
Diffstat (limited to 'R/pkg')
0 files changed, 0 insertions, 0 deletions