liuchunhua opened a new issue, #4803: URL: https://github.com/apache/kyuubi/issues/4803
### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) ### Search before asking - [X] I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues. ### Describe the bug ./bin/beeline -u "jdbc:hive2://10.18.26.172:10009/default;#kyuubi.operation.plan.only.mode=parse" -f test.sql test.sql ``` sql select 1; --first line select 2; --second line ``` ### Affects Version(s) 1.7.1 ### Kyuubi Server Log Output ```logtalk Connected to: Spark SQL (version 3.2.4) Driver: Kyuubi Project Hive JDBC Client (version 1.7.1) 0: jdbc:hive2://localhost:10009/default> select 1; --first line . . . . . . . . . . . . . . . . . . . . . > select 2; --second line . . . . . . . . . . . . . . . . . . . . . > . . . . . . . . . . . . . . . . . . . . . > 2023-05-08 16:29:33.109 INFO org.apache.kyuubi.operation.ExecuteStatement: Processing anonymous's query[41c3be64-b37c-4e27-a68c-14d5b18a0c99]: PENDING_STATE -> RUNNING_STATE, statement: select 1 23/05/08 16:29:33 INFO PlanOnlyStatement: Processing anonymous's query[83c1cf62-0ca1-43c5-bdd5-13544eb0966c]: INITIALIZED_STATE -> RUNNING_STATE, statement: select 1 23/05/08 16:29:33 INFO PlanOnlyStatement: Processing anonymous's query[83c1cf62-0ca1-43c5-bdd5-13544eb0966c]: RUNNING_STATE -> FINISHED_STATE, time taken: 0.002 seconds 2023-05-08 16:29:33.111 INFO org.apache.kyuubi.operation.ExecuteStatement: Query[41c3be64-b37c-4e27-a68c-14d5b18a0c99] in FINISHED_STATE 2023-05-08 16:29:33.111 INFO org.apache.kyuubi.operation.ExecuteStatement: Processing anonymous's query[41c3be64-b37c-4e27-a68c-14d5b18a0c99]: RUNNING_STATE -> FINISHED_STATE, time taken: 0.002 seconds +----------------------------------------------------+ | plan | +----------------------------------------------------+ | 'Project [unresolvedalias(1, None)] +- OneRowRelation | +----------------------------------------------------+ 1 row selected (0.048 seconds) 0: jdbc:hive2://localhost:10009/default> Closing: 0: jdbc:hive2://localhost:10009/default;#kyuubi.operation.plan.only.mode=parse ``` ### Kyuubi Engine Log Output _No response_ ### Kyuubi Server Configurations _No response_ ### Kyuubi Engine Configurations ```yaml spark 3.2.4 ``` ### Additional context _No response_ ### Are you willing to submit PR? - [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix. - [ ] No. I cannot submit a PR at this time. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
