diff options
author | Reynold Xin <rxin@databricks.com> | 2015-07-18 18:18:19 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-07-18 18:18:19 -0700 |
commit | 9914b1b2c5d5fe020f54d95f59f03023de2ea78a (patch) | |
tree | 8597a82ec83149e252b9ae5ed345d013d851f22a /project | |
parent | e16a19a39ed3369dffd375d712066d12add71c9e (diff) | |
download | spark-9914b1b2c5d5fe020f54d95f59f03023de2ea78a.tar.gz spark-9914b1b2c5d5fe020f54d95f59f03023de2ea78a.tar.bz2 spark-9914b1b2c5d5fe020f54d95f59f03023de2ea78a.zip |
[SPARK-9150][SQL] Create CodegenFallback and Unevaluable trait
It is very hard to track which expressions have code gen implemented or not. This patch removes the default fallback gencode implementation from Expression, and moves that into a new trait called CodegenFallback. Each concrete expression needs to either implement code generation, or mix in CodegenFallback. This makes it very easy to track which expressions have code generation implemented already.
Additionally, this patch creates an Unevaluable trait that can be used to track expressions that don't support evaluation (e.g. Star).
Author: Reynold Xin <rxin@databricks.com>
Closes #7487 from rxin/codegenfallback and squashes the following commits:
14ebf38 [Reynold Xin] Fixed Conv
6c1c882 [Reynold Xin] Fixed Alias.
b42611b [Reynold Xin] [SPARK-9150][SQL] Create a trait to track code generation for expressions.
cb5c066 [Reynold Xin] Removed extra import.
39cbe40 [Reynold Xin] [SPARK-8240][SQL] string function: concat
Diffstat (limited to 'project')
0 files changed, 0 insertions, 0 deletions