sql-metadata
sql-metadata copied to clipboard
No columns information returned with static query
I am trying to parse the query of the following nature -
SELECT ARRAY['seconds', 'minutes', 'hours', 'days', 'weeks', 'months', 'years'];
Which is a valid statement and returns a single row -

However, when trying to parse this using sql_metadata.Parser I do not get back any column information.
