Uses tokenized query returned by python-sqlparse and generates query metadata
Home Page:https://pypi.python.org/pypi/sql-metadata
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
Zhenghan-Lin opened this issue a month ago · comments
I just found that the "INSERT OVERWRITE TABLE" statement cannot be parsed incorrectly. The variable name that represents the partition was also recognized as the table name. The case is below:
The correct output should be: [tbl, table1, table2]