Copilot commented on code in PR #131: URL: https://github.com/apache/gravitino-site/pull/131#discussion_r3224731826
########## blog/2026-05-12-gravitino-1-2-1-release-notes.mdx: ########## @@ -0,0 +1,89 @@ +--- +title: Apache Gravitino 1.2.1 +slug: gravitino-1-2-1-release-notes +authors: [Qi Yu] +tags: [apache,gravitino,metadata,multicloud,model,security,government] +--- + +We are glad to announce the release of Apache Gravitino 1.2.1! This is a patch release that focuses on stability, correctness, and performance improvements. It includes bug fixes across the core server, authorization, Iceberg REST, Trino connector, Hive, and various catalog implementations. + +## Improvements + +### Core & Server + - **Performance**: Improve the performance of metadata object retrieval. [#10459](https://github.com/apache/gravitino/issues/10459) + - **Batch operations**: Support batch get owner for bundle of metadata objects. [#9518](https://github.com/apache/gravitino/issues/9518) + - **Owner management**: Clean zombie VIEW owner relations when deleting schema or catalog. [#10458](https://github.com/apache/gravitino/issues/10458) + +### Authorization + - **Performance**: Optimize JCasbin policy lookup for improved authorization performance when roles with large grants. [#10907](https://github.com/apache/gravitino/issues/10907) Review Comment: The sentence is grammatically incomplete: "...when roles with large grants" is missing a verb. Rephrase to something like "for roles with large grants" or "when roles have large grants" for readability. ########## blog/2026-05-12-gravitino-1-2-1-release-notes.mdx: ########## @@ -0,0 +1,89 @@ +--- +title: Apache Gravitino 1.2.1 +slug: gravitino-1-2-1-release-notes +authors: [Qi Yu] +tags: [apache,gravitino,metadata,multicloud,model,security,government] +--- + +We are glad to announce the release of Apache Gravitino 1.2.1! This is a patch release that focuses on stability, correctness, and performance improvements. It includes bug fixes across the core server, authorization, Iceberg REST, Trino connector, Hive, and various catalog implementations. + +## Improvements + +### Core & Server + - **Performance**: Improve the performance of metadata object retrieval. [#10459](https://github.com/apache/gravitino/issues/10459) + - **Batch operations**: Support batch get owner for bundle of metadata objects. [#9518](https://github.com/apache/gravitino/issues/9518) + - **Owner management**: Clean zombie VIEW owner relations when deleting schema or catalog. [#10458](https://github.com/apache/gravitino/issues/10458) + +### Authorization + - **Performance**: Optimize JCasbin policy lookup for improved authorization performance when roles with large grants. [#10907](https://github.com/apache/gravitino/issues/10907) + +### Iceberg REST Catalog + - **Spec compliance**: Remove prefix from config endpoint per Iceberg REST spec. [#10640](https://github.com/apache/gravitino/issues/10640) + - **Schema version**: Change default Iceberg JDBC schema version to v1. [#10851](https://github.com/apache/gravitino/issues/10851) + - **Error handling**: Return JSON error body instead of HTML for pre-JAX-RS errors. [#10667](https://github.com/apache/gravitino/issues/10667) + +### Catalogs & Connectors + - **Hive**: Shrink the package size of Hive Metastore 2 and Hive Metastore 3 catalogs. [#10457](https://github.com/apache/gravitino/issues/10457) + - **Paimon**: Exclude unnecessary tomcat-embed-core transitive dependency from Paimon catalog. [#10524](https://github.com/apache/gravitino/issues/10524) + - **Lance**: Clean up redundant code in `GravitinoLanceTableOperations#createTable`. [#10496](https://github.com/apache/gravitino/issues/10496) + +### Helm & Charts + - **Launch script**: Use `start-gravitino.sh` instead of `gravitino.sh` to launch the service. [#10557](https://github.com/apache/gravitino/issues/10557) + - **Kubernetes**: Add serviceAccountName to pod spec in deployment.yaml. [#10573](https://github.com/apache/gravitino/issues/10573) + +### Build + - **Package size**: Remove testing jars from release package. [#10331](https://github.com/apache/gravitino/issues/10331) + - **Module structure**: Rename updater module to updaters for consistency. [#10452](https://github.com/apache/gravitino/issues/10452) + - **Build tooling**: Remove release task and centralize JDK 8 compatibility handling. [#10262](https://github.com/apache/gravitino/issues/10262) + - **GitHub Actions**: Update actions/upload-artifact from v4 to v7. [#10646](https://github.com/apache/gravitino/issues/10646) + +## Bug Fixes + +### Core & Server + - Fix batchSelect queries missing version-info JOIN and field aliases. [#10444](https://github.com/apache/gravitino/issues/10444) + - Fix missing partition path in getPartition error messages. [#10175](https://github.com/apache/gravitino/issues/10175) + - Fix rollback masking the original post-hook exception. [#10217](https://github.com/apache/gravitino/issues/10217) + - Fix missing @Param("metalakeId") in GroupRoleRelMapper.softDeleteGroupRoleRelByMetalakeId. [#10657](https://github.com/apache/gravitino/issues/10657) Review Comment: Consider wrapping `@Param("metalakeId")` (and the Java method/class identifier) in inline code backticks. As plain text, the leading "@" can be interpreted as a mention by some Markdown renderers and it also reduces readability for code identifiers in release notes. ########## blog/2026-05-12-gravitino-1-2-1-release-notes.mdx: ########## @@ -0,0 +1,89 @@ +--- +title: Apache Gravitino 1.2.1 +slug: gravitino-1-2-1-release-notes +authors: [Qi Yu] +tags: [apache,gravitino,metadata,multicloud,model,security,government] +--- + +We are glad to announce the release of Apache Gravitino 1.2.1! This is a patch release that focuses on stability, correctness, and performance improvements. It includes bug fixes across the core server, authorization, Iceberg REST, Trino connector, Hive, and various catalog implementations. + +## Improvements + +### Core & Server + - **Performance**: Improve the performance of metadata object retrieval. [#10459](https://github.com/apache/gravitino/issues/10459) + - **Batch operations**: Support batch get owner for bundle of metadata objects. [#9518](https://github.com/apache/gravitino/issues/9518) + - **Owner management**: Clean zombie VIEW owner relations when deleting schema or catalog. [#10458](https://github.com/apache/gravitino/issues/10458) + +### Authorization + - **Performance**: Optimize JCasbin policy lookup for improved authorization performance when roles with large grants. [#10907](https://github.com/apache/gravitino/issues/10907) + +### Iceberg REST Catalog + - **Spec compliance**: Remove prefix from config endpoint per Iceberg REST spec. [#10640](https://github.com/apache/gravitino/issues/10640) + - **Schema version**: Change default Iceberg JDBC schema version to v1. [#10851](https://github.com/apache/gravitino/issues/10851) + - **Error handling**: Return JSON error body instead of HTML for pre-JAX-RS errors. [#10667](https://github.com/apache/gravitino/issues/10667) + +### Catalogs & Connectors + - **Hive**: Shrink the package size of Hive Metastore 2 and Hive Metastore 3 catalogs. [#10457](https://github.com/apache/gravitino/issues/10457) + - **Paimon**: Exclude unnecessary tomcat-embed-core transitive dependency from Paimon catalog. [#10524](https://github.com/apache/gravitino/issues/10524) + - **Lance**: Clean up redundant code in `GravitinoLanceTableOperations#createTable`. [#10496](https://github.com/apache/gravitino/issues/10496) + +### Helm & Charts + - **Launch script**: Use `start-gravitino.sh` instead of `gravitino.sh` to launch the service. [#10557](https://github.com/apache/gravitino/issues/10557) + - **Kubernetes**: Add serviceAccountName to pod spec in deployment.yaml. [#10573](https://github.com/apache/gravitino/issues/10573) + +### Build + - **Package size**: Remove testing jars from release package. [#10331](https://github.com/apache/gravitino/issues/10331) + - **Module structure**: Rename updater module to updaters for consistency. [#10452](https://github.com/apache/gravitino/issues/10452) + - **Build tooling**: Remove release task and centralize JDK 8 compatibility handling. [#10262](https://github.com/apache/gravitino/issues/10262) + - **GitHub Actions**: Update actions/upload-artifact from v4 to v7. [#10646](https://github.com/apache/gravitino/issues/10646) + +## Bug Fixes + +### Core & Server + - Fix batchSelect queries missing version-info JOIN and field aliases. [#10444](https://github.com/apache/gravitino/issues/10444) + - Fix missing partition path in getPartition error messages. [#10175](https://github.com/apache/gravitino/issues/10175) + - Fix rollback masking the original post-hook exception. [#10217](https://github.com/apache/gravitino/issues/10217) + - Fix missing @Param("metalakeId") in GroupRoleRelMapper.softDeleteGroupRoleRelByMetalakeId. [#10657](https://github.com/apache/gravitino/issues/10657) + - Avoid blocking dropCatalog on imported schemas. [#10737](https://github.com/apache/gravitino/issues/10737) + - Default `ifExists` to `true` when deleting a table index. [#10380](https://github.com/apache/gravitino/issues/10380) + - Close leaked EntityStore lifecycle to fix test flakiness. [#10700](https://github.com/apache/gravitino/issues/10700) + - Harden retention count assertions in TestFunctionMetaService and TestFilesetMetaService. [#10700](https://github.com/apache/gravitino/issues/10700) + +### Trino Connector + - Fix TrinoException when using catalog name with metalake. [#10717](https://github.com/apache/gravitino/issues/10717) + +### Iceberg REST Catalog + - Fix table scan planning failure due to incorrect SQL generation. [#10841](https://github.com/apache/gravitino/issues/10841) + - Fix IcebergTableHookDispatcher failure with NoSuchTableException for staged creates. [#10766](https://github.com/apache/gravitino/issues/10766) + +### Hive + - Fix Hive Metastore OOM by closing HiveClientFactory on pool shutdown. [#10844](https://github.com/apache/gravitino/issues/10844) + - Fix concurrent keytab symlink creation race condition in Hive Kerberos authentication. [#10741](https://github.com/apache/gravitino/issues/10741) + +### ClickHouse + - Fix ClickHouse alter-table bugs including autoIncrement issues. [#10381](https://github.com/apache/gravitino/issues/10381) + +### Web UI + - Preserve hidden properties when editing a catalog in web-v2. [#10837](https://github.com/apache/gravitino/issues/10837) + +### MCP Server + - Fix path encoding issues in MCP REST client for special characters. [#10799](https://github.com/apache/gravitino/issues/10799) + +### Common + - Lazy-initialize Version to fix TestVersion without jar task. [#10762](https://github.com/apache/gravitino/issues/10762) + - Block H2 JDBC URL and driver in catalog datasource creation. [#10801](https://github.com/apache/gravitino/issues/10801) + +### CI & Infrastructure + - Pin localstack docker image version to 4.14.0 to fix CI problem. [#10527](https://github.com/apache/gravitino/issues/10527) + - Pin docker/* GitHub Actions to SHA-based references (v4.0.0) to comply with ASF policy. [#10504](https://github.com/apache/gravitino/issues/10504) + +## Documentation + - Clarify verified JDBC compatibility matrix for ClickHouse. [#10308](https://github.com/apache/gravitino/issues/10308) + +## Acknowledgements + +Thanks to everyone who contributed to the 1.2.1 work — code, reviews, tests, issue triage, design, and feedback. + +[babumahesh](https://github.com/babumahesh), [bharos](https://github.com/bharos), [danhuawang](https://github.com/danhuawang), [diqiu50](https://github.com/diqiu50), [FANNG1](https://github.com/FANNG1), [geyanggang](https://github.com/geyanggang), [hdygxsj](https://github.com/hdygxsj), [jerryshao](https://github.com/jerryshao), [laserninja](https://github.com/laserninja), [mchades](https://github.com/mchades), [pandeysambhi](https://github.com/pandeysambhi), [pythaac](https://github.com/pythaac), [roryqi](https://github.com/roryqi), [sachinnn99](https://github.com/sachinnn99), [yuw1](https://github.com/yuw1), [yuqi1129](https://github.com/yuqi1129) + +Apache, Apache Flink, Apache Hive, Apache Hudi, Apache Iceberg, Apache Ranger, Apache Spark, Apache Paimon and Apache Gravitino are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries. Review Comment: The trademarks sentence at the end is not formatted consistently with other release-note posts (they wrap it in a `<sub>...</sub>` block). Wrapping it similarly will keep the footer visually de-emphasized and consistent across the blog. -- 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]
