This seems to be a bug we have identified when using DSP version 1.8.2.
This can be tested when using the API Doc interface in the DSP.
I am connecting to a MySQL database.
When using the REST API to query a table, the FILTER does not recognize single quotations when there is a GROUP BY in the filter.
Examples:
The following script will throw an ERROR (as the string values are in single quotes and has Group By):
employee_code <>’’ and clockin >‘2014-12-31 18:30’ and clockout <=‘2015-01-04 18:30’ GROUP BY job_code
The following script will WORK (as the string values are in single quotes and NO Group By in the filter):
employee_code <>’’ and clockin >‘2014-12-31 18:30’ and clockout <=‘2015-01-04 18:30’
The following script will WORK (as the string values are in double quotes with Group By):
employee_code <>"" and job_code<>"" and clockin >“2014-12-31 18:30” and clockout <=“2015-01-04 18:30” GROUP BY job_code
I do NOT have this issue on DSP version 1.7.8.
In 1.7.8 the script in example #1 works.