You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "FANNG1 (via GitHub)" <gi...@apache.org> on 2024/08/30 07:34:11 UTC

[PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

FANNG1 opened a new pull request, #4808:
URL: https://github.com/apache/gravitino/pull/4808

   ### What changes were proposed in this pull request?
   correct Iceberg document  location is immutable not reserved
   
   ### Why are the changes needed?
   
   Fix: #4758 
   
   ### Does this PR introduce _any_ user-facing change?
   no
   
   ### How was this patch tested?
   document


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#issuecomment-2325428124

   @jerqi @mchades any other comments?


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1742178555


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,16 +264,21 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                                                          | Default value | Required | Since Version |
+|---------------------------|--------------------------------------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment, please use `comment` field in table meta instead.                 | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                                                   | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table.                              | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.                                  | None          | No       | 0.2.0         |
+| `sort-order`              | Iceberg table sort order, please use `SortOrder` in table meta instead.              | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.                                        | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data, please use `distribution` in table meta instead. | None          | No       | 0.2.0         |

Review Comment:
   It doesn't have default property values to show up, you may mean Iceberg has a default value for `write.distribution-mode`, but we shouldn't depend on it.



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "mchades (via GitHub)" <gi...@apache.org>.
mchades commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1743184219


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,16 +264,21 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                                                          | Default value | Required | Since Version |
+|---------------------------|--------------------------------------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment, please use `comment` field in table meta instead.                 | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                                                   | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table.                              | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.                                  | None          | No       | 0.2.0         |
+| `sort-order`              | Iceberg table sort order, please use `SortOrder` in table meta instead.              | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.                                        | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data, please use `distribution` in table meta instead. | None          | No       | 0.2.0         |

Review Comment:
   You can state that the default value is generated by Iceberg and provide the link.



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "mchades (via GitHub)" <gi...@apache.org>.
mchades commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1738168257


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -268,13 +268,21 @@ The Gravitino server doesn't allow passing the following reserved fields.
 |---------------------------------|---------------------------------------------------------|
 | `comment`                       | The table comment.                                      |
 | `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
 | `current-snapshot-id`           | The snapshot represents the current state of the table. |
 | `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
 | `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
 | `identifier-fields`             | The identifier fields for defining the table.           |
 | `write.distribution-mode`       | Defines distribution of write data                      |
 
+Gravitino server doesn't allow to change such properties:
+
+| Configuration item | Description                                  |

Review Comment:
   I think the format of this table should be consistent with other documents. For example:
   https://github.com/apache/gravitino/blob/397b338068a120f3bb3e3256a4a9b4d3a75f5ca2/docs/apache-hive-catalog.md?plain=1#L136-L144



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "mchades (via GitHub)" <gi...@apache.org>.
mchades commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1738383307


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,24 +264,24 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                             | Default value | Required | Since Version |
+|---------------------------|---------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment.                                      | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                      | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table. | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `sort-order`              | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.           | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data                      | None          | No       | 0.2.0         |
 
 Gravitino server doesn't allow to change such properties:
 
-| Configuration item | Description                                  |
-|--------------------|----------------------------------------------|
-| `location`         | Iceberg location for table storage.          |
-| `format`           | Iceberg table format like `iceberg/parquet`. |
-| `format-version`   | Iceberg meta data format version.            |
-| `provider`         | Table provider like `iceberg`.               |
+| Configuration item | Description                                  | Default value | Required | Since Version |
+|--------------------|----------------------------------------------|---------------|----------|---------------|
+| `location`         | Iceberg location for table storage.          | None          | No       | 0.2.0         |
+| `format`           | Iceberg table format like `iceberg/parquet`. | None          | No       | 0.2.0         |
+| `format-version`   | Iceberg meta data format version.            | None          | No       | 0.2.0         |
+| `provider`         | Table provider like `iceberg`.               | None          | No       | 0.2.0         |

Review Comment:
   @jerqi Can you help review these changes?



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1743288131


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,16 +264,21 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                                                          | Default value | Required | Since Version |
+|---------------------------|--------------------------------------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment, please use `comment` field in table meta instead.                 | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                                                   | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table.                              | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.                                  | None          | No       | 0.2.0         |
+| `sort-order`              | Iceberg table sort order, please use `SortOrder` in table meta instead.              | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.                                        | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data, please use `distribution` in table meta instead. | None          | No       | 0.2.0         |

Review Comment:
   > I removed `default value` and `required` column from the table, since this's seems not so useful for reserved properties. cc @mchades
   
   It's ok for me. One Iceberg user like me will be confused about the different default value.



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1743172860


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,16 +264,21 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                                                          | Default value | Required | Since Version |
+|---------------------------|--------------------------------------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment, please use `comment` field in table meta instead.                 | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                                                   | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table.                              | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.                                  | None          | No       | 0.2.0         |
+| `sort-order`              | Iceberg table sort order, please use `SortOrder` in table meta instead.              | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.                                        | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data, please use `distribution` in table meta instead. | None          | No       | 0.2.0         |

Review Comment:
   maybe we could remote default value column for this table, because most properties is not managed by Gravitino, so default value not so much meaningful here, it just shows these properties are immutable.



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1742918733


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,16 +264,21 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                                                          | Default value | Required | Since Version |
+|---------------------------|--------------------------------------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment, please use `comment` field in table meta instead.                 | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                                                   | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table.                              | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.                                  | None          | No       | 0.2.0         |
+| `sort-order`              | Iceberg table sort order, please use `SortOrder` in table meta instead.              | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.                                        | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data, please use `distribution` in table meta instead. | None          | No       | 0.2.0         |

Review Comment:
   Yes. Different Iceberg table may have different default values, too. I thought this property is a property to create a catalog. If not, it's ok. https://iceberg.apache.org/docs/latest/spark-writes/#writing-distribution-modes
   



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1738196352


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -268,13 +268,21 @@ The Gravitino server doesn't allow passing the following reserved fields.
 |---------------------------------|---------------------------------------------------------|
 | `comment`                       | The table comment.                                      |
 | `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
 | `current-snapshot-id`           | The snapshot represents the current state of the table. |
 | `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
 | `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
 | `identifier-fields`             | The identifier fields for defining the table.           |
 | `write.distribution-mode`       | Defines distribution of write data                      |
 
+Gravitino server doesn't allow to change such properties:
+
+| Configuration item | Description                                  |

Review Comment:
   ok



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1738395649


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,16 +264,24 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                             | Default value | Required | Since Version |
+|---------------------------|---------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment.                                      | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                      | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table. | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `sort-order`              | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.           | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data                      | None          | No       | 0.2.0         |
+
+Gravitino server doesn't allow to change such properties:
+
+| Configuration item | Description                                  | Default value | Required | Since Version |
+|--------------------|----------------------------------------------|---------------|----------|---------------|
+| `location`         | Iceberg location for table storage.          | None          | No       | 0.2.0         |
+| `format`           | Iceberg table format like `iceberg/parquet`. | None          | No       | 0.2.0         |
+| `format-version`   | Iceberg meta data format version.            | None          | No       | 0.2.0         |
+| `provider`         | Table provider like `iceberg`.               | None          | No       | 0.2.0         |

Review Comment:
   We can change format, too. Iceberg can mix to use multiple formats. 
   For example, partition 1 use parquet. partiton 2 use orc.



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1741513379


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,16 +264,24 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                             | Default value | Required | Since Version |
+|---------------------------|---------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment.                                      | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                      | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table. | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `sort-order`              | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.           | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data                      | None          | No       | 0.2.0         |

Review Comment:
   ok



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1738904943


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,16 +264,24 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                             | Default value | Required | Since Version |
+|---------------------------|---------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment.                                      | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                      | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table. | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `sort-order`              | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.           | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data                      | None          | No       | 0.2.0         |
+
+Gravitino server doesn't allow to change such properties:
+
+| Configuration item | Description                                  | Default value | Required | Since Version |
+|--------------------|----------------------------------------------|---------------|----------|---------------|
+| `location`         | Iceberg location for table storage.          | None          | No       | 0.2.0         |
+| `format`           | Iceberg table format like `iceberg/parquet`. | None          | No       | 0.2.0         |
+| `format-version`   | Iceberg meta data format version.            | None          | No       | 0.2.0         |
+| `provider`         | Table provider like `iceberg`.               | None          | No       | 0.2.0         |

Review Comment:
   Do we have a consensus on the changes?



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1738310057


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,24 +264,24 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                             | Default value | Required | Since Version |
+|---------------------------|---------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment.                                      | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                      | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table. | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `sort-order`              | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.           | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data                      | None          | No       | 0.2.0         |
 
 Gravitino server doesn't allow to change such properties:
 
-| Configuration item | Description                                  |
-|--------------------|----------------------------------------------|
-| `location`         | Iceberg location for table storage.          |
-| `format`           | Iceberg table format like `iceberg/parquet`. |
-| `format-version`   | Iceberg meta data format version.            |
-| `provider`         | Table provider like `iceberg`.               |
+| Configuration item | Description                                  | Default value | Required | Since Version |
+|--------------------|----------------------------------------------|---------------|----------|---------------|
+| `location`         | Iceberg location for table storage.          | None          | No       | 0.2.0         |
+| `format`           | Iceberg table format like `iceberg/parquet`. | None          | No       | 0.2.0         |
+| `format-version`   | Iceberg meta data format version.            | None          | No       | 0.2.0         |
+| `provider`         | Table provider like `iceberg`.               | None          | No       | 0.2.0         |

Review Comment:
   it's immutable and some properties are not provided by iceberg like `provider`



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1741369337


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,16 +264,24 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                             | Default value | Required | Since Version |
+|---------------------------|---------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment.                                      | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                      | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table. | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `sort-order`              | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.           | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data                      | None          | No       | 0.2.0         |
+
+Gravitino server doesn't allow to change such properties:
+
+| Configuration item | Description                                  | Default value | Required | Since Version |
+|--------------------|----------------------------------------------|---------------|----------|---------------|
+| `location`         | Iceberg location for table storage.          | None          | No       | 0.2.0         |
+| `format`           | Iceberg table format like `iceberg/parquet`. | None          | No       | 0.2.0         |
+| `format-version`   | Iceberg meta data format version.            | None          | No       | 0.2.0         |
+| `provider`         | Table provider like `iceberg`.               | None          | No       | 0.2.0         |

Review Comment:
   The provider seems useless.



##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,16 +264,24 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                             | Default value | Required | Since Version |
+|---------------------------|---------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment.                                      | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                      | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table. | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `sort-order`              | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.           | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data                      | None          | No       | 0.2.0         |
+
+Gravitino server doesn't allow to change such properties:
+
+| Configuration item | Description                                  | Default value | Required | Since Version |
+|--------------------|----------------------------------------------|---------------|----------|---------------|
+| `location`         | Iceberg location for table storage.          | None          | No       | 0.2.0         |
+| `format`           | Iceberg table format like `iceberg/parquet`. | None          | No       | 0.2.0         |

Review Comment:
   What kinds of format do we support?



##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,16 +264,24 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                             | Default value | Required | Since Version |
+|---------------------------|---------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment.                                      | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                      | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table. | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `sort-order`              | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.           | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data                      | None          | No       | 0.2.0         |
+
+Gravitino server doesn't allow to change such properties:
+
+| Configuration item | Description                                  | Default value | Required | Since Version |
+|--------------------|----------------------------------------------|---------------|----------|---------------|
+| `location`         | Iceberg location for table storage.          | None          | No       | 0.2.0         |
+| `format`           | Iceberg table format like `iceberg/parquet`. | None          | No       | 0.2.0         |
+| `format-version`   | Iceberg meta data format version.            | None          | No       | 0.2.0         |
+| `provider`         | Table provider like `iceberg`.               | None          | No       | 0.2.0         |

Review Comment:
   Users can change underlying Iceberg catalog these properties, you can't make them immutable. It will make users confusing.



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1743282971


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,16 +264,21 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                                                          | Default value | Required | Since Version |
+|---------------------------|--------------------------------------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment, please use `comment` field in table meta instead.                 | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                                                   | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table.                              | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.                                  | None          | No       | 0.2.0         |
+| `sort-order`              | Iceberg table sort order, please use `SortOrder` in table meta instead.              | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.                                        | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data, please use `distribution` in table meta instead. | None          | No       | 0.2.0         |

Review Comment:
   this seems complicated.



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1738394660


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,16 +264,24 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                             | Default value | Required | Since Version |
+|---------------------------|---------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment.                                      | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                      | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table. | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `sort-order`              | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.           | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data                      | None          | No       | 0.2.0         |
+
+Gravitino server doesn't allow to change such properties:
+
+| Configuration item | Description                                  | Default value | Required | Since Version |
+|--------------------|----------------------------------------------|---------------|----------|---------------|
+| `location`         | Iceberg location for table storage.          | None          | No       | 0.2.0         |
+| `format`           | Iceberg table format like `iceberg/parquet`. | None          | No       | 0.2.0         |
+| `format-version`   | Iceberg meta data format version.            | None          | No       | 0.2.0         |
+| `provider`         | Table provider like `iceberg`.               | None          | No       | 0.2.0         |

Review Comment:
   Actually format version can be changed. v1 can change to v2. But v2 can't change to v1.



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1738396739


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,16 +264,24 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                             | Default value | Required | Since Version |
+|---------------------------|---------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment.                                      | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                      | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table. | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `sort-order`              | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.           | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data                      | None          | No       | 0.2.0         |
+
+Gravitino server doesn't allow to change such properties:
+
+| Configuration item | Description                                  | Default value | Required | Since Version |
+|--------------------|----------------------------------------------|---------------|----------|---------------|
+| `location`         | Iceberg location for table storage.          | None          | No       | 0.2.0         |
+| `format`           | Iceberg table format like `iceberg/parquet`. | None          | No       | 0.2.0         |
+| `format-version`   | Iceberg meta data format version.            | None          | No       | 0.2.0         |
+| `provider`         | Table provider like `iceberg`.               | None          | No       | 0.2.0         |

Review Comment:
   location can be changed too. For one Iceberg table, they can have different locations.



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1738231459


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -268,13 +268,21 @@ The Gravitino server doesn't allow passing the following reserved fields.
 |---------------------------------|---------------------------------------------------------|
 | `comment`                       | The table comment.                                      |
 | `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
 | `current-snapshot-id`           | The snapshot represents the current state of the table. |
 | `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
 | `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
 | `identifier-fields`             | The identifier fields for defining the table.           |
 | `write.distribution-mode`       | Defines distribution of write data                      |
 
+Gravitino server doesn't allow to change such properties:
+
+| Configuration item | Description                                  |

Review Comment:
   updated



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "mchades (via GitHub)" <gi...@apache.org>.
mchades commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1741349396


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,16 +264,24 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                             | Default value | Required | Since Version |
+|---------------------------|---------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment.                                      | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                      | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table. | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `sort-order`              | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.           | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data                      | None          | No       | 0.2.0         |

Review Comment:
   If the reason for the reservation could be added to the description, that would be even better.



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1742001091


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,16 +264,21 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                                                          | Default value | Required | Since Version |
+|---------------------------|--------------------------------------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment, please use `comment` field in table meta instead.                 | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                                                   | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table.                              | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.                                  | None          | No       | 0.2.0         |
+| `sort-order`              | Iceberg table sort order, please use `SortOrder` in table meta instead.              | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.                                        | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data, please use `distribution` in table meta instead. | None          | No       | 0.2.0         |

Review Comment:
   Why does this property have no default value?



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1743172860


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,16 +264,21 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                                                          | Default value | Required | Since Version |
+|---------------------------|--------------------------------------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment, please use `comment` field in table meta instead.                 | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                                                   | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table.                              | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.                                  | None          | No       | 0.2.0         |
+| `sort-order`              | Iceberg table sort order, please use `SortOrder` in table meta instead.              | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.                                        | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data, please use `distribution` in table meta instead. | None          | No       | 0.2.0         |

Review Comment:
   maybe we could remove default value column for this table, because most properties is not managed by Gravitino, so default value not so much meaningful here, it just shows these properties are immutable.



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1743180563


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,16 +264,21 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                                                          | Default value | Required | Since Version |
+|---------------------------|--------------------------------------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment, please use `comment` field in table meta instead.                 | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                                                   | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table.                              | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.                                  | None          | No       | 0.2.0         |
+| `sort-order`              | Iceberg table sort order, please use `SortOrder` in table meta instead.              | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.                                        | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data, please use `distribution` in table meta instead. | None          | No       | 0.2.0         |

Review Comment:
   I removed `default value` and `required` column from the table, since this's seems not so useful for reserved properties. cc @mchades 



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1743638201


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,16 +264,21 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                                                          | Default value | Required | Since Version |
+|---------------------------|--------------------------------------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment, please use `comment` field in table meta instead.                 | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                                                   | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table.                              | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.                                  | None          | No       | 0.2.0         |
+| `sort-order`              | Iceberg table sort order, please use `SortOrder` in table meta instead.              | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.                                        | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data, please use `distribution` in table meta instead. | None          | No       | 0.2.0         |

Review Comment:
   I don't understand what you mean about `different default value`?



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao merged PR #4808:
URL: https://github.com/apache/gravitino/pull/4808


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "mchades (via GitHub)" <gi...@apache.org>.
mchades commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1738268242


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,24 +264,24 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                             | Default value | Required | Since Version |
+|---------------------------|---------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment.                                      | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                      | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table. | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `sort-order`              | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.           | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data                      | None          | No       | 0.2.0         |
 
 Gravitino server doesn't allow to change such properties:
 
-| Configuration item | Description                                  |
-|--------------------|----------------------------------------------|
-| `location`         | Iceberg location for table storage.          |
-| `format`           | Iceberg table format like `iceberg/parquet`. |
-| `format-version`   | Iceberg meta data format version.            |
-| `provider`         | Table provider like `iceberg`.               |
+| Configuration item | Description                                  | Default value | Required | Since Version |
+|--------------------|----------------------------------------------|---------------|----------|---------------|
+| `location`         | Iceberg location for table storage.          | None          | No       | 0.2.0         |
+| `format`           | Iceberg table format like `iceberg/parquet`. | None          | No       | 0.2.0         |
+| `format-version`   | Iceberg meta data format version.            | None          | No       | 0.2.0         |
+| `provider`         | Table provider like `iceberg`.               | None          | No       | 0.2.0         |

Review Comment:
   Since users can pass all the properties provided by Iceberg officials, what is the difference between these properties and official properties? Does the description seem too simple?



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1738394162


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,16 +264,24 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                             | Default value | Required | Since Version |
+|---------------------------|---------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment.                                      | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                      | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table. | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `sort-order`              | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.           | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data                      | None          | No       | 0.2.0         |
+
+Gravitino server doesn't allow to change such properties:
+
+| Configuration item | Description                                  | Default value | Required | Since Version |
+|--------------------|----------------------------------------------|---------------|----------|---------------|
+| `location`         | Iceberg location for table storage.          | None          | No       | 0.2.0         |
+| `format`           | Iceberg table format like `iceberg/parquet`. | None          | No       | 0.2.0         |
+| `format-version`   | Iceberg meta data format version.            | None          | No       | 0.2.0         |
+| `provider`         | Table provider like `iceberg`.               | None          | No       | 0.2.0         |

Review Comment:
   `provider` is the concept of Spark. I'm not sure whether it should be a property of Iceberg catalogs. Could you give more resources about it.



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on code in PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#discussion_r1738430727


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -264,16 +264,24 @@ You can pass [Iceberg table properties](https://iceberg.apache.org/docs/1.5.2/co
 
 The Gravitino server doesn't allow passing the following reserved fields.
 
-| Configuration item              | Description                                             |
-|---------------------------------|---------------------------------------------------------|
-| `comment`                       | The table comment.                                      |
-| `creator`                       | The table creator.                                      |
-| `location`                      | Iceberg location for table storage.                     |
-| `current-snapshot-id`           | The snapshot represents the current state of the table. |
-| `cherry-pick-snapshot-id`       | Selecting a specific snapshot in a merge operation.     |
-| `sort-order`                    | Selecting a specific snapshot in a merge operation.     |
-| `identifier-fields`             | The identifier fields for defining the table.           |
-| `write.distribution-mode`       | Defines distribution of write data                      |
+| Configuration item        | Description                                             | Default value | Required | Since Version |
+|---------------------------|---------------------------------------------------------|---------------|----------|---------------|
+| `comment`                 | The table comment.                                      | None          | No       | 0.2.0         |
+| `creator`                 | The table creator.                                      | None          | No       | 0.2.0         |
+| `current-snapshot-id`     | The snapshot represents the current state of the table. | None          | No       | 0.2.0         |
+| `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `sort-order`              | Selecting a specific snapshot in a merge operation.     | None          | No       | 0.2.0         |
+| `identifier-fields`       | The identifier fields for defining the table.           | None          | No       | 0.2.0         |
+| `write.distribution-mode` | Defines distribution of write data                      | None          | No       | 0.2.0         |
+
+Gravitino server doesn't allow to change such properties:
+
+| Configuration item | Description                                  | Default value | Required | Since Version |
+|--------------------|----------------------------------------------|---------------|----------|---------------|
+| `location`         | Iceberg location for table storage.          | None          | No       | 0.2.0         |
+| `format`           | Iceberg table format like `iceberg/parquet`. | None          | No       | 0.2.0         |
+| `format-version`   | Iceberg meta data format version.            | None          | No       | 0.2.0         |
+| `provider`         | Table provider like `iceberg`.               | None          | No       | 0.2.0         |

Review Comment:
   yes, they can changed by Iceberg, but we doesn't test and verify the action, we'd better keep it.



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4758] correct Iceberg document location is immutable not reserved [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on PR #4808:
URL: https://github.com/apache/gravitino/pull/4808#issuecomment-2325715841

   @jerqi you could create seperate issue to change the Iceberg properties, it's not related to this PR.


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org