-
Notifications
You must be signed in to change notification settings - Fork 378
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
[Subtask] Replace ColumnDTO
with ColumnImpl
in test cases
#1635
Comments
Hi @mchades, For |
Hi @zivali , below is my supplement to this issue which may answer the question you mentioned above whether the constructed If it is required for this purpose, then In the examples you provided, But the code immediately following it is faulty: As the client is invoking the partitionedTable =
catalog
.asTableCatalog()
.createTable(
tableId,
fromDTOs(columns), // client should use ColumnImpl to create Table, here use fromDTOs just for code reuse
"comment",
Collections.emptyMap(),
partitioning,
DistributionDTO.NONE,
SortOrderDTO.EMPTY_SORT); |
I see. So the key difference lies in whether the |
…2487) ### What changes were proposed in this pull request? - Use `ColumnImpl` instead of `ColumnDTO` when calling gravitino API in test cases. - Rename variable columnDTOs to columns to avoid misunderstanding. ### Why are the changes needed? Fix: #1635 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Existing integration tests.
Describe the subtask
Replace
ColumnDTO
withColumnImpl
in test casesParent issue
#1292
The text was updated successfully, but these errors were encountered: