Re: [PR] feat: support create partition table for non REST catalog [iceberg-rust]

2024-09-04 Thread via GitHub
liurenjie1024 commented on code in PR #577: URL: https://github.com/apache/iceberg-rust/pull/577#discussion_r1743392719 ## crates/iceberg/src/spec/table_metadata.rs: ## @@ -301,12 +302,7 @@ impl TableMetadataBuilder { } = table_creation; let partition_specs =

Re: [PR] feat: support create partition table for non REST catalog [iceberg-rust]

2024-09-04 Thread via GitHub
liurenjie1024 commented on PR #577: URL: https://github.com/apache/iceberg-rust/pull/577#issuecomment-2328362065 > > Thanks @FANNG1 for this pr. However I think there are some prepartion work before we can actually finished this pr. If we can narrow down the goal of this pr to change type f

Re: [PR] feat: support create partition table for non REST catalog [iceberg-rust]

2024-09-02 Thread via GitHub
FANNG1 commented on PR #577: URL: https://github.com/apache/iceberg-rust/pull/577#issuecomment-2324436354 > Thanks @FANNG1 for this pr. However I think there are some prepartion work before we can actually finished this pr. If we can narrow down the goal of this pr to change type for `Unbou

Re: [PR] feat: support create partition table for non REST catalog [iceberg-rust]

2024-09-02 Thread via GitHub
FANNG1 commented on code in PR #577: URL: https://github.com/apache/iceberg-rust/pull/577#discussion_r1740693686 ## crates/iceberg/src/spec/table_metadata.rs: ## @@ -301,12 +302,7 @@ impl TableMetadataBuilder { } = table_creation; let partition_specs = match

Re: [PR] feat: support create partition table for non REST catalog [iceberg-rust]

2024-09-02 Thread via GitHub
FANNG1 commented on code in PR #577: URL: https://github.com/apache/iceberg-rust/pull/577#discussion_r1740691810 ## crates/iceberg/tests/partition_table_test.rs: ## @@ -0,0 +1,97 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license ag

Re: [PR] feat: support create partition table for non REST catalog [iceberg-rust]

2024-09-02 Thread via GitHub
liurenjie1024 commented on code in PR #577: URL: https://github.com/apache/iceberg-rust/pull/577#discussion_r1740498084 ## crates/iceberg/tests/partition_table_test.rs: ## @@ -0,0 +1,97 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor lic

Re: [PR] feat: support create partition table for non REST catalog [iceberg-rust]

2024-09-01 Thread via GitHub
liurenjie1024 commented on PR #577: URL: https://github.com/apache/iceberg-rust/pull/577#issuecomment-2323659302 The reason we use `PartitionSpec` was that some fields, such as spec id, partition field id should not be passed by user when creating a table. But I think you are right when a

Re: [PR] feat: support create partition table for non REST catalog [iceberg-rust]

2024-08-30 Thread via GitHub
FANNG1 commented on PR #577: URL: https://github.com/apache/iceberg-rust/pull/577#issuecomment-2320796097 > Hi, @FANNG1 Thanks for your contribution. The reason why we use `UnboundPartitionSpec` rather `PartitionSpec` is to simplify the usage of this method. `PartitionSpec` is bound to a sc

Re: [PR] feat: support create partition table for non REST catalog [iceberg-rust]

2024-08-29 Thread via GitHub
liurenjie1024 commented on PR #577: URL: https://github.com/apache/iceberg-rust/pull/577#issuecomment-2319725641 Hi, @FANNG1 Thanks for your contribution. The reason why we use `UnboundPartitionSpec` rather `PartitionSpec` is to simplify the usage of this method. `PartitionSpec` is bound to