sql-metadata icon indicating copy to clipboard operation
sql-metadata copied to clipboard

No columns information returned with static query

Open shivam05011996 opened this issue 3 years ago • 0 comments

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 -

image

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

shivam05011996 avatar Apr 29 '22 11:04 shivam05011996