aboutsummaryrefslogtreecommitdiff
path: root/streaming
diff options
context:
space:
mode:
authorCheng Hao <hao.cheng@intel.com>2014-11-20 16:50:59 -0800
committerMichael Armbrust <michael@databricks.com>2014-11-20 16:51:17 -0800
commit0f6a2eeaf20363061f9ed2d9062f3a7022c2c8ba (patch)
treea168b8836a72e19e7a6bdd03e37ccfa7c75064a1 /streaming
parent5153aa041fd4ca8b2a4df4d635598090280655c6 (diff)
downloadspark-0f6a2eeaf20363061f9ed2d9062f3a7022c2c8ba.tar.gz
spark-0f6a2eeaf20363061f9ed2d9062f3a7022c2c8ba.tar.bz2
spark-0f6a2eeaf20363061f9ed2d9062f3a7022c2c8ba.zip
[SPARK-4244] [SQL] Support Hive Generic UDFs with constant object inspector parameters
Query `SELECT named_struct(lower("AA"), "12", lower("Bb"), "13") FROM src LIMIT 1` will throw exception, some of the Hive Generic UDF/UDAF requires the input object inspector is `ConstantObjectInspector`, however, we won't get that before the expression optimization executed. (Constant Folding). This PR is a work around to fix this. (As ideally, the `output` of LogicalPlan should be identical before and after Optimization). Author: Cheng Hao <hao.cheng@intel.com> Closes #3109 from chenghao-intel/optimized and squashes the following commits: 487ff79 [Cheng Hao] rebase to the latest master & update the unittest (cherry picked from commit 84d79ee9ec47465269f7b0a7971176da93c96f3f) Signed-off-by: Michael Armbrust <michael@databricks.com>
Diffstat (limited to 'streaming')
0 files changed, 0 insertions, 0 deletions