flowers-59f opened a new issue, #12102:
URL: https://github.com/apache/inlong/issues/12102
### Description
Bug Fix
- Incorrect logic : It used isNotBlank which caused the program to error out
when the input was actually valid.
- The fix : Changed isNotBlank to isBlank.
```java
// Before
if (StringUtils.isNotBlank(input)) {
System.err.println("input cannot be empty, for example:
inlongGroupId:test_group");
return;
}
// After
if (StringUtils.isBlank(input)) {
System.err.println("input cannot be empty, for example:
inlongGroupId:test_group");
return;
}
```
Make a condition filter to support OR and AND
I noticed a TODO in "LogCommand.java": "support OR and AND, make a condition
filter." Could I try to implement this? I have attached my code, unit tests,
and test results. My understanding of the requirements might not be fully
accurate, so if you're willing to let me take this on, please point out any
issues or let me know what improvements I should make.
[Specification.md](https://github.com/user-attachments/files/26003152/Specification.md)
### InLong Component
InLong Manager
### Are you willing to submit PR?
- [x] Yes, I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of
Conduct](https://www.apache.org/foundation/policies/conduct)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]