Skip to content

feat: bump lance to 7.0.0, arrow to 18.3.0, and migrate to org.lance API - #50

Merged
fightBoxing merged 1 commit into
lance-format:mainfrom
fightBoxing:bump-versions
Jul 16, 2026
Merged

feat: bump lance to 7.0.0, arrow to 18.3.0, and migrate to org.lance API#50
fightBoxing merged 1 commit into
lance-format:mainfrom
fightBoxing:bump-versions

Conversation

@fightBoxing

Copy link
Copy Markdown
Collaborator

Summary

Upgrade lance-core and related dependencies to the latest stable versions, and migrate from the deprecated com.lancedb API to org.lance.

Changes

Dependency Upgrades

  • lance-core: 0.23.3 → 7.0.0
  • Apache Arrow: 14.0.0 → 18.3.0
  • JUnit: 5.9.3 → 5.10.1
  • maven-shade-plugin: 3.5.0 → 3.6.2

GroupId Migration

  • com.lancedb:lance-coreorg.lance:lance-core
  • Added slf4j-api exclusion to prevent logging conflicts

Java Version

  • Bumped maven.compiler.source/target from 1.8 to 11 (required by lance 7.0.0)

API Migration (8 source files)

  • LanceSink.java: Fragment.create()Fragment.write().execute(), FragmentOperationTransaction + CommitBuilder
  • LanceIndexBuilder.java: new IndexParams.Builder()IndexParams.builder(), removed setDistanceType() (moved to VectorIndexParams)
  • LanceAggregateSource.java, LanceInputFormat.java, LanceSource.java, LanceVectorSearch.java, LanceCatalog.java: Import path updates

Verification

All 3 Flink versions compile successfully:

[INFO] Lance Flink Connector .............................. SUCCESS
[INFO] Lance Flink Connector - Flink 1.18 ................. SUCCESS
[INFO] Lance Flink Connector - Flink 1.19 ................. SUCCESS
[INFO] Lance Flink Connector - Flink 1.20 ................. SUCCESS

Related

- Upgrade lance-core from 0.23.3 to 7.0.0
- Upgrade Apache Arrow from 14.0.0 to 18.3.0
- Upgrade JUnit from 5.9.3 to 5.10.1
- Migrate groupId from com.lancedb to org.lance
- Add slf4j-api exclusion for lance-core
- Bump Java compiler source/target from 1.8 to 11 (required by lance 7.0.0)
- Update Fragment API: Fragment.create() → Fragment.write().execute()
- Update commit API: FragmentOperation → Transaction + CommitBuilder
- Update IndexParams: Builder() → builder() static factory
- Refresh import paths across all source files
@github-actions github-actions Bot added the enhancement New feature or request label Jul 16, 2026
@fightBoxing
fightBoxing merged commit 8ae046a into lance-format:main Jul 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant