Open zzehli opened 1 year ago
@zzehli Which MSSQL database version do you use?
@zzehli Which MSSQL database version do you use?
Microsoft Azure SQL Data Warehouse - 10.0.25730.0
In fact, a similar error happens for total
field. If I set total
to false, then the query runs fine, but if I set total
to true, then I get the following error
{
"error": "Error: Parse error at line: 2, column: 1: The ORDER BY clause is not valid in views, inline functions, derived tables, sub-queries, and common table expressions, unless TOP or FOR XML is also specified.",
"requestId": "2162fa8d-3453-4cf0-a8c9-a18853262fac-span-1"
}
Describe the bug When I query with an non 0 offset, I get the following error:
To Reproduce Steps to reproduce the behavior: Cube server is connected with a MS SQL db. A sample query is below:
This query will generate the following sql statement when hit
/sql
endpointIf I set offset to 0, the sql statement becomes
Expected behavior Be able to parse non 0 offset
Version: latest docker image:
cubejs/cube:latest