apache / apache/gravitino

[Improvement] "jdbc-url" checkValue only isNotBlank

Open
#4,591 2 comments 0 reactions 1 assignee Claimed by @LiuQhahah View on GitHub
bug
Dominant language
Java
Stars
3.2k
Forks
935
Avg merge
1d 16h
Merged PRs (30d)
298

Description

### Version

main branch

### What would you like to be improved?

When checking the input value of the jdbc-url, the current logic is checked if the value is not blank.

Can you add more restrictions for this field? such as check the valid-URI instead of isNotBlank.

https://github.com/apache/gravitino/blob/main/catalogs/catalog-jdbc-common/src/main/java/org/apache/gravitino/catalog/jdbc/config/JdbcConfig.java#L36

image

### How should we improve?

add URI check for the value of input

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.