Describe the bug
const ast: any = parser.astify(query);
const sql = parser.sqlify(ast);
Query: SELECT 100.0 * count(_timestamp) as "y_axis_1" FROM "default"
Parser removes decimal points.
Output: SELECT 100 * COUNT(_timestamp) AS "y_axis_1" FROM "default"
Database Engine
PostgreSQL.
Describe the bug
Query:
SELECT 100.0 * count(_timestamp) as "y_axis_1" FROM "default"Parser removes decimal points.
Output:
SELECT 100 * COUNT(_timestamp) AS "y_axis_1" FROM "default"Database Engine
PostgreSQL.