-
Notifications
You must be signed in to change notification settings - Fork 395
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
[#1277] feat(API): Add column attribute autoIncrement of the increment interface. #1278
Conversation
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.
Should you add an exception thrown in the server side implementation since the catalog has not been implemented yet?
api/src/main/java/com/datastrato/gravitino/rel/types/Types.java
Outdated
Show resolved
Hide resolved
common/src/main/java/com/datastrato/gravitino/dto/rel/ColumnDTO.java
Outdated
Show resolved
Hide resolved
common/src/main/java/com/datastrato/gravitino/dto/rel/ColumnDTO.java
Outdated
Show resolved
Hide resolved
common/src/test/java/com/datastrato/gravitino/json/TestDTOJsonSerDe.java
Show resolved
Hide resolved
core/src/main/java/com/datastrato/gravitino/catalog/rel/BaseColumn.java
Outdated
Show resolved
Hide resolved
server/src/test/java/com/datastrato/gravitino/server/web/rest/TestTableOperations.java
Show resolved
Hide resolved
d00c714
to
5410dd4
Compare
It is not easy to determine whether it is set by the user in the catalog layer, as it is not a wrapper Boolean object |
@mchades Could you please help me take a look again? |
we can only throw an exception when |
api/src/test/java/com/datastrato/gravitino/rel/TestTransforms.java
Outdated
Show resolved
Hide resolved
api/src/test/java/com/datastrato/gravitino/rel/TestTransforms.java
Outdated
Show resolved
Hide resolved
common/src/main/java/com/datastrato/gravitino/dto/requests/TableCreateRequest.java
Outdated
Show resolved
Hide resolved
OK |
@mchades can you please take care of this PR? Thanks. |
Overall, LGTM, but some comments left and IT issue seem to be addressed. |
If this PR change user-facing interface, we should also add the related documents. |
Certainly, but now the underlying infrastructure doesn't support it, and it will throw an error. I believe once the underlying support is in place, I should add the usage instructions in the corresponding catalog documentation, rather than in this pull request. |
… of the increment interface.
b738529
to
9b80ba8
Compare
…crement interface. (apache#1278) ### What changes were proposed in this pull request? Add column attribute autoIncrement of the increment interface. ### Why are the changes needed? Fix: apache#1277 ### Does this PR introduce _any_ user-facing change? 1. Change in user-facing APIs. ### How was this patch tested? UT Co-authored-by: Clearvive <[email protected]>
What changes were proposed in this pull request?
Add column attribute autoIncrement of the increment interface.
Why are the changes needed?
Fix: #1277
Does this PR introduce any user-facing change?
How was this patch tested?
UT