wgtmac commented on PR #902:
URL: https://github.com/apache/iceberg-cpp/pull/902#issuecomment-5506561288
I think we've already supported this feature like the code below so perhaps
this PR is redundant?
```cpp
ICEBERG_ASSIGN_OR_RAISE(auto last_id, schema->HighestFieldId());
auto builder = TableMetadataBuilder::BuildFromEmpty(2);
builder->AssignUUID()
.SetLocation(location)
.SetCurrentSchema(schema, last_id)
.SetDefaultPartitionSpec(spec)
.SetDefaultSortOrder(order)
.SetProperties(properties);
ICEBERG_ASSIGN_OR_RAISE(auto metadata, builder->Build());
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]