Open abecus opened 3 years ago
@macbre I need your opinion on this, we do not support lateral view explode
keyword as of now, the question is if we should?
https://spark.apache.org/docs/latest/sql-ref-syntax-qry-select-lateral-view.html
in a part lateral view explode(impr_list) table as l
:
impr_list
is now recognized as a table (and this actually is a column) #bug even after #162If i'm not mistaken this only refers to hive/spark sql dialect.
What should we do with this?
Tricky one. Then comes the question if we should for instance support PIVOT as well?
Let's deal with this one in a separate PR / GitHub discussions thread.
Created a discussion: https://github.com/macbre/sql-metadata/discussions/166
@macbre - I think we should either close this one and open a new one with enhancement for lateral view, or rename this one and change the labels, what do you think?
@abecus The original bug was resolved but the tables still will return wrong data as the lateral view explode is not yet supported. Therefore I changed the name and label of this issue.
getting error when trying to get the tables for sql below,
How to reproduce the error:
Error: