mirror of
https://github.com/lancedb/lancedb.git
synced 2026-10-24 20:52:29 +00:00
Builds on #4359 (which added the Arrow 19-21 test aliases) and makes the package genuinely work across the whole peer range: * Resolve the library's own `apache-arrow` to 21.2.0 (devDependency) so the main CI jobs build, type-check and test on the newest release, and widen the peer range to `>=15.0.0 <22.0.0` instead of an exact pin. * Add a CI job that re-installs with `apache-arrow` resolved to 19.0.1 and 20.0.0 and runs the suite, covering what a consumer on those versions gets. * Arrow 21 overrides `Symbol.hasInstance` on Schema/Field/Table/RecordBatch/ Data so `instanceof` matches objects from another copy of the library, but not on DataType. The sanitizer's short-circuits therefore returned foreign schemas unchanged and Arrow's builders then failed with "Unrecognized type 'NONE'". Check the real prototype chain instead. * Sanitize the types added in Arrow 20/21 (LargeList, Utf8View, BinaryView, IntervalMonthDayNano), looked up dynamically so the library still compiles and runs on older Arrow releases, with a clear error when the installed Arrow lacks the type. Carry `variadicBuffers` through `Data`. * Loosen `FieldLike` so a branded DataType from another Arrow copy still type-checks; export the new `DataTypeLike`. * Share the Arrow version list between test files, exercise embedding function types per version in the registry tests, and add sanitize and end-to-end coverage for the new column types. * Enable `skipLibCheck`: flatbuffers 25 (via Arrow 21) ships declarations that need TypeScript 5.7+. * Record the new dev dependencies in the third-party license inventory. Co-Authored-By: Vincent Koc <vincentkoc@ieee.org> Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
8.2 KiB
8.2 KiB
@lancedb/lancedb • Docs
@lancedb/lancedb
Namespaces
Enumerations
Classes
- AutoQuery
- BlobFile
- BooleanQuery
- BoostQuery
- BranchContents
- Branches
- Catalog
- Connection
- HeaderProvider
- Index
- Job
- MakeArrowTableOptions
- MatchQuery
- MaterializedView
- MergeInsertBuilder
- MultiMatchQuery
- NativeJsHeaderProvider
- OAuthHeaderProvider
- OAuthSession
- PermutationBuilder
- PhraseQuery
- Query
- QueryBase
- Scannable
- Session
- StaticHeaderProvider
- Table
- TagContents
- Tags
- TakeQuery
- VectorColumnOptions
- VectorQuery
Interfaces
- AddColumnsResult
- AddColumnsSql
- AddDataOptions
- AddResult
- AlterColumnsResult
- BranchColumnChange
- BranchColumnSummary
- BranchDiff
- BranchIndexSummary
- BranchRowCountSummary
- BucketStats
- CatalogOptions
- CherryPickError
- CherryPickPreview
- CherryPickResult
- ClientConfig
- ColumnAlteration
- ColumnOrdering
- CompactionStats
- ConnectNamespaceOptions
- ConnectionOptions
- CreateNamespaceOptions
- CreateNamespaceResponse
- CreateTableOptions
- DeleteResult
- DescribeNamespaceResponse
- DirNamespaceConfig
- DropColumnsResult
- DropNamespaceOptions
- DropNamespaceResponse
- ExecutableQuery
- FieldMetadataUpdate
- FragmentStatistics
- FragmentSummaryStats
- FtsOptions
- FtsToken
- FullTextQuery
- FullTextSearchOptions
- FunctionErrorFragment
- FunctionErrorRecord
- FunctionErrors
- FunctionErrorsOptions
- GenerationStats
- HnswPqOptions
- HnswSqOptions
- IndexConfig
- IndexOptions
- IndexStatistics
- IvfFlatOptions
- IvfPqOptions
- IvfRqOptions
- JobEventsOptions
- JobFailureInfo
- JobInfo
- ListDatabasesResponse
- ListNamespacesOptions
- ListNamespacesResponse
- ListTablesOptions
- ListTablesResponse
- LsmStats
- LsmWriteSpec
- MaterializedViewDefinition
- MemtableStats
- MergeResult
- NativeOAuthConfig
- OAuthConfig
- OpenTableOptions
- OptimizeOptions
- OptimizeStats
- QueryExecutionOptions
- RefreshColumnResult
- RefreshMaterializedViewResult
- RemovalStats
- RenameTableOptions
- RestNamespaceConfig
- RetryConfig
- ScannableOptions
- SessionLogout
- SessionStatus
- ShuffleOptions
- SplitCalculatedOptions
- SplitHashOptions
- SplitRandomOptions
- SplitSequentialOptions
- TableNamesOptions
- TableStatistics
- TimeoutConfig
- TlsConfig
- TokenCacheOptions
- TokenResponse
- TokenizeOptions
- UpdateFieldMetadataResult
- UpdateOptions
- UpdateResult
- Version
- ViewDescription
- WriteExecutionOptions
- WriteProgress
Type Aliases
- AnalyzePlanDistributedMetrics
- BaseTokenizer
- BlobOptions
- BlobRange
- BlobReadOptions
- Data
- DataLike
- DataTypeLike
- FieldLike
- IntoSql
- IntoVector
- MaterializedViewSelect
- MultiVector
- RecordBatchLike
- SchemaLike
- TableLike
- TokenizeTableOptions