DRILL-8406: Enable implicit casting of VARCHAR and BIT args in aggregate functions
Description
Default function implementations that that throw unsupported operation exceptions in the class AggregateErrorFunctions prevent the implicit casting of VARCHAR and BIT arguments to neighbouring types. E.g.
apache drill> select sum('1');
Error: UNSUPPORTED_OPERATION ERROR: Only COUNT, MIN and MAX aggregate functions supported for VarChar type
This PR removes AggregateErrorFunctions so that implicit casting works, the example above changing as follows.
DRILL-8406: Enable implicit casting of VARCHAR and BIT args in aggregate functions
Description
Default function implementations that that throw unsupported operation exceptions in the class AggregateErrorFunctions prevent the implicit casting of VARCHAR and BIT arguments to neighbouring types. E.g.
This PR removes AggregateErrorFunctions so that implicit casting works, the example above changing as follows.
Documentation
N/A
Testing
New unit test.