sql-metadata
sql-metadata copied to clipboard
Incorrect table names when using Presto UNNEST
If I parse this, valid Presto, query:
SELECT col_
FROM my_table
CROSS JOIN UNNEST(my_col) AS t(col_)
I get three table names:
my_table(correct)my_col(incorrect)col_(incorrect)
I know Presto flavor SQL is not completely supported yet. But if it is not too much work, can we please add support for queries where UNNEST is being used?
Hi, how is going on