Follow up to
The new statement in Report.xml introduced with
CAM-5158 contains a placeholder/variable in the select list as a column for the result set.
IBM Informix does not like it and gives sends a "Syntax error".
I found a working solution (checked against H2 and Informix) to replace the variable with a constant text based on the report type without doubling the statement.
Using directly the include "periodUnitFunction" with apostrophes around it (' ') did not work, because it also puts additional wide spaces between the apostrophes.