[
https://issues.apache.org/jira/browse/HIVE-27629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Riju Trivedi updated HIVE-27629:
--------------------------------
Description:
Using beeline, hive fails to execute the below statement.
{noformat}
/* Bracketed coments */
set hive.variable.substitute=true;
select 1;
Error: Error while compiling statement: FAILED: ParseException line 2:4 cannot
recognize input near 'set' 'hive' '.' in statement
(state=42000,code=40000){noformat}
SELECT/DDL/DML statements are supported after bracketed comments but
{color:#FF0000}set {color:#172b4d}does not work.{color}{color}
> Beeline should support set command after bracketed comments
> -----------------------------------------------------------
>
> Key: HIVE-27629
> URL: https://issues.apache.org/jira/browse/HIVE-27629
> Project: Hive
> Issue Type: Bug
> Components: Beeline
> Reporter: Riju Trivedi
> Priority: Minor
>
> Using beeline, hive fails to execute the below statement.
> {noformat}
> /* Bracketed coments */
> set hive.variable.substitute=true;
> select 1;
> Error: Error while compiling statement: FAILED: ParseException line 2:4
> cannot recognize input near 'set' 'hive' '.' in statement
> (state=42000,code=40000){noformat}
> SELECT/DDL/DML statements are supported after bracketed comments but
> {color:#FF0000}set {color:#172b4d}does not work.{color}{color}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)