You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT
gid,
'2020-01-01 00:00:00'::TIMESTAMP WITH TIME ZONE + make_interval(secs => (
(gid - (SELECT min(gid) FROM nyct20))::FLOAT / (SELECT max(gid) - min(gid) FROM nyct20)) * 31536000 -- One year in seconds
) AS generated_timestamp
FROM
nyct20;
Describe the bug
I get an error when trying to parse a SELECT query
Full reproduction here: https://github.com/mhkeller/Node-SQL-Parser-error
Database Engine
PostgreSQL
To Reproduce
-the SQL that be parsed
-the node-sql-parser version: 5.3.6
-the node version: 22.10
Expected behavior
It should parse the AST and say that it is a SELECT query
The text was updated successfully, but these errors were encountered: