hpcc-systems/HPCC-Platform — pull request #3295 by ghalliday (2012-08-31 19:19:04+00:00)
Title: gh-3294 Implementation of CHOOSE(expr, ds, ds, ds)

* The internal representation is better than case/map for processing.

* Provide a syntax for the ECL user for consitency with expressions.

* Translate CASE() dataset operator into no_chooseds - produces better
code.

* Easier to translate conditional guards into this form (and can be used
for more types of conditions)

- Fix a pre-existing bug on converting a CASE to an IF where the types of the
arguments weren't set correctly.

Signed-off-by: Gavin Halliday