geruh commented on code in PR #17948: URL: https://github.com/apache/iceberg/pull/17948#discussion_r3973409449
########## site/docs/blog/posts/2026-09-03-iceberg-python-0.12.0-release.md: ########## @@ -0,0 +1,156 @@ +--- +date: 2026-09-03 +title: Apache Iceberg Python 0.12.0 Release +slug: apache-iceberg-python-0.12.0-release +authors: + - iceberg-pmc +categories: + - release +--- + +<!-- + - Licensed to the Apache Software Foundation (ASF) under one or more + - contributor license agreements. See the NOTICE file distributed with + - this work for additional information regarding copyright ownership. + - The ASF licenses this file to You under the Apache License, Version 2.0 + - (the "License"); you may not use this file except in compliance with + - the License. You may obtain a copy of the License at + - + - http://www.apache.org/licenses/LICENSE-2.0 + - + - Unless required by applicable law or agreed to in writing, software + - distributed under the License is distributed on an "AS IS" BASIS, + - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + - See the License for the specific language governing permissions and + - limitations under the License. + --> + +The Apache Iceberg community is pleased to announce the 0.12.0 release of Apache [Iceberg Python](https://github.com/apache/iceberg-python). + +The 0.12.0 release covers development work from early February through late August 2026 and is the result of merging over [470 pull requests](https://github.com/apache/iceberg-python/compare/pyiceberg-0.11.1...pyiceberg-0.12.0) from 58 contributors, including more than 40 first-time contributors. + +These notes cover the highlights. For the full list, see the [changelog](https://github.com/apache/iceberg-python/releases/tag/pyiceberg-0.12.0). + +<!-- more --> + +## Release Highlights + +### View Support + +This release adds read support for Iceberg views. Views can be created, loaded, listed, registered, and dropped through the REST catalog, and are exposed through a `View` object. + +```python +view = catalog.create_view( + identifier=("default", "recent_orders"), + schema=schema, + view_version=view_version, +) + +view = catalog.load_view("default.recent_orders") +view.sql_for("spark") +``` + +- [ViewMetadata read support and `create_view`](https://github.com/apache/iceberg-python/pull/2154) for the REST catalog +- [`load_view`](https://github.com/apache/iceberg-python/pull/3224) and the [`View` object API](https://github.com/apache/iceberg-python/pull/3338) +- [Registering existing views](https://github.com/apache/iceberg-python/pull/3288) via `register_view` +- [Pagination support for `list_views`](https://github.com/apache/iceberg-python/pull/3349) +- [More examples for working with views](https://github.com/apache/iceberg-python/pull/3414) and a [REST integration test suite](https://github.com/apache/iceberg-python/pull/3406) + +For older REST servers that support the view endpoints but do not advertise them in the `ConfigResponse`, set the `view-endpoints-supported` catalog property. + +### Commit Retry and Concurrency Validation + +Writes now [retry on concurrent commits and validate for conflicts](https://github.com/apache/iceberg-python/pull/3320). When a catalog commit fails with `CommitFailedException`, `Transaction.commit_transaction()` automatically refreshes for new commits, validates for conflicts, and does a retry. Review Comment: english nit: how about "refreshes the table [optional: metadata], checks for conflicts, and retries the commit" ########## site/docs/blog/posts/2026-09-03-iceberg-python-0.12.0-release.md: ########## @@ -0,0 +1,156 @@ +--- +date: 2026-09-03 +title: Apache Iceberg Python 0.12.0 Release +slug: apache-iceberg-python-0.12.0-release +authors: + - iceberg-pmc +categories: + - release +--- + +<!-- + - Licensed to the Apache Software Foundation (ASF) under one or more + - contributor license agreements. See the NOTICE file distributed with + - this work for additional information regarding copyright ownership. + - The ASF licenses this file to You under the Apache License, Version 2.0 + - (the "License"); you may not use this file except in compliance with + - the License. You may obtain a copy of the License at + - + - http://www.apache.org/licenses/LICENSE-2.0 + - + - Unless required by applicable law or agreed to in writing, software + - distributed under the License is distributed on an "AS IS" BASIS, + - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + - See the License for the specific language governing permissions and + - limitations under the License. + --> + +The Apache Iceberg community is pleased to announce the 0.12.0 release of Apache [Iceberg Python](https://github.com/apache/iceberg-python). + +The 0.12.0 release covers development work from early February through late August 2026 and is the result of merging over [470 pull requests](https://github.com/apache/iceberg-python/compare/pyiceberg-0.11.1...pyiceberg-0.12.0) from 58 contributors, including more than 40 first-time contributors. + +These notes cover the highlights. For the full list, see the [changelog](https://github.com/apache/iceberg-python/releases/tag/pyiceberg-0.12.0). + +<!-- more --> + +## Release Highlights + +### View Support + +This release adds read support for Iceberg views. Views can be created, loaded, listed, registered, and dropped through the REST catalog, and are exposed through a `View` object. + +```python +view = catalog.create_view( + identifier=("default", "recent_orders"), + schema=schema, + view_version=view_version, +) + +view = catalog.load_view("default.recent_orders") +view.sql_for("spark") +``` + +- [ViewMetadata read support and `create_view`](https://github.com/apache/iceberg-python/pull/2154) for the REST catalog +- [`load_view`](https://github.com/apache/iceberg-python/pull/3224) and the [`View` object API](https://github.com/apache/iceberg-python/pull/3338) +- [Registering existing views](https://github.com/apache/iceberg-python/pull/3288) via `register_view` +- [Pagination support for `list_views`](https://github.com/apache/iceberg-python/pull/3349) +- [More examples for working with views](https://github.com/apache/iceberg-python/pull/3414) and a [REST integration test suite](https://github.com/apache/iceberg-python/pull/3406) + +For older REST servers that support the view endpoints but do not advertise them in the `ConfigResponse`, set the `view-endpoints-supported` catalog property. + +### Commit Retry and Concurrency Validation + +Writes now [retry on concurrent commits and validate for conflicts](https://github.com/apache/iceberg-python/pull/3320). When a catalog commit fails with `CommitFailedException`, `Transaction.commit_transaction()` automatically refreshes for new commits, validates for conflicts, and does a retry. + + +### Incremental Append Scan + +`Table.incremental_append_scan()` ([#3512](https://github.com/apache/iceberg-python/pull/3512)) reads the rows added by append snapshots within a snapshot range, projected onto the table's current schema. + +```python +scan = table.incremental_append_scan( + from_snapshot_id_exclusive=last_processed_snapshot_id, + to_snapshot_id_inclusive=table.current_snapshot().snapshot_id, +) +new_rows = scan.to_arrow() +``` + +### Geometry and Geography Types + +The v3 [`geometry` and `geography` primitive types](https://github.com/apache/iceberg-python/pull/2859) are now supported: schema parsing and serialization, Avro mapping via WKB bytes, and PyArrow/Parquet integration. + +### File Format Writer API + +PyIceberg has begun using the [File Format API](https://iceberg.apache.org/blog/apache-iceberg-file-format-api/)! Review Comment: nit: this feels akwardly placed but maybe im reading into it too much. Mostly because i know its basically we have moved everything to use the file format api, and have support but not sure to **what** extent. ########## site/docs/blog/posts/2026-09-03-iceberg-python-0.12.0-release.md: ########## @@ -0,0 +1,156 @@ +--- +date: 2026-09-03 +title: Apache Iceberg Python 0.12.0 Release +slug: apache-iceberg-python-0.12.0-release +authors: + - iceberg-pmc +categories: + - release +--- + +<!-- + - Licensed to the Apache Software Foundation (ASF) under one or more + - contributor license agreements. See the NOTICE file distributed with + - this work for additional information regarding copyright ownership. + - The ASF licenses this file to You under the Apache License, Version 2.0 + - (the "License"); you may not use this file except in compliance with + - the License. You may obtain a copy of the License at + - + - http://www.apache.org/licenses/LICENSE-2.0 + - + - Unless required by applicable law or agreed to in writing, software + - distributed under the License is distributed on an "AS IS" BASIS, + - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + - See the License for the specific language governing permissions and + - limitations under the License. + --> + +The Apache Iceberg community is pleased to announce the 0.12.0 release of Apache [Iceberg Python](https://github.com/apache/iceberg-python). + +The 0.12.0 release covers development work from early February through late August 2026 and is the result of merging over [470 pull requests](https://github.com/apache/iceberg-python/compare/pyiceberg-0.11.1...pyiceberg-0.12.0) from 58 contributors, including more than 40 first-time contributors. Review Comment: did we stop posting the contributor list with the names :( ########## site/docs/blog/posts/2026-09-03-iceberg-python-0.12.0-release.md: ########## @@ -0,0 +1,156 @@ +--- +date: 2026-09-03 +title: Apache Iceberg Python 0.12.0 Release +slug: apache-iceberg-python-0.12.0-release +authors: + - iceberg-pmc +categories: + - release +--- + +<!-- + - Licensed to the Apache Software Foundation (ASF) under one or more + - contributor license agreements. See the NOTICE file distributed with + - this work for additional information regarding copyright ownership. + - The ASF licenses this file to You under the Apache License, Version 2.0 + - (the "License"); you may not use this file except in compliance with + - the License. You may obtain a copy of the License at + - + - http://www.apache.org/licenses/LICENSE-2.0 + - + - Unless required by applicable law or agreed to in writing, software + - distributed under the License is distributed on an "AS IS" BASIS, + - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + - See the License for the specific language governing permissions and + - limitations under the License. + --> + +The Apache Iceberg community is pleased to announce the 0.12.0 release of Apache [Iceberg Python](https://github.com/apache/iceberg-python). + +The 0.12.0 release covers development work from early February through late August 2026 and is the result of merging over [470 pull requests](https://github.com/apache/iceberg-python/compare/pyiceberg-0.11.1...pyiceberg-0.12.0) from 58 contributors, including more than 40 first-time contributors. + +These notes cover the highlights. For the full list, see the [changelog](https://github.com/apache/iceberg-python/releases/tag/pyiceberg-0.12.0). + +<!-- more --> + +## Release Highlights + +### View Support + +This release adds read support for Iceberg views. Views can be created, loaded, listed, registered, and dropped through the REST catalog, and are exposed through a `View` object. Review Comment: small nit: It seems more like this is more like adds rest catalog support for iceberg views. Since I'm following the pr links listed in this section. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
