Hao Zhou created HIVE-20463: ------------------------------- Summary: Hplsql.g4 - 'from_clause' parses the keyword `JOIN` into 'from_alias_clause' in 'from_table_clause' when parsing 'from_join_clause' Key: HIVE-20463 URL: https://issues.apache.org/jira/browse/HIVE-20463 Project: Hive Issue Type: Bug Components: CLI Affects Versions: 3.1.0 Reporter: Hao Zhou Assignee: Hao Zhou Fix For: 3.1.0
'from_clause' parses the keyword `JOIN` into 'from_alias_clause' in 'from_table_clause' when parsing 'from_join_clause'. example: Parse sql {{SELECT `k1, v1, k2, v2 FROM a JOIN b ON k1 = k2;`.}} Now grammar will parse `{{JOIN`}} as a `{{from_alias_clause`}}, but it should be a `{{from_join_clause`}}; -- This message was sent by Atlassian JIRA (v7.6.3#76005)