spark git commit: [SPARK-19472][SQL] Parser should not mistake CASE WHEN(...) for a function call

2017-02-06 Thread lixiao
Repository: spark Updated Branches: refs/heads/branch-2.0 b41294bb8 -> 8bf642226 [SPARK-19472][SQL] Parser should not mistake CASE WHEN(...) for a function call ## What changes were proposed in this pull request? The SQL parser can mistake a `WHEN (...)` used in `CASE` for a function call.

spark git commit: [SPARK-19472][SQL] Parser should not mistake CASE WHEN(...) for a function call

2017-02-06 Thread lixiao
Repository: spark Updated Branches: refs/heads/branch-2.1 7c23bd49e -> f55bd4c73 [SPARK-19472][SQL] Parser should not mistake CASE WHEN(...) for a function call ## What changes were proposed in this pull request? The SQL parser can mistake a `WHEN (...)` used in `CASE` for a function call.