Hi,

I used hplsql.g4 to parse HiveQL. Unfortunately, when the query contains
keyword "partition", it can not be parsed in AST.

For example :
"INSERT overwrite table fact_app_logs_loading partition (ts_date=20190623)
SELECT count(*), logrecordtype  FROM applogs.fact_app_logs WHERE
ts_date=20190623  group by logrecordtype"

This query can not be parsed. However, if I remove "partition
(ts_date=20190623)", it can be parsed. Do you know why it happens? Thank
you!

Best regards,
Chun Ni

Reply via email to