You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "LiuQhahah (via GitHub)" <gi...@apache.org> on 2024/08/20 00:22:11 UTC
[I] [Bug report] "jdbc-url" checkValue only isNotBlank [gravitino]
LiuQhahah opened a new issue, #4591:
URL: https://github.com/apache/gravitino/issues/4591
### Version
main branch
### Describe what's wrong
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
### Error message and/or stacktrace
<img width="586" alt="image" src="https://github.com/user-attachments/assets/7a630672-ff34-4a60-834c-39a066d9ac7c">
### How to reproduce
see pic
### Additional context
_No response_
--
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: commits-unsubscribe@gravitino.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] "jdbc-url" checkValue only isNotBlank [gravitino]
Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on issue #4591:
URL: https://github.com/apache/gravitino/issues/4591#issuecomment-2298355496
Do you have interest to raise a pull request for this issue?
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] "jdbc-url" checkValue only isNotBlank [gravitino]
Posted by "LiuQhahah (via GitHub)" <gi...@apache.org>.
LiuQhahah commented on issue #4591:
URL: https://github.com/apache/gravitino/issues/4591#issuecomment-2298987648
Yes, Thank you.
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org