Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add list_indices to the async api #1074

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

westonpace
Copy link
Contributor

No description provided.

@westonpace westonpace marked this pull request as ready for review March 12, 2024 12:22
Copy link
Contributor

@wjones127 wjones127 left a comment

Choose a reason for hiding this comment

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

Just the one note about whether we can use the index stats to get the type already.

for field_id in &idx.fields {
let field = dataset.schema().field_by_id(*field_id).ok_or_else(|| Error::Runtime { message: format!("The index with name {} and uuid {} referenced a field with id {} which does not exist in the schema", idx.name, idx.uuid, field_id) })?;
if field.data_type().is_nested() {
// Temporary hack to determine if an index is scalar or vector
Copy link
Contributor

Choose a reason for hiding this comment

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

See my note here: lancedb/lance#2039 (comment)

@westonpace westonpace merged commit 4dc7497 into lancedb:main Mar 12, 2024
17 checks passed
raghavdixit99 pushed a commit to raghavdixit99/lancedb that referenced this pull request Apr 5, 2024
raghavdixit99 pushed a commit to raghavdixit99/lancedb that referenced this pull request Apr 5, 2024
alexkohler pushed a commit to alexkohler/lancedb that referenced this pull request Apr 20, 2024
Closes. lancedb#1074

This pull request extends the `delete` method to accept the parameter
`delete('true')`
to bypass the filter when `predicate == 'true'`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants