Skip to content

feat: fix java sdk query, table stats recursive structs, improve docs#136

Merged
LuQQiu merged 4 commits into
lance-format:mainfrom
LuQQiu:lu/improve_java
Jul 17, 2025
Merged

feat: fix java sdk query, table stats recursive structs, improve docs#136
LuQQiu merged 4 commits into
lance-format:mainfrom
LuQQiu:lu/improve_java

Conversation

@LuQQiu

@LuQQiu LuQQiu commented Jul 16, 2025

Copy link
Copy Markdown
Contributor

Update query and table stats request/response structs to better match the server specification.
Improve the java sdk doc with list indices, get index stats and varies queries

@github-actions github-actions Bot added enhancement New feature or request python Python features java Java features spec Restful openapi spec rust Rust features labels Jul 16, 2025
@LuQQiu LuQQiu requested a review from jackye1995 July 16, 2025 23:27
```

## Current Limitations
## Known Limitations

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jackye1995 Updated the new known limitation. If i use OneOf, the created struct will be empty. I default to the simpler and more common one for now

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can merge this and do it in the next PR if necessary, but I think you can look at https://github.com/lancedb/lance-namespace/blob/main/docs/src/spec/rest.yaml#L1928 I tried a few ways in the end I think overloading one field for one type seems to be the most compatible way in OpenAPI.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, have multiple ways to resolve it, let me try this approach, thanks for the suggestion!

@LuQQiu LuQQiu merged commit 16760a9 into lance-format:main Jul 17, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request java Java features python Python features rust Rust features spec Restful openapi spec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants