Commit e8bbf52
committed
[KYUUBI #7229] Fix countMetadata if the params is empty
### Why are the changes needed?
Without this PR.
It will meet issue if the params is empty.
```
jdbcMetadataStore.countMetadata(MetadataFilter())
```
<img width="1443" height="742" alt="image" src="https://github.com/user-attachments/assets/e099c469-7468-4d6a-90e8-e20ba144316b" />
<img width="877" height="160" alt="image" src="https://github.com/user-attachments/assets/1773d395-87f7-4108-ac6c-21c2ca04ca71" />
### How was this patch tested?
UT.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #7229 from turboFei/fix_typo.
Closes #7229
c1794fe [Wang, Fei] Fix countMetadata if the params is empty
Authored-by: Wang, Fei <[email protected]>
Signed-off-by: Wang, Fei <[email protected]>1 parent 3b205a3 commit e8bbf52
File tree
2 files changed
+2
-1
lines changed- kyuubi-server/src
- main/scala/org/apache/kyuubi/server/metadata/jdbc
- test/scala/org/apache/kyuubi/server/metadata/jdbc
2 files changed
+2
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
| 283 | + | |
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| 227 | + | |
227 | 228 | | |
228 | 229 | | |
229 | 230 | | |
| |||
0 commit comments