@lancedb/lancedb 0.42.0-beta.21 → 0.42.0-beta.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connection.d.ts +10 -0
- package/dist/connection.js +19 -1
- package/dist/index.d.ts +1 -1
- package/dist/job.d.ts +2 -2
- package/dist/job.js +2 -2
- package/dist/materialized_view.d.ts +5 -0
- package/dist/materialized_view.js +17 -1
- package/dist/native.d.ts +13 -23
- package/dist/native.js +52 -52
- package/dist/table.d.ts +11 -21
- package/dist/table.js +2 -2
- package/package.json +8 -8
package/dist/connection.d.ts
CHANGED
|
@@ -226,6 +226,11 @@ export declare abstract class Connection {
|
|
|
226
226
|
where?: string;
|
|
227
227
|
limit?: number;
|
|
228
228
|
withNoData?: boolean;
|
|
229
|
+
totalCpuMillis?: number;
|
|
230
|
+
totalMemoryBytes?: number;
|
|
231
|
+
totalGpuCount?: number;
|
|
232
|
+
gpuClass?: string;
|
|
233
|
+
gpuCount?: number;
|
|
229
234
|
}): Promise<MaterializedView>;
|
|
230
235
|
/**
|
|
231
236
|
* Open the materialized view named `name`.
|
|
@@ -485,6 +490,11 @@ export declare class LocalConnection extends Connection {
|
|
|
485
490
|
where?: string;
|
|
486
491
|
limit?: number;
|
|
487
492
|
withNoData?: boolean;
|
|
493
|
+
totalCpuMillis?: number;
|
|
494
|
+
totalMemoryBytes?: number;
|
|
495
|
+
totalGpuCount?: number;
|
|
496
|
+
gpuClass?: string;
|
|
497
|
+
gpuCount?: number;
|
|
488
498
|
}): Promise<MaterializedView>;
|
|
489
499
|
openMaterializedView(name: string): Promise<MaterializedView>;
|
|
490
500
|
listMaterializedViews(options?: ListingOptions): Listing<string>;
|
package/dist/connection.js
CHANGED
|
@@ -73,7 +73,25 @@ class LocalConnection extends Connection {
|
|
|
73
73
|
}
|
|
74
74
|
async createMaterializedView(name, source, options) {
|
|
75
75
|
(0, materialized_view_1.validateNonNegativeInteger)(options?.limit, "limit");
|
|
76
|
-
const
|
|
76
|
+
for (const [name, value] of [
|
|
77
|
+
["totalCpuMillis", options?.totalCpuMillis],
|
|
78
|
+
["totalMemoryBytes", options?.totalMemoryBytes],
|
|
79
|
+
["totalGpuCount", options?.totalGpuCount],
|
|
80
|
+
["gpuCount", options?.gpuCount],
|
|
81
|
+
]) {
|
|
82
|
+
(0, materialized_view_1.validateNonNegativeInteger)(value, name);
|
|
83
|
+
if (value === 0 && name !== "totalGpuCount") {
|
|
84
|
+
throw new Error(`${name} must be positive`);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
if (options?.totalGpuCount !== undefined &&
|
|
88
|
+
options.totalGpuCount > 4294967295) {
|
|
89
|
+
throw new Error("totalGpuCount exceeds 4294967295");
|
|
90
|
+
}
|
|
91
|
+
if (options?.gpuCount !== undefined && options.gpuCount > 4294967295) {
|
|
92
|
+
throw new Error("gpuCount exceeds 4294967295");
|
|
93
|
+
}
|
|
94
|
+
const innerTable = await this.inner.createMaterializedView(name, source, (0, materialized_view_1.normalizeSelect)(options?.select), options?.where, options?.limit, options?.withNoData ?? false, options?.totalCpuMillis, options?.totalMemoryBytes, options?.totalGpuCount, options?.gpuClass, options?.gpuCount);
|
|
77
95
|
return new materialized_view_1.MaterializedView(new table_1.LocalTable(innerTable));
|
|
78
96
|
}
|
|
79
97
|
async openMaterializedView(name) {
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { MaterializedView, MaterializedViewDefinition, MaterializedViewSelect, }
|
|
|
7
7
|
export { ViewDescription } from "./view";
|
|
8
8
|
export { JsHeaderProvider as NativeJsHeaderProvider } from "./native.js";
|
|
9
9
|
export { instrumentLanceDbMetrics } from "./otel";
|
|
10
|
-
export { AddColumnsSql, ConnectionOptions, ConnectNamespaceOptions, IndexStatistics, IndexConfig, ClientConfig, TimeoutConfig, RetryConfig, TlsConfig, OptimizeStats, CompactionStats, RemovalStats, TableStatistics, FragmentStatistics, FragmentSummaryStats, Tags, TagContents, BranchContents, MergeResult, AddResult, AddColumnsResult, RefreshColumnOptions, FunctionRefreshPlanningConfig, FunctionRefreshPodResources, FunctionRetryPolicy,
|
|
10
|
+
export { AddColumnsSql, ConnectionOptions, ConnectNamespaceOptions, IndexStatistics, IndexConfig, ClientConfig, TimeoutConfig, RetryConfig, TlsConfig, OptimizeStats, CompactionStats, RemovalStats, TableStatistics, FragmentStatistics, FragmentSummaryStats, Tags, TagContents, BranchContents, MergeResult, AddResult, AddColumnsResult, RefreshColumnOptions, FunctionRefreshPlanningConfig, FunctionRefreshPodResources, FunctionRetryPolicy, RefreshColumnResult, FunctionErrors, FunctionErrorsOptions, FunctionErrorRecord, FunctionErrorFragment, RefreshMaterializedViewResult, AlterColumnsResult, UpdateFieldMetadataResult, DeleteResult, DropColumnsResult, UpdateResult, SplitCalculatedOptions, SplitRandomOptions, SplitHashOptions, SplitSequentialOptions, ShuffleOptions, OAuthConfig as NativeOAuthConfig, } from "./native.js";
|
|
11
11
|
export { makeArrowTable, makeJsonField, MakeArrowTableOptions, Data, VectorColumnOptions, } from "./arrow";
|
|
12
12
|
export { blob, isBlobField, BlobFile } from "./blob";
|
|
13
13
|
export type { BlobData, BlobInput, BlobOptions, BlobRange, BlobRangeRequest, BlobReadOptions, BlobUri, } from "./blob";
|
package/dist/job.d.ts
CHANGED
|
@@ -139,8 +139,8 @@ export declare class Job<T = void> {
|
|
|
139
139
|
/** Why the job failed, when it failed and the server reports a reason. */
|
|
140
140
|
get failure(): JobFailureInfo | null;
|
|
141
141
|
/**
|
|
142
|
-
* The
|
|
143
|
-
*
|
|
142
|
+
* The current status, usually "running", "finished", "failed", or "cancelled".
|
|
143
|
+
* A Function refresh waiting for execution workers reports "waiting_for_capacity".
|
|
144
144
|
*
|
|
145
145
|
* A point snapshot; unlike {@link Job.wait} it does not block or reject on a
|
|
146
146
|
* terminal failure state. Also refreshes the getters above.
|
package/dist/job.js
CHANGED
|
@@ -132,8 +132,8 @@ class Job {
|
|
|
132
132
|
return this.inner.failure ?? null;
|
|
133
133
|
}
|
|
134
134
|
/**
|
|
135
|
-
* The
|
|
136
|
-
*
|
|
135
|
+
* The current status, usually "running", "finished", "failed", or "cancelled".
|
|
136
|
+
* A Function refresh waiting for execution workers reports "waiting_for_capacity".
|
|
137
137
|
*
|
|
138
138
|
* A point snapshot; unlike {@link Job.wait} it does not block or reject on a
|
|
139
139
|
* terminal failure state. Also refreshes the getters above.
|
|
@@ -67,5 +67,10 @@ export declare class MaterializedView {
|
|
|
67
67
|
refresh(options?: {
|
|
68
68
|
full?: boolean;
|
|
69
69
|
sourceVersion?: number;
|
|
70
|
+
totalCpuMillis?: number;
|
|
71
|
+
totalMemoryBytes?: number;
|
|
72
|
+
totalGpuCount?: number;
|
|
73
|
+
gpuClass?: string;
|
|
74
|
+
gpuCount?: number;
|
|
70
75
|
}): Promise<RefreshMaterializedViewResult>;
|
|
71
76
|
}
|
|
@@ -141,7 +141,23 @@ class MaterializedView {
|
|
|
141
141
|
*/
|
|
142
142
|
async refresh(options) {
|
|
143
143
|
validateNonNegativeInteger(options?.sourceVersion, "sourceVersion");
|
|
144
|
-
|
|
144
|
+
for (const [name, value] of [
|
|
145
|
+
["totalCpuMillis", options?.totalCpuMillis],
|
|
146
|
+
["totalMemoryBytes", options?.totalMemoryBytes],
|
|
147
|
+
["totalGpuCount", options?.totalGpuCount],
|
|
148
|
+
["gpuCount", options?.gpuCount],
|
|
149
|
+
]) {
|
|
150
|
+
validateNonNegativeInteger(value, name);
|
|
151
|
+
if (value === 0 && name !== "totalGpuCount") {
|
|
152
|
+
throw new Error(`${name} must be positive`);
|
|
153
|
+
}
|
|
154
|
+
if ((name === "gpuCount" || name === "totalGpuCount") &&
|
|
155
|
+
value !== undefined &&
|
|
156
|
+
value > 4294967295) {
|
|
157
|
+
throw new Error(`${name} exceeds 4294967295`);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
return await this.inner.refreshMaterializedView(options?.sourceVersion, options?.full, options?.totalCpuMillis, options?.totalMemoryBytes, options?.totalGpuCount, options?.gpuClass, options?.gpuCount);
|
|
145
161
|
}
|
|
146
162
|
}
|
|
147
163
|
exports.MaterializedView = MaterializedView;
|
package/dist/native.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ export declare class Connection {
|
|
|
56
56
|
*/
|
|
57
57
|
createTable(name: string, buf: Buffer, mode: string, namespacePath?: Array<string> | undefined | null, storageOptions?: Record<string, string> | undefined | null): Promise<Table>
|
|
58
58
|
createEmptyTable(name: string, schemaBuf: Buffer, mode: string, namespacePath?: Array<string> | undefined | null, storageOptions?: Record<string, string> | undefined | null): Promise<Table>
|
|
59
|
-
createMaterializedView(name: string, source: string, projections: Array<Array<string>> | undefined | null, filter: string | undefined | null, limit: number | undefined | null, withNoData: boolean): Promise<Table>
|
|
59
|
+
createMaterializedView(name: string, source: string, projections: Array<Array<string>> | undefined | null, filter: string | undefined | null, limit: number | undefined | null, withNoData: boolean, totalCpuMillis?: number | undefined | null, totalMemoryBytes?: number | undefined | null, totalGpuCount?: number | undefined | null, gpuClass?: string | undefined | null, gpuCount?: number | undefined | null): Promise<Table>
|
|
60
60
|
openMaterializedView(name: string): Promise<Table>
|
|
61
61
|
listMaterializedViews(pageToken?: string | undefined | null, pageLimit?: number | undefined | null): NameListing
|
|
62
62
|
/** Drop a materialized view. */
|
|
@@ -186,8 +186,8 @@ export declare class Job {
|
|
|
186
186
|
get sourceTableVersion(): number | null
|
|
187
187
|
get executionEpoch(): number | null
|
|
188
188
|
/**
|
|
189
|
-
* The
|
|
190
|
-
*
|
|
189
|
+
* The current status, usually "running", "finished", "failed", or "cancelled".
|
|
190
|
+
* A Function refresh waiting for execution workers reports "waiting_for_capacity".
|
|
191
191
|
*
|
|
192
192
|
* A point snapshot; unlike {@link Job.wait} it does not block or reject
|
|
193
193
|
* on a terminal failure state. States a newer server reports that this
|
|
@@ -491,7 +491,7 @@ export declare class Table {
|
|
|
491
491
|
functionColumnStatuses(column?: string | undefined | null): Promise<Array<FunctionColumnStatus>>
|
|
492
492
|
functionColumnStatus(column: string): Promise<FunctionColumnStatus>
|
|
493
493
|
waitForFunctionColumn(column: string, timeoutSeconds?: number | undefined | null): Promise<FunctionColumnStatus>
|
|
494
|
-
refreshMaterializedView(sourceVersion?: number | undefined | null, full?: boolean | undefined | null): Promise<RefreshMaterializedViewResult>
|
|
494
|
+
refreshMaterializedView(sourceVersion?: number | undefined | null, full?: boolean | undefined | null, totalCpuMillis?: number | undefined | null, totalMemoryBytes?: number | undefined | null, totalGpuCount?: number | undefined | null, gpuClass?: string | undefined | null, gpuCount?: number | undefined | null): Promise<RefreshMaterializedViewResult>
|
|
495
495
|
materializedViewDefinition(): Promise<string>
|
|
496
496
|
addColumnsWithSchema(schemaBuf: Buffer): Promise<AddColumnsResult>
|
|
497
497
|
alterColumns(alterations: Array<ColumnAlteration>): Promise<AlterColumnsResult>
|
|
@@ -1081,16 +1081,6 @@ export interface FunctionRetryPolicy {
|
|
|
1081
1081
|
honorRetryAfter?: boolean
|
|
1082
1082
|
}
|
|
1083
1083
|
|
|
1084
|
-
/** Aggregate worker resources for one Enterprise Function refresh. */
|
|
1085
|
-
export interface FunctionWorkerResourceBudget {
|
|
1086
|
-
/** Aggregate CPU budget in millicores; 1000 is one CPU. */
|
|
1087
|
-
cpuMillis: number
|
|
1088
|
-
/** Aggregate memory budget in bytes. */
|
|
1089
|
-
memoryBytes: number
|
|
1090
|
-
/** Aggregate GPU budget. Omitted means zero, a CPU-only refresh. */
|
|
1091
|
-
gpuCount?: number
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
1084
|
/** A description of an index currently configured on a column */
|
|
1095
1085
|
export interface IndexConfig {
|
|
1096
1086
|
/** The name of the index */
|
|
@@ -1376,8 +1366,7 @@ export interface PrewarmDataOptions {
|
|
|
1376
1366
|
/**
|
|
1377
1367
|
* Options for `Table.refreshColumn` and `Table.refreshColumnAsync`. Every
|
|
1378
1368
|
* option is LanceDB Enterprise only; a LanceDB Embedded refresh ignores
|
|
1379
|
-
* `batchSize`, `gpuClass` and `
|
|
1380
|
-
* `resourceBudget`.
|
|
1369
|
+
* `batchSize`, `gpuClass` and `totalGpuCount` and rejects the rest.
|
|
1381
1370
|
*/
|
|
1382
1371
|
export interface RefreshColumnOptions {
|
|
1383
1372
|
/** Only refresh the rows matching this SQL filter. */
|
|
@@ -1398,17 +1387,18 @@ export interface RefreshColumnOptions {
|
|
|
1398
1387
|
maxConcurrency?: number
|
|
1399
1388
|
/** GPU class for Function workers. */
|
|
1400
1389
|
gpuClass?: string
|
|
1401
|
-
/**
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1390
|
+
/** Positive GPU count allocated to each Function worker. */
|
|
1391
|
+
gpuCount?: number
|
|
1392
|
+
/** Override the total CPU budget in millicores for this refresh. */
|
|
1393
|
+
totalCpuMillis?: number
|
|
1394
|
+
/** Override the total memory budget in bytes for this refresh. */
|
|
1395
|
+
totalMemoryBytes?: number
|
|
1406
1396
|
/** CPU, memory, and ephemeral-storage limits for the refresh supervisor. */
|
|
1407
1397
|
supervisorResources?: FunctionRefreshPodResources
|
|
1408
1398
|
/** Resources and sizing for the refresh planning fleet. */
|
|
1409
1399
|
planningWorkers?: FunctionRefreshPlanningConfig
|
|
1410
|
-
/**
|
|
1411
|
-
|
|
1400
|
+
/** Nonnegative total GPU budget for Function workers. */
|
|
1401
|
+
totalGpuCount?: number
|
|
1412
1402
|
/** Override retries of failed user-code calls for this refresh. */
|
|
1413
1403
|
retryPolicy?: FunctionRetryPolicy
|
|
1414
1404
|
/**
|
package/dist/native.js
CHANGED
|
@@ -76,8 +76,8 @@ function requireNative() {
|
|
|
76
76
|
try {
|
|
77
77
|
const binding = require('@lancedb/lancedb-android-arm64');
|
|
78
78
|
const bindingPackageVersion = require('@lancedb/lancedb-android-arm64/package.json').version;
|
|
79
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
80
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
79
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
80
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
81
81
|
}
|
|
82
82
|
return binding;
|
|
83
83
|
}
|
|
@@ -95,8 +95,8 @@ function requireNative() {
|
|
|
95
95
|
try {
|
|
96
96
|
const binding = require('@lancedb/lancedb-android-arm-eabi');
|
|
97
97
|
const bindingPackageVersion = require('@lancedb/lancedb-android-arm-eabi/package.json').version;
|
|
98
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
99
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
98
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
99
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
100
100
|
}
|
|
101
101
|
return binding;
|
|
102
102
|
}
|
|
@@ -120,8 +120,8 @@ function requireNative() {
|
|
|
120
120
|
try {
|
|
121
121
|
const binding = require('@lancedb/lancedb-win32-x64-gnu');
|
|
122
122
|
const bindingPackageVersion = require('@lancedb/lancedb-win32-x64-gnu/package.json').version;
|
|
123
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
124
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
123
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
124
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
125
125
|
}
|
|
126
126
|
return binding;
|
|
127
127
|
}
|
|
@@ -139,8 +139,8 @@ function requireNative() {
|
|
|
139
139
|
try {
|
|
140
140
|
const binding = require('@lancedb/lancedb-win32-x64-msvc');
|
|
141
141
|
const bindingPackageVersion = require('@lancedb/lancedb-win32-x64-msvc/package.json').version;
|
|
142
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
143
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
142
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
143
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
144
144
|
}
|
|
145
145
|
return binding;
|
|
146
146
|
}
|
|
@@ -159,8 +159,8 @@ function requireNative() {
|
|
|
159
159
|
try {
|
|
160
160
|
const binding = require('@lancedb/lancedb-win32-ia32-msvc');
|
|
161
161
|
const bindingPackageVersion = require('@lancedb/lancedb-win32-ia32-msvc/package.json').version;
|
|
162
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
163
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
162
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
163
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
164
164
|
}
|
|
165
165
|
return binding;
|
|
166
166
|
}
|
|
@@ -178,8 +178,8 @@ function requireNative() {
|
|
|
178
178
|
try {
|
|
179
179
|
const binding = require('@lancedb/lancedb-win32-arm64-msvc');
|
|
180
180
|
const bindingPackageVersion = require('@lancedb/lancedb-win32-arm64-msvc/package.json').version;
|
|
181
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
182
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
181
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
182
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
183
183
|
}
|
|
184
184
|
return binding;
|
|
185
185
|
}
|
|
@@ -201,8 +201,8 @@ function requireNative() {
|
|
|
201
201
|
try {
|
|
202
202
|
const binding = require('@lancedb/lancedb-darwin-universal');
|
|
203
203
|
const bindingPackageVersion = require('@lancedb/lancedb-darwin-universal/package.json').version;
|
|
204
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
205
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
204
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
205
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
206
206
|
}
|
|
207
207
|
return binding;
|
|
208
208
|
}
|
|
@@ -219,8 +219,8 @@ function requireNative() {
|
|
|
219
219
|
try {
|
|
220
220
|
const binding = require('@lancedb/lancedb-darwin-x64');
|
|
221
221
|
const bindingPackageVersion = require('@lancedb/lancedb-darwin-x64/package.json').version;
|
|
222
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
223
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
222
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
223
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
224
224
|
}
|
|
225
225
|
return binding;
|
|
226
226
|
}
|
|
@@ -238,8 +238,8 @@ function requireNative() {
|
|
|
238
238
|
try {
|
|
239
239
|
const binding = require('@lancedb/lancedb-darwin-arm64');
|
|
240
240
|
const bindingPackageVersion = require('@lancedb/lancedb-darwin-arm64/package.json').version;
|
|
241
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
242
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
241
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
242
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
243
243
|
}
|
|
244
244
|
return binding;
|
|
245
245
|
}
|
|
@@ -262,8 +262,8 @@ function requireNative() {
|
|
|
262
262
|
try {
|
|
263
263
|
const binding = require('@lancedb/lancedb-freebsd-x64');
|
|
264
264
|
const bindingPackageVersion = require('@lancedb/lancedb-freebsd-x64/package.json').version;
|
|
265
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
266
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
265
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
266
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
267
267
|
}
|
|
268
268
|
return binding;
|
|
269
269
|
}
|
|
@@ -281,8 +281,8 @@ function requireNative() {
|
|
|
281
281
|
try {
|
|
282
282
|
const binding = require('@lancedb/lancedb-freebsd-arm64');
|
|
283
283
|
const bindingPackageVersion = require('@lancedb/lancedb-freebsd-arm64/package.json').version;
|
|
284
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
285
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
284
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
285
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
286
286
|
}
|
|
287
287
|
return binding;
|
|
288
288
|
}
|
|
@@ -306,8 +306,8 @@ function requireNative() {
|
|
|
306
306
|
try {
|
|
307
307
|
const binding = require('@lancedb/lancedb-linux-x64-musl');
|
|
308
308
|
const bindingPackageVersion = require('@lancedb/lancedb-linux-x64-musl/package.json').version;
|
|
309
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
310
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
309
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
310
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
311
311
|
}
|
|
312
312
|
return binding;
|
|
313
313
|
}
|
|
@@ -325,8 +325,8 @@ function requireNative() {
|
|
|
325
325
|
try {
|
|
326
326
|
const binding = require('@lancedb/lancedb-linux-x64-gnu');
|
|
327
327
|
const bindingPackageVersion = require('@lancedb/lancedb-linux-x64-gnu/package.json').version;
|
|
328
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
329
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
328
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
329
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
330
330
|
}
|
|
331
331
|
return binding;
|
|
332
332
|
}
|
|
@@ -346,8 +346,8 @@ function requireNative() {
|
|
|
346
346
|
try {
|
|
347
347
|
const binding = require('@lancedb/lancedb-linux-arm64-musl');
|
|
348
348
|
const bindingPackageVersion = require('@lancedb/lancedb-linux-arm64-musl/package.json').version;
|
|
349
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
350
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
349
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
350
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
351
351
|
}
|
|
352
352
|
return binding;
|
|
353
353
|
}
|
|
@@ -365,8 +365,8 @@ function requireNative() {
|
|
|
365
365
|
try {
|
|
366
366
|
const binding = require('@lancedb/lancedb-linux-arm64-gnu');
|
|
367
367
|
const bindingPackageVersion = require('@lancedb/lancedb-linux-arm64-gnu/package.json').version;
|
|
368
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
369
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
368
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
369
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
370
370
|
}
|
|
371
371
|
return binding;
|
|
372
372
|
}
|
|
@@ -386,8 +386,8 @@ function requireNative() {
|
|
|
386
386
|
try {
|
|
387
387
|
const binding = require('@lancedb/lancedb-linux-arm-musleabihf');
|
|
388
388
|
const bindingPackageVersion = require('@lancedb/lancedb-linux-arm-musleabihf/package.json').version;
|
|
389
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
390
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
389
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
390
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
391
391
|
}
|
|
392
392
|
return binding;
|
|
393
393
|
}
|
|
@@ -405,8 +405,8 @@ function requireNative() {
|
|
|
405
405
|
try {
|
|
406
406
|
const binding = require('@lancedb/lancedb-linux-arm-gnueabihf');
|
|
407
407
|
const bindingPackageVersion = require('@lancedb/lancedb-linux-arm-gnueabihf/package.json').version;
|
|
408
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
409
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
408
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
409
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
410
410
|
}
|
|
411
411
|
return binding;
|
|
412
412
|
}
|
|
@@ -426,8 +426,8 @@ function requireNative() {
|
|
|
426
426
|
try {
|
|
427
427
|
const binding = require('@lancedb/lancedb-linux-loong64-musl');
|
|
428
428
|
const bindingPackageVersion = require('@lancedb/lancedb-linux-loong64-musl/package.json').version;
|
|
429
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
430
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
429
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
430
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
431
431
|
}
|
|
432
432
|
return binding;
|
|
433
433
|
}
|
|
@@ -445,8 +445,8 @@ function requireNative() {
|
|
|
445
445
|
try {
|
|
446
446
|
const binding = require('@lancedb/lancedb-linux-loong64-gnu');
|
|
447
447
|
const bindingPackageVersion = require('@lancedb/lancedb-linux-loong64-gnu/package.json').version;
|
|
448
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
449
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
448
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
449
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
450
450
|
}
|
|
451
451
|
return binding;
|
|
452
452
|
}
|
|
@@ -466,8 +466,8 @@ function requireNative() {
|
|
|
466
466
|
try {
|
|
467
467
|
const binding = require('@lancedb/lancedb-linux-riscv64-musl');
|
|
468
468
|
const bindingPackageVersion = require('@lancedb/lancedb-linux-riscv64-musl/package.json').version;
|
|
469
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
470
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
469
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
470
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
471
471
|
}
|
|
472
472
|
return binding;
|
|
473
473
|
}
|
|
@@ -485,8 +485,8 @@ function requireNative() {
|
|
|
485
485
|
try {
|
|
486
486
|
const binding = require('@lancedb/lancedb-linux-riscv64-gnu');
|
|
487
487
|
const bindingPackageVersion = require('@lancedb/lancedb-linux-riscv64-gnu/package.json').version;
|
|
488
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
489
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
488
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
489
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
490
490
|
}
|
|
491
491
|
return binding;
|
|
492
492
|
}
|
|
@@ -505,8 +505,8 @@ function requireNative() {
|
|
|
505
505
|
try {
|
|
506
506
|
const binding = require('@lancedb/lancedb-linux-ppc64-gnu');
|
|
507
507
|
const bindingPackageVersion = require('@lancedb/lancedb-linux-ppc64-gnu/package.json').version;
|
|
508
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
509
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
508
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
509
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
510
510
|
}
|
|
511
511
|
return binding;
|
|
512
512
|
}
|
|
@@ -524,8 +524,8 @@ function requireNative() {
|
|
|
524
524
|
try {
|
|
525
525
|
const binding = require('@lancedb/lancedb-linux-s390x-gnu');
|
|
526
526
|
const bindingPackageVersion = require('@lancedb/lancedb-linux-s390x-gnu/package.json').version;
|
|
527
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
528
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
527
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
528
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
529
529
|
}
|
|
530
530
|
return binding;
|
|
531
531
|
}
|
|
@@ -548,8 +548,8 @@ function requireNative() {
|
|
|
548
548
|
try {
|
|
549
549
|
const binding = require('@lancedb/lancedb-openharmony-arm64');
|
|
550
550
|
const bindingPackageVersion = require('@lancedb/lancedb-openharmony-arm64/package.json').version;
|
|
551
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
552
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
551
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
552
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
553
553
|
}
|
|
554
554
|
return binding;
|
|
555
555
|
}
|
|
@@ -567,8 +567,8 @@ function requireNative() {
|
|
|
567
567
|
try {
|
|
568
568
|
const binding = require('@lancedb/lancedb-openharmony-x64');
|
|
569
569
|
const bindingPackageVersion = require('@lancedb/lancedb-openharmony-x64/package.json').version;
|
|
570
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
571
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
570
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
571
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
572
572
|
}
|
|
573
573
|
return binding;
|
|
574
574
|
}
|
|
@@ -586,8 +586,8 @@ function requireNative() {
|
|
|
586
586
|
try {
|
|
587
587
|
const binding = require('@lancedb/lancedb-openharmony-arm');
|
|
588
588
|
const bindingPackageVersion = require('@lancedb/lancedb-openharmony-arm/package.json').version;
|
|
589
|
-
if (bindingPackageVersion !== '0.42.0-beta.
|
|
590
|
-
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.
|
|
589
|
+
if (bindingPackageVersion !== '0.42.0-beta.22' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
590
|
+
throw new Error(`Native binding package version mismatch, expected 0.42.0-beta.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
591
591
|
}
|
|
592
592
|
return binding;
|
|
593
593
|
}
|
package/dist/table.d.ts
CHANGED
|
@@ -765,26 +765,18 @@ export declare abstract class Table {
|
|
|
765
765
|
* `REFRESH COLUMN ... WHERE ... WITH (...)` form: `where` narrows the rows,
|
|
766
766
|
* `errorPolicy`, `maxFailedFraction`, `maxFailedRows`, `rowTimeoutSeconds`
|
|
767
767
|
* and `initTimeoutSeconds` govern failing rows. `batchSize`, `gpuClass`,
|
|
768
|
-
* `maxConcurrency`, `
|
|
768
|
+
* `maxConcurrency`, `totalCpuMillis`, `totalMemoryBytes`, `supervisorResources`,
|
|
769
769
|
* `planningWorkers` and `maxExecutorProcessesPerWorker` size registered
|
|
770
770
|
* Function refreshes. `retryPolicy` overrides user-code retries only when
|
|
771
771
|
* repeating partial work is safe; set `maxAttempts: 1` to disable retries.
|
|
772
772
|
* `maxConcurrency` overrides the registered default for this logical
|
|
773
773
|
* execution only and is a positive integer; it is not an account-wide
|
|
774
|
-
* quota.
|
|
775
|
-
*
|
|
776
|
-
*
|
|
777
|
-
*
|
|
778
|
-
* `planningWorkers`
|
|
779
|
-
* `
|
|
780
|
-
* The budget applies only to this explicit refresh and does not configure
|
|
781
|
-
* a later automatic refresh.
|
|
782
|
-
* `gpuCount` at the top level is the shorthand that preserves the
|
|
783
|
-
* deployment defaults for CPU and memory, and cannot be combined with
|
|
784
|
-
* `resourceBudget`. `numWorkers` applies only to expression columns; use
|
|
785
|
-
* `resourceBudget` for registered Functions. All are LanceDB Enterprise
|
|
786
|
-
* only; a LanceDB Embedded refresh rejects every option other than
|
|
787
|
-
* `batchSize`, `gpuClass` and `gpuCount`.
|
|
774
|
+
* quota. `totalCpuMillis`, `totalMemoryBytes`, and `totalGpuCount` override
|
|
775
|
+
* their corresponding execution-wide resource limits independently. Unset
|
|
776
|
+
* values inherit column defaults, then Function defaults, then deployment
|
|
777
|
+
* defaults. A zero GPU limit is valid for CPU-only Functions.
|
|
778
|
+
* `supervisorResources` and `planningWorkers.resources` are per-pod sizes.
|
|
779
|
+
* `numWorkers` applies only to expression columns.
|
|
788
780
|
* `publicationIntervalRows` opts into publishing completed Function split
|
|
789
781
|
* ranges once their accumulated unpublished rows reach the threshold.
|
|
790
782
|
* It must be a positive safe integer and requires non-Blob Function outputs.
|
|
@@ -794,10 +786,8 @@ export declare abstract class Table {
|
|
|
794
786
|
* ```ts
|
|
795
787
|
* const job = await table.refreshColumnAsync("embedding", {
|
|
796
788
|
* where: "published_at > '2026-01-01'",
|
|
797
|
-
*
|
|
798
|
-
*
|
|
799
|
-
* memoryBytes: 16 * 1024 ** 3,
|
|
800
|
-
* },
|
|
789
|
+
* totalCpuMillis: 8000,
|
|
790
|
+
* totalMemoryBytes: 16 * 1024 ** 3,
|
|
801
791
|
* maxConcurrency: 4,
|
|
802
792
|
* publicationIntervalRows: 10000,
|
|
803
793
|
* errorPolicy: "skip",
|
|
@@ -852,7 +842,7 @@ export declare abstract class Table {
|
|
|
852
842
|
* it: rejects tables that carry no view definition.
|
|
853
843
|
* @ignore
|
|
854
844
|
*/
|
|
855
|
-
abstract refreshMaterializedView(sourceVersion?: number, full?: boolean): Promise<RefreshMaterializedViewResult>;
|
|
845
|
+
abstract refreshMaterializedView(sourceVersion?: number, full?: boolean, totalCpuMillis?: number, totalMemoryBytes?: number, totalGpuCount?: number, gpuClass?: string, gpuCount?: number): Promise<RefreshMaterializedViewResult>;
|
|
856
846
|
/** @ignore */
|
|
857
847
|
abstract materializedViewDefinition(): Promise<string>;
|
|
858
848
|
/**
|
|
@@ -1355,7 +1345,7 @@ export declare class LocalTable extends Table {
|
|
|
1355
1345
|
functionColumnStatuses(column?: string): Promise<FunctionColumnStatus[]>;
|
|
1356
1346
|
functionColumnStatus(column: string): Promise<FunctionColumnStatus>;
|
|
1357
1347
|
waitFresh(column: string, timeoutSeconds?: number): Promise<FunctionColumnStatus>;
|
|
1358
|
-
refreshMaterializedView(sourceVersion?: number, full?: boolean): Promise<RefreshMaterializedViewResult>;
|
|
1348
|
+
refreshMaterializedView(sourceVersion?: number, full?: boolean, totalCpuMillis?: number, totalMemoryBytes?: number, totalGpuCount?: number, gpuClass?: string, gpuCount?: number): Promise<RefreshMaterializedViewResult>;
|
|
1359
1349
|
materializedViewDefinition(): Promise<string>;
|
|
1360
1350
|
alterColumns(columnAlterations: ColumnAlteration[]): Promise<AlterColumnsResult>;
|
|
1361
1351
|
updateFieldMetadata(updates: FieldMetadataUpdate[]): Promise<UpdateFieldMetadataResult>;
|
package/dist/table.js
CHANGED
|
@@ -463,8 +463,8 @@ class LocalTable extends Table {
|
|
|
463
463
|
(0, materialized_view_1.validateNonNegativeInteger)(timeoutSeconds, "timeoutSeconds");
|
|
464
464
|
return (await this.inner.waitForFunctionColumn(column, timeoutSeconds));
|
|
465
465
|
}
|
|
466
|
-
async refreshMaterializedView(sourceVersion, full) {
|
|
467
|
-
return await this.inner.refreshMaterializedView(sourceVersion, full);
|
|
466
|
+
async refreshMaterializedView(sourceVersion, full, totalCpuMillis, totalMemoryBytes, totalGpuCount, gpuClass, gpuCount) {
|
|
467
|
+
return await this.inner.refreshMaterializedView(sourceVersion, full, totalCpuMillis, totalMemoryBytes, totalGpuCount, gpuClass, gpuCount);
|
|
468
468
|
}
|
|
469
469
|
async materializedViewDefinition() {
|
|
470
470
|
return await this.inner.materializedViewDefinition();
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"ann"
|
|
12
12
|
],
|
|
13
13
|
"private": false,
|
|
14
|
-
"version": "0.42.0-beta.
|
|
14
|
+
"version": "0.42.0-beta.22",
|
|
15
15
|
"main": "dist/index.js",
|
|
16
16
|
"exports": {
|
|
17
17
|
".": "./dist/index.js",
|
|
@@ -111,13 +111,13 @@
|
|
|
111
111
|
"optionalDependencies": {
|
|
112
112
|
"@huggingface/transformers": "4.3.2",
|
|
113
113
|
"openai": "4.29.2",
|
|
114
|
-
"@lancedb/lancedb-darwin-arm64": "0.42.0-beta.
|
|
115
|
-
"@lancedb/lancedb-linux-x64-gnu": "0.42.0-beta.
|
|
116
|
-
"@lancedb/lancedb-linux-arm64-gnu": "0.42.0-beta.
|
|
117
|
-
"@lancedb/lancedb-linux-x64-musl": "0.42.0-beta.
|
|
118
|
-
"@lancedb/lancedb-linux-arm64-musl": "0.42.0-beta.
|
|
119
|
-
"@lancedb/lancedb-win32-x64-msvc": "0.42.0-beta.
|
|
120
|
-
"@lancedb/lancedb-win32-arm64-msvc": "0.42.0-beta.
|
|
114
|
+
"@lancedb/lancedb-darwin-arm64": "0.42.0-beta.22",
|
|
115
|
+
"@lancedb/lancedb-linux-x64-gnu": "0.42.0-beta.22",
|
|
116
|
+
"@lancedb/lancedb-linux-arm64-gnu": "0.42.0-beta.22",
|
|
117
|
+
"@lancedb/lancedb-linux-x64-musl": "0.42.0-beta.22",
|
|
118
|
+
"@lancedb/lancedb-linux-arm64-musl": "0.42.0-beta.22",
|
|
119
|
+
"@lancedb/lancedb-win32-x64-msvc": "0.42.0-beta.22",
|
|
120
|
+
"@lancedb/lancedb-win32-arm64-msvc": "0.42.0-beta.22"
|
|
121
121
|
},
|
|
122
122
|
"peerDependencies": {
|
|
123
123
|
"@types/node": ">=22",
|