You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2022/10/21 07:32:01 UTC
[jira] [Updated] (HIVE-20463) Hplsql.g4 - 'from_clause' parses the keyword `JOIN` into 'from_alias_clause' in 'from_table_clause' when parsing 'from_join_clause'
[ https://issues.apache.org/jira/browse/HIVE-20463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stamatis Zampetakis updated HIVE-20463:
---------------------------------------
Fix Version/s: (was: 3.1.0)
I cleared the fixVersion field since this ticket is not resolved. Please review this ticket and if the fix is already committed to a specific version please set the version accordingly and mark the ticket as RESOLVED.
According to the JIRA guidelines (https://cwiki.apache.org/confluence/display/Hive/HowToContribute) the fixVersion should be set only when the issue is resolved/closed.
> 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
> Priority: Major
> Labels: pull-request-available
> Attachments: 0001-HIVE-20463-fix-parse-from_join_clause-error.patch, 0002-HIVE-20463-Test-Modify-select-test-case.patch
>
>
> '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
(v8.20.10#820010)