aboutsummaryrefslogtreecommitdiff
path: root/sql/hive-thriftserver
diff options
context:
space:
mode:
authorHerman van Hovell <hvanhovell@databricks.com>2016-10-03 19:32:59 -0700
committerHerman van Hovell <hvanhovell@databricks.com>2016-10-03 19:32:59 -0700
commit2bbecdec2023143fd144e4242ff70822e0823986 (patch)
treebcb61dd7987595769bb4271b340b014d4170c7b0 /sql/hive-thriftserver
parentd8399b600cef706c22d381b01fab19c610db439a (diff)
downloadspark-2bbecdec2023143fd144e4242ff70822e0823986.tar.gz
spark-2bbecdec2023143fd144e4242ff70822e0823986.tar.bz2
spark-2bbecdec2023143fd144e4242ff70822e0823986.zip
[SPARK-17753][SQL] Allow a complex expression as the input a value based case statement
## What changes were proposed in this pull request? We currently only allow relatively simple expressions as the input for a value based case statement. Expressions like `case (a > 1) or (b = 2) when true then 1 when false then 0 end` currently fail. This PR adds support for such expressions. ## How was this patch tested? Added a test to the ExpressionParserSuite. Author: Herman van Hovell <hvanhovell@databricks.com> Closes #15322 from hvanhovell/SPARK-17753.
Diffstat (limited to 'sql/hive-thriftserver')
0 files changed, 0 insertions, 0 deletions