apache / apache/kyuubi

[Improvement] Support loading initializationSQLs from file

Open
#4,343 1 comment 1 reaction 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?

Support loading initializationSQLs from file

### How should we improve?

Initialize the sql by configuring an hdfs file path and then reading the file contents

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

Research direction

No files, tests, or entry points are named in the issue. Start by locating the initializationSQL configuration and existing initialization logic, then trace how HDFS paths are handled. Done means an HDFS file path can be configured and its contents are used to initialize the SQL.

Written by the indexing model from the issue text.

Assessment

Tech stack
hadoop, scala
Domain
backend, data-engineering
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.