Skip to content

Conversation

@naivedogger
Copy link
Contributor

Purpose

Linked issue: close #1160

Because currently we only supports tiering log tables into lance, we have to make sure this is configured correctly when creating a table. This PR throws InvalidTableException when the user is trying to activate tiering service for a primary key table.

Brief change log

Tests

fluss-lake/fluss-lake-lance/src/test/java/com/alibaba/fluss/lake/lance/LakeEnabledTableCreateITCase.java

API and Format

Documentation

@naivedogger naivedogger changed the title Fix 1160 [lake/lance] Support create lance log table when datalake.format = lance Aug 1, 2025
@naivedogger naivedogger marked this pull request as ready for review August 1, 2025 07:27
@xx789633
Copy link
Contributor

Looks good to me. @luoyuxia would you like to take a look at this pr?

Copy link
Contributor

@luoyuxia luoyuxia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@naivedogger Thanks for the pr. Left some comments.

@luoyuxia luoyuxia changed the title [lake/lance] Support create lance log table when datalake.format = lance [lake/lance] Throw exception for create primary key table when datalake.format = lance Aug 12, 2025
@naivedogger
Copy link
Contributor Author

Thanks @luoyuxia for the review. Comments have been resolved.

Copy link
Contributor

@luoyuxia luoyuxia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link
Contributor

@leonardBang leonardBang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @naivedogger for the contribution, LGTM

@luoyuxia luoyuxia merged commit 17d69ff into apache:main Aug 13, 2025
4 checks passed
polyzos pushed a commit to polyzos/fluss that referenced this pull request Aug 30, 2025
polyzos pushed a commit to Alibaba-HZY/fluss that referenced this pull request Aug 31, 2025
polyzos pushed a commit to polyzos/fluss that referenced this pull request Sep 21, 2025
polyzos pushed a commit to polyzos/fluss that referenced this pull request Sep 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[lake/lance] Throw exception for create primary key table when datalake.format = lance

4 participants