mirror of
https://github.com/lancedb/lancedb.git
synced 2026-11-21 10:03:58 +00:00
feat(nodejs): expose Function refresh publication intervals (#4957)
Expose `publicationIntervalRows` on TypeScript refresh options and
forward it as `publication_interval_rows`. Accept positive safe integers
and preserve whole-fragment publication when omitted.
```typescript
const job = await table.refreshColumnAsync("embedding", {
publicationIntervalRows: 10000,
});
await job.wait();
```
Document the threshold semantics and add coverage for serialization,
omission, invalid values, safe-integer boundaries, and Embedded
rejection.
Closes ENT-3755.
This commit is contained in:
@@ -117,6 +117,19 @@ Worker count for an expression column; Function columns reject it.
|
||||
|
||||
***
|
||||
|
||||
### publicationIntervalRows?
|
||||
|
||||
```ts
|
||||
optional publicationIntervalRows: number;
|
||||
```
|
||||
|
||||
Row-count threshold for publishing completed Function split ranges.
|
||||
Must be a positive safe integer. Omit for whole-fragment publication.
|
||||
Actual publications can be larger; remaining rows publish at completion.
|
||||
Requires LanceDB Enterprise with non-Blob Function outputs.
|
||||
|
||||
***
|
||||
|
||||
### resourceBudget?
|
||||
|
||||
```ts
|
||||
|
||||
Reference in New Issue
Block a user