-
Notifications
You must be signed in to change notification settings - Fork 429
[lake/lance] Throw exception for create primary key table when datalake.format = lance #1444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
fluss-server/src/main/java/com/alibaba/fluss/server/coordinator/CoordinatorService.java
Outdated
Show resolved
Hide resolved
|
Looks good to me. @luoyuxia would you like to take a look at this pr? |
luoyuxia
left a comment
There was a problem hiding this 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.
fluss-server/src/main/java/com/alibaba/fluss/server/coordinator/CoordinatorService.java
Outdated
Show resolved
Hide resolved
...luss-lake-lance/src/test/java/com/alibaba/fluss/lake/lance/LakeEnabledTableCreateITCase.java
Outdated
Show resolved
Hide resolved
|
Thanks @luoyuxia for the review. Comments have been resolved. |
luoyuxia
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
leonardBang
left a comment
There was a problem hiding this 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
…ke.format = lance (apache#1444)
…ke.format = lance (apache#1444)
…ke.format = lance (apache#1444)
…ke.format = lance (apache#1444)
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