mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-14 07:42:58 +00:00
Closes #2287 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added configurable timeout support for query executions. Users can now specify maximum wait times for queries, enhancing control over long-running operations across various integrations. - **Tests** - Expanded test coverage to validate timeout behavior in both synchronous and asynchronous query flows, ensuring timely error responses when query execution exceeds the specified limit. - Introduced a new test suite to verify query operations when a timeout is reached, checking for appropriate error handling. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
33 lines
539 B
Markdown
33 lines
539 B
Markdown
[**@lancedb/lancedb**](../README.md) • **Docs**
|
|
|
|
***
|
|
|
|
[@lancedb/lancedb](../globals.md) / QueryExecutionOptions
|
|
|
|
# Interface: QueryExecutionOptions
|
|
|
|
Options that control the behavior of a particular query execution
|
|
|
|
## Properties
|
|
|
|
### maxBatchLength?
|
|
|
|
```ts
|
|
optional maxBatchLength: number;
|
|
```
|
|
|
|
The maximum number of rows to return in a single batch
|
|
|
|
Batches may have fewer rows if the underlying data is stored
|
|
in smaller chunks.
|
|
|
|
***
|
|
|
|
### timeoutMs?
|
|
|
|
```ts
|
|
optional timeoutMs: number;
|
|
```
|
|
|
|
Timeout for query execution in milliseconds
|