apache / apache/kyuubi

[FEATURE] Add noop mode for SQL testing or troubleshooting scenarios

Open
#6,641 0 comments 0 reactions 0 assignees View on GitHub
kind:feature priority:major
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.

### Describe the feature

When executing SQL, only the procedure is executed and no results are returned or stored

### Motivation

When we run SQL for testing or troubleshooting, the results may be very large, or we don't need to look at the results at all, just want to observe the execution process of SQL. At this time, we can discard the results to avoid wasting resources and time

### Describe the solution

Add a debugging mode and use the following functions:
ds.write.format("noop").mode("overwrite").save()

### Additional context

_No response_

### Are you willing to submit PR?

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.