apache / apache/kyuubi

[Improvement] Use `beeline --silent=true -u "**" -f` to execute a sql file will get many blank row

Open
#5,753 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
2.4k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

### 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.

### What would you like to be improved?

1、Use `beeline --silent=true -u "**" -f` to execute a sql file will get many blank row, and no execute time at tail
![image](https://github.com/apache/kyuubi/assets/45907917/e05997d7-656b-4139-9b07-92ce109a7701)

2、Want it no useless blank row,just like `spark-sql`client
![image](https://github.com/apache/kyuubi/assets/45907917/9df4142a-1b0c-4724-8703-2ce33c28636a)

### How should we improve?

Maybe can modify source code or add log file to control it

### Are you willing to submit PR?

- [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
- [X] No. I cannot submit a PR at this time.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported `beeline --silent=true -u "**" -f` behavior and compare its output with the attached `spark-sql` example. Trace the Kyuubi command-line SQL execution and output handling; done means the SQL file produces no unnecessary blank rows and includes execution time at the end.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala, sql
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.