DRILL-1098: Add test for trim(), substring() function.
Actual fix is in OPTIQ-331