)]}'
{
  "log": [
    {
      "commit": "ad08c8dc66fc2b219ac7a9cc8b59f3e23a100297",
      "tree": "cdb178df80359cc2c6471de2925787dfc02d683c",
      "parents": [
        "ec348efae1492973c97af8e7a7238b74edbb6ab1"
      ],
      "author": {
        "name": "mchades",
        "email": "liminghuang@datastrato.com",
        "time": "Wed Nov 25 14:46:11 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 14:46:11 2026 +0800"
      },
      "message": "[#15247] feat: Persist Semantic Model revisions and publish on save (#15251)\n\n### What changes were proposed in this pull request?\n\nStore revision metadata and the active revision. Maintain metric and\nsource indexes and apply revision retention.\n\n### Why are the changes needed?\n\nConsumer reads need a stable revision, with publication on save as the\ndefault.\n\nFixes #15247\n\n### Does this PR introduce _any_ user-facing change?\n\nModel responses include revision and publication metadata.\n\n### How was this patch tested?\n\nH2, MySQL and PostgreSQL storage and upgrade tests, plus Java\nintegration tests."
    },
    {
      "commit": "ec348efae1492973c97af8e7a7238b74edbb6ab1",
      "tree": "cc51bc69608ca517fa30be8a59bdb43333b6675a",
      "parents": [
        "fa2d95acf1a1814612ebcd488c96866f41834176"
      ],
      "author": {
        "name": "roryqi",
        "email": "roryqi@datastrato.com",
        "time": "Wed Nov 25 14:16:38 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 14:16:38 2026 +0800"
      },
      "message": "[#15257] fix(iceberg): Return 400 for unrecognized column types (#15258)\n\n### What changes were proposed in this pull request?\n\nReject `UnparsedType` with `IllegalArgumentException` before the\nprimitive-type cast in the Iceberg converter. Include column names when\nschema conversion fails, including nested fields.\n\n### Why are the changes needed?\n\nAn unrecognized column type such as `bigintz` currently causes a\n`ClassCastException` and HTTP 500 when creating or altering an Iceberg\ntable.\n\nFixes #15257\n\n### Does this PR introduce _any_ user-facing change?\n\nInvalid Iceberg column types return HTTP 400 with the unsupported type\nin the message. Table creation errors also identify the affected column.\n\n### How was this patch tested?\n\nAdded regression coverage for create, add-column (nullable and\nrequired), and update-column-type operations, including unparsed types\nnested in lists, map keys/values, and structs. Tests verify HTTP 400 and\nthat failed operations leave tables unchanged. All 13 new cases\nreproduced `ClassCastException` before the fix.\n\nThe full module unit test suite and Spotless formatting passed:\n\n```bash\n./gradlew :catalogs:catalog-lakehouse-iceberg:spotlessApply :catalogs:catalog-lakehouse-iceberg:test -PskipITs -PskipWeb\u003dtrue -PskipTrinoConnector\u003dtrue\n```"
    },
    {
      "commit": "fa2d95acf1a1814612ebcd488c96866f41834176",
      "tree": "b819067ba3d674fe5f1c2caaf706ab415b4780cb",
      "parents": [
        "2b3499c73d00a7f01ad1cb852da0e07e37e9139a"
      ],
      "author": {
        "name": "roryqi",
        "email": "roryqi@datastrato.com",
        "time": "Wed Nov 25 13:12:32 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 13:12:32 2026 +0800"
      },
      "message": "[MINOR] test(iceberg): Fix flaky JDBC metrics cleanup test (#15281)\n\n### What changes were proposed in this pull request?\n\nUse fixed report timestamps in `TestJdbcMetricsStore` and verify that\ncleanup retains reports at the expiration boundary and deletes them when\nthe cutoff advances by one millisecond.\n\n### Why are the changes needed?\n\nRecording metrics and calling `clean(Instant.now())` can occur within\nthe same millisecond. Since cleanup uses `timestamp \u003c cutoff`, the test\ncan retain a report and fail intermittently. Fixed timestamps remove\nthis timing dependency.\n\nObserved in this [CI\nfailure](https://github.com/jerryshao/gravitino/actions/runs/45387775238/job/138918631804).\n\n### Does this PR introduce _any_ user-facing change?\n\nNo.\n\n### How was this patch tested?\n\nThe targeted test passed twice, each run covering H2, MySQL, and\nPostgreSQL:\n\n```bash\n./gradlew :iceberg:iceberg-rest-server:test \\\n  --tests org.apache.gravitino.iceberg.service.metrics.TestJdbcMetricsStore \\\n  -PskipITs -PskipDockerTests\u003dfalse\n```\n\nAdditional repetitions were stopped because the Docker host ran out of\ndisk space during MySQL initialization, before test assertions executed.\nSpotless and `git diff --check` passed."
    },
    {
      "commit": "2b3499c73d00a7f01ad1cb852da0e07e37e9139a",
      "tree": "6452dfb9c147a7d998dd71fe1b091d1f409e7547",
      "parents": [
        "5035f9254bf12b94cd488a7282b307d85e5b2ede"
      ],
      "author": {
        "name": "MaSai",
        "email": "30949009+lasdf1234@users.noreply.github.com",
        "time": "Wed Nov 25 10:19:06 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 10:19:06 2026 +0800"
      },
      "message": "[#15259] docs: clarify Iceberg maintenance policy applicability and generated rules (#15260)\n\n### What changes were proposed in this pull request?\n\nClarify the four Iceberg maintenance policy docs:\n\n- `CATALOG` / `SCHEMA` / `TABLE` are optimizer-applicable types, not an\nassociation reject list; align with `docs/policies.md` / OpenAPI\n`supportedObjectTypes` wording.\n- Generated rules/properties are derived for consumers and are not those\nkeys on the REST `content` payload; inspect via Java/Python\n`content().rules()` / `properties()` after GET.\n\nPages updated:\n\n- `docs/iceberg-compaction-policy.md`\n- `docs/iceberg-orphan-file-removal-policy.md`\n- `docs/iceberg-rewrite-manifests-policy.md`\n- `docs/iceberg-snapshot-expiration-policy.md`\n\n### Why are the changes needed?\n\nThese pages were easy to misread against the live policy API\n(association vs applicability, and how to verify generated rules).\n\nFixes #15259\n\n### Does this PR introduce _any_ user-facing change?\n\nDocs only.\n\n### How was this patch tested?\n\n- Docs link check on the four policy pages\n\n---------\n\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e"
    },
    {
      "commit": "5035f9254bf12b94cd488a7282b307d85e5b2ede",
      "tree": "7cc2ccefd0e36f78235002245ad42d178d4d55c4",
      "parents": [
        "337d6ff8097ca8d37eda0c369ac888aa925af2f2"
      ],
      "author": {
        "name": "Yuhui",
        "email": "hui@datastrato.com",
        "time": "Wed Nov 25 09:58:01 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 09:58:01 2026 +0800"
      },
      "message": "[#15186] docs: Align Glossary Domain membership with Articles (#15200)\n\n### What changes were proposed in this pull request?\n\nUse `domain_member_rel` for Glossary Term membership and check all\nmember types before dropping a Domain. Require `MANAGE_DOMAIN` for\nmembership changes and allow Domain administrators to detach Terms\nexplicitly in Step 1.\n\n### Why are the changes needed?\n\nGlossary and Articles share Domain membership storage and administration\nrules. Related to #15067.\n\nFixes #15186\n\n### Does this PR introduce _any_ user-facing change?\n\nDesign documentation only.\n\n### How was this patch tested?\n\n`git diff --check`"
    },
    {
      "commit": "337d6ff8097ca8d37eda0c369ac888aa925af2f2",
      "tree": "8d392fd93d7c83b4fc0a5da795a2639c338ad4cf",
      "parents": [
        "de5c447e37a2c6259dcd3ec8b0d76c3080ed9d33"
      ],
      "author": {
        "name": "Yuhui",
        "email": "hui@datastrato.com",
        "time": "Tue Nov 24 22:30:41 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 22:30:41 2026 +0800"
      },
      "message": "[#15066] docs: Add Knowledge Base Article design (#15067)\n\n### What changes were proposed in this pull request?\n\nAdd the OSS design for metalake-scoped Knowledge Base Articles. Each\nArticle stores only its current Markdown or HTML content. The design\ncovers shared Domain membership, Term and asset bindings, definition\nprivileges and ownership, REST and clients, basic search, and read-only\nMCP tools. It also defines concurrency, lifecycle cleanup,\nimplementation tasks, and release checks.\n\n### Why are the changes needed?\n\nConnect long business explanations to the terms and data they describe,\nwith shared discovery and authorization contracts for users and agents.\n\nFixes #15066\n\n### Does this PR introduce _any_ user-facing change?\n\nNo. Design documentation only; runtime functionality is delivered by the\nimplementation tasks.\n\n### How was this patch tested?\n\nRan `./gradlew spotlessApply` and `git diff --check`; validated document\nstructure, examples and links."
    },
    {
      "commit": "de5c447e37a2c6259dcd3ec8b0d76c3080ed9d33",
      "tree": "d675e94f448a1f6cb5312c659660fa5a6422cc23",
      "parents": [
        "34eef2751ebf41cceade435b4ff8522c9a8a7c62"
      ],
      "author": {
        "name": "cwq222",
        "email": "127013515+cwq222@users.noreply.github.com",
        "time": "Tue Nov 24 22:05:40 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 22:05:40 2026 +0800"
      },
      "message": "[#13318] improvement(clickhouse): Unwrap toDateTime for native DateTime columns (#13749)\n\n### What changes were proposed in this pull request?\nUnwrap a redundant `toDateTime` conversion in a nested partition\nexpression when the inner column is native `DateTime`, since\n`toDateTime(DateTime)` is an identity.\n- `toYear(toDateTime(ts))` with a `DateTime` column -\u003e `year(\"ts\")`.\n- `toYYYYMM(toDateTime(ts))` with a `DateTime` column -\u003e `month(\"ts\")`.\nNarrowing conversions (`DateTime64` -\u003e `DateTime`, `Date` -\u003e `DateTime`)\nand `toDate` over `DateTime` remain unstructured (empty `partitioning()`\nwith the raw expression in `partition-key`), matching main\u0027s existing\n`toDate` guard.\n### Why are the changes needed?\n`toDateTime(ts)` is a redundant conversion when `ts` is already\n`DateTime`, so a nested `toYear(toDateTime(ts))` currently loads with an\nempty `partitioning()`. Unwrapping this identity conversion lets it\nstructure as `year(\"ts\")`.\nThe `toDate` side of nested type conversions was already addressed by\n#11842; this PR only adds the symmetric `toDateTime` case.\n\nFix: #13318\n### Does this PR introduce _any_ user-facing change?\nYes. A nested `toDateTime` over a `DateTime` column now structures for\nyear/month granularity, e.g. `toYear(toDateTime(ts))` -\u003e `year(\"ts\")`.\nOther combinations remain unstructured.\n### How was this patch tested?\n- Unit test\n`TestClickHouseTableOperationsPartitioning.testDateTimeConversionIsUnwrapped`:\n`toYear`/`toYYYYMM` over a `DateTime` column unwrap; a `Date` column\nstays unstructured.\n- Full ClickHouse module unit tests pass."
    },
    {
      "commit": "34eef2751ebf41cceade435b4ff8522c9a8a7c62",
      "tree": "d9e19af5462a2f278efa1cc377f4333671ea833b",
      "parents": [
        "a14c1d2e3f2e6bc341bad43f23459b4debab2f51"
      ],
      "author": {
        "name": "roryqi",
        "email": "roryqi@datastrato.com",
        "time": "Tue Nov 24 17:11:47 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 17:11:47 2026 +0800"
      },
      "message": "[#15192] fix(server): Allow catalog probes for dynamic-only providers (#15195)\n\n### What changes were proposed in this pull request?\n\nAdd `SupportsDynamicCredential` as an explicit opt-in for catalog probes\nthat do not require static-secret privileges. Built-in token providers\nimplement it. The existing authorization executor and expression\nframework retain both secret checks and the metalake-owner exception\nwhenever any configured provider is unmarked, including mixed\nconfigurations.\n\nThe original `CredentialProvider` SPI is unchanged. Existing custom\nproviders continue to load and retain their secret-privilege checks. No\nrequest-scope state or dispatcher/API parameters are added.\n\n### Why are the changes needed?\n\nThe unconditional secret check rejects catalog initialization probes\neven when every configured provider is dynamic. An explicit capability\nallows these probes without silently exposing credentials from existing\nunmarked providers after an upgrade.\n\nFixes #15192\n\n### Does this PR introduce _any_ user-facing change?\n\nCatalogs containing only explicitly dynamic providers no longer require\n`USE_SECRETS` and `INCLUDE_CREDENTIAL_SECRETS` for credential probes.\nCustom dynamic providers must implement `SupportsDynamicCredential` to\nopt in; unmarked providers retain the original authorization behavior.\nCatalogs without providers also return an empty result after metadata\nauthorization.\n\nBuilt-in path-only token providers still return an empty catalog result\nbecause catalog requests carry no storage path. Token generation\ncontinues through authorized fileset and Iceberg REST paths.\n\n### How was this patch tested?\n\n- Full `:server:test` and `:server-common:test`, plus `:docs:build` and\n`spotlessApply`.\n- `TestCatalogCredentialManager` covers dynamic, unmarked static, mixed,\nand empty configurations; cloud provider tests verify explicit dynamic\ncapabilities.\n- A custom unmarked provider loaded through the real SPI returns stored\nJDBC credentials. Authorization tests verify missing either secret\nprivilege yields 403 before retrieval, while both privileges allow the\nreal credentials.\n- `TestCatalogCredentialContexts` uses the real dispatcher, providers,\nand S3 generator with mocked STS: catalog probes make no STS calls and\npath requests generate tokens restricted to the authorized path and\nread/write privilege."
    },
    {
      "commit": "a14c1d2e3f2e6bc341bad43f23459b4debab2f51",
      "tree": "8c4fb3c51b87867d8e7fa98a9fd9e36d4f23031a",
      "parents": [
        "6ef78e1d5be25846ad86d61c9c353011094e3fe2"
      ],
      "author": {
        "name": "Qian Xia",
        "email": "qian@datastrato.com",
        "time": "Tue Nov 24 16:58:13 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 16:58:13 2026 +0800"
      },
      "message": "[#15184] web-v2(UI): Support UI for associate with tagValues (#15185)\n\n### What changes were proposed in this pull request?\n\u003cimg width\u003d\"1133\" height\u003d\"659\" alt\u003d\"image\"\nsrc\u003d\"https://github.com/user-attachments/assets/461df43b-41aa-4963-9709-5d617f939d02\"\n/\u003e\n\n\n### Why are the changes needed?\nN/A\n\nFixes #15184\n\n### Does this PR introduce _any_ user-facing change?\nN/A\n\n### How was this patch tested?\nN/A"
    },
    {
      "commit": "6ef78e1d5be25846ad86d61c9c353011094e3fe2",
      "tree": "867d97ba24fdff058adb34f6a897693cd425f47a",
      "parents": [
        "75cb8667a233292851aa0bfd8d8df904512e05ce"
      ],
      "author": {
        "name": "geyanggang",
        "email": "geyanggang@qq.com",
        "time": "Tue Nov 24 14:05:54 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 14:05:54 2026 +0800"
      },
      "message": "[#15165] improvement(deps): Update Hadoop to 3.4.3 and move S3 access to AWS SDK v2 (#15166)\n\n### What changes were proposed in this pull request?\n\nThe commits fall into three parts. Later commits fix review findings in\nthe same areas.\n\n1. Update `awssdk` to 2.54.17. The AWS bundle uses `netty-bom`, so Netty\nstays on 4.1.140.\n2. Support AWS SDK v1 and v2 in the S3 credentials provider.\n- Add `S3CredentialsProviderV2`. It shares the refresh logic with the v1\nprovider in `S3CredentialsRefresher`. Concurrent callers of an expired\ncredential fetch it once.\n- `S3FileSystemProvider` picks the provider that matches the Hadoop on\nthe classpath.\n- `checkAndSetCredentialProvider` keeps the providers that the S3A\nconnector on the classpath can use: v1 providers on Hadoop 3.3, v1 and\nv2 providers on Hadoop 3.4+. It keeps the v1 names that Hadoop 3.4\nremaps.\n- `S3CredentialsProvider` also has a `(Configuration)` constructor,\nwhich the S3A connector of Hadoop 3.2 and earlier requires.\n- The AWS SDK v1 is `compileOnly`. `testHadoop33` runs the v1 tests\nagainst Hadoop 3.3.6, and `testHadoop33WithSdkV2` runs them with the AWS\nSDK v2 also on the classpath. Both run after `test`.\n3. Update Hadoop to 3.4.3 and hadoop-thirdparty to 1.5.0.\n- Exclude `software.amazon.awssdk:bundle` and use the single SDK v2\nmodules. The AWS bundle relocates\n`software.amazon.awssdk.thirdparty.org.apache.http`, so\n`ConfigureShadedAWSSocketFactory` keeps working.\n- The AWS bundle adds `amazon-s3-encryption-client-java` 4.0.0 and the\nSDK `kms` module, so S3A client-side encryption (CSE-KMS, CSE-CUSTOM)\nkeeps working with the bundle alone.\n- The Hadoop 3.4 connectors use Commons Collections 4 and Commons IO,\nwhich `hadoop-client-runtime` only shades for itself. Add\n`commons-collections4` to the AWS and Aliyun bundles\n(`AliyunOSSFileSystem.getFileStatus` needs it) and `commons-io` to the\nAzure bundle. New tests check that the connector classes in these\nbundles only reference relocated classes that the bundle contains.\n- Relocate Apache HttpClient 5 (`org.apache.hc`), which the AWS SDK v2\nservice modules bring, in the AWS bundle.\n- Exclude the Netty jars that Hadoop 3.4 brings into the metastore libs\nand Paimon.\n- Exclude `bcprov-jdk18on` and `jettison`, which `hadoop-common` 3.4\ndeclares but does not use, from the metastore libs and Paimon, so they\nship the same jars as with Hadoop 3.3.\n   - Remove `StripShadedAvroTransform`.\n- `S3FileSystemProvider` keeps\n`fs.s3a.directory.marker.retention\u003ddelete` (the Hadoop 3.3 default)\nunless it is configured.\n- `hadoop-hdfs` 3.4 brings commons-cli 1.9.0. The Trino test tool uses\n`DefaultParser` and long options, and the test modules declare\ncommons-cli 1.9.0.\n- In the `catalog-fileset` tests, put `hadoop-auth` before\n`hadoop-client-api` on the classpath. With Hadoop 3.4 the resolution\norder changed, and the `AuthenticationFilter` of `hadoop-client-api`\n(shaded servlet API) broke the MiniDFSCluster.\n- The Paimon S3A tests copy the SDK v2 modules and skip every module the\ncatalog already ships, in any version.\n- Update LICENSE, the Maven legal audit, `trivyignore.yaml` and the\ndocs: the Hadoop 3.4 jar layout for S3, ADLS, OSS and Hive, the AWS SDK\njar per Hadoop version, and client-side encryption.\n- Add bundle content tests and IT cases for vended S3 credentials and\nKerberos relogin.\n\n\n### Why are the changes needed?\n\nFixes #15165\nPart of #14777\n\n### Does this PR introduce _any_ user-facing change?\n\n- `gravitino-aws-bundle` is built on Hadoop 3.4.3 and AWS SDK v2.\n- Server-side Hadoop libraries are 3.4.3.\n- The thin `gravitino-aws` jar and\n`gravitino-filesystem-hadoop3-runtime` work with Hadoop 3.3 and 3.4+.\n- Engines that ship their own Hadoop, such as Spark, should use\n`gravitino-filesystem-hadoop3-runtime` with the `hadoop-aws` and AWS SDK\njars that match the engine\u0027s Hadoop version, not `gravitino-aws-bundle`.\nThe bundle conflicts with the engine\u0027s Hadoop classes; this was already\nthe case with the 1.3.0 bundle (Hadoop 3.3.6) on Spark 3.5, so the docs\nno longer show that combination.\n- With Hadoop 3.4+, S3A client-side encryption outside the bundle needs\n`amazon-s3-encryption-client-java` and the SDK `kms` jar, as the docs\ndescribe.\n- No property keys are added or removed.\n\n### How was this patch tested?\n\n- Unit tests of the bundles, catalogs, clients, Iceberg, authorization,\nserver-common, jobs and Lance modules.\n- `testHadoop33`, `testHadoop33WithSdkV2`, `testMavenLegalFiles` and\n`testMavenArtifactLegalFiles`.\n- New bundle tests, including CSE-KMS client creation and connector\nlinkage.\n- Docker ITs with Hive and LocalStack: CatalogHive2IT, CatalogHive3IT,\nCatalogHiveS3IT, FilesetCatalogIT, FilesetS3CatalogIT, HudiCatalogHMSIT,\nCatalogIcebergHiveIT, CatalogPaimonHiveIT, CatalogPaimonS3IT,\nCatalogPaimonS3AIT, GravitinoVirtualFileSystemS3IT.\n- All ITs of `catalog-fileset`, `filesystem-hadoop3`,\n`catalog-lakehouse-hudi`, `catalog-lakehouse-paimon` and\n`catalog-lakehouse-iceberg`, including HadoopUserImpersonationIT, except\nthe Kerberos ITs, which run in CI.\n- Cloud ITs against AWS S3 and ADLS: IcebergRESTS3TokenIT,\nIcebergRESTAzureAccountKeyIT, GravitinoVirtualFileSystemS3CredentialIT,\nGravitinoVirtualFileSystemABSIT.\n- Manual tests against a server on this branch, with keys on the client\nand with vended credentials: Hadoop CLI 3.3.6 and 3.4.3 on JDK 8 and 17\nwith S3 (`s3-token`, `s3-secret-key`) and ADLS (`azure-account-key`);\nPySpark on Spark 3.5.10 (Hadoop 3.3.4) and 4.0.5 (Hadoop 3.4.1) with S3."
    },
    {
      "commit": "75cb8667a233292851aa0bfd8d8df904512e05ce",
      "tree": "e88ee7d1d6c88fd35a11e289eb9aab3e05bf9891",
      "parents": [
        "13ed3e84ce3b8295da5a3f73d55dd5dc0758f7bd"
      ],
      "author": {
        "name": "mchades",
        "email": "liminghuang@datastrato.com",
        "time": "Tue Nov 24 11:30:43 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 11:30:43 2026 +0800"
      },
      "message": "[#15171] docs: Add Semantic Model revision history and publication design (#15172)\n\n### What changes were proposed in this pull request?\n\nAdd the design for Semantic Model revision history and publication. It\ncovers revision selectors and read resolution for every consumer\nsurface, the storage changes, `expectedRevision` on writes, the REST,\nJava, Python, and MCP APIs, the `SemanticModelPublicationPolicy`\nextension point, compatibility, alternatives, and the task breakdown.\n\n### Why are the changes needed?\n\nSemantic Model changes alter answers without failing queries. Consumers\ncannot tell which revision they read, authors cannot use the stored\nhistory or detect concurrent replacements, and deployments cannot check\na definition before consumers see it. This establishes the contract\nbefore implementation.\n\nFixes #15171\n\n### Does this PR introduce _any_ user-facing change?\n\nNo runtime changes. The APIs and schema changes in the document are\nproposed and are not implemented by this PR.\n\n### How was this patch tested?\n\nChecked local links, anchors, and repository file links against `main`,\nand whitespace. No code tests were run for this documentation-only\nchange.\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\n---------\n\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e"
    },
    {
      "commit": "13ed3e84ce3b8295da5a3f73d55dd5dc0758f7bd",
      "tree": "ebbc6278f4d2a1307cf8956b1fc4ba107bc77de8",
      "parents": [
        "894e6f9858c7a9c30f8523c2428121ac62bce510"
      ],
      "author": {
        "name": "Qi Yu",
        "email": "yuqi4733@gmail.com",
        "time": "Tue Nov 24 11:25:36 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 11:25:36 2026 +0800"
      },
      "message": "[#15193] fix(core): Index live governance metadata across relational backends (#15194)\n\n### What changes were proposed in this pull request?\n\nAdd eight indexes to the fresh 2.0 schemas and the 1.3-to-2.0 upgrades\nfor PostgreSQL, MySQL, and H2. Four support listing users, roles, tags,\nand policies by metalake. Four support cleaning up tag assignments and\nrole grants by object, user memberships by role, and policy bindings by\ntag.\n\nAll three backends use the same index names and leading lookup columns.\nPostgreSQL uses partial indexes with `WHERE deleted_at \u003d 0`. MySQL and\nH2 include `deleted_at` as the final index column.\n\n### Why are the changes needed?\n\nRetained rows increase the cost of listing active entities and cleaning\nup relationships. With 100,000 retained grants and ten active grants,\nupdating one active grant took 1,041 shared buffer accesses on\nPostgreSQL before the change and 11 after. On MySQL, the same update\nreduced `Handler_read_next` from 10,001 to 1. On H2, `scanCount` fell\nfrom 10,002 to 2.\n\nFixes #15193\n\n### Does this PR introduce _any_ user-facing change?\n\nListing active governance entities and cleaning up their relationships\ncan be faster when the entity store retains substantial deletion\nhistory.\n\n### How was this patch tested?\n\n- Checked all eight indexes and their column order after fresh installs\nand upgrades on H2 2.2.224, MySQL 5.7.31 and 8.0.22, and PGlite\n(PostgreSQL 17.5). The PostgreSQL checks also verify the partial-index\npredicate.\n- Verified repeated upgrades on H2 and both MySQL versions, and recovery\nafter interrupted upgrades on H2 and MySQL 8.0.22. Reapplied the\nPostgreSQL upgrade to a database with live and deleted same-name tags\nand verified both rows.\n- Compared query plans on MySQL, H2, and PGlite (PostgreSQL 16.3 and\n17.5). All eight target queries used their respective indexes with\n100,000 retained rows and ten active rows per table."
    },
    {
      "commit": "894e6f9858c7a9c30f8523c2428121ac62bce510",
      "tree": "be74c362d0ea77cadcce2bb7bd53575df0da0ce8",
      "parents": [
        "8db817a8c002a5e01b17312f563f3769571c796e"
      ],
      "author": {
        "name": "Qi Yu",
        "email": "yuqi4733@gmail.com",
        "time": "Tue Nov 24 11:24:15 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 11:24:15 2026 +0800"
      },
      "message": "[MINOR] fix(ci): Detect development branch bases and shorten Fork CI status messages (#15214)\n\n### What changes were proposed in this pull request?\n\nWhen a push starts Fork CI before a PR opens, include an upstream\ndevelopment branch among the base candidates if its tip uniquely matches\nthe pushed commit’s first parent. Keep running CI immediately in the\ncontributor’s fork.\n\n### Why are the changes needed?\n\nIn #15206, Fork CI passed against `main` before the PR opened. The PR\ntargeted `glossary-term-dev`, so the upstream check could not accept\nthat result. The recovery instructions were also long enough for GitHub\nto hide the action at the end of the status row.\n\n### Does this PR introduce _any_ user-facing change?\n\nA base mismatch now shows `Wrong base. Re-run all jobs in fork.` The\nupstream status log names both branches. When CI changes require trusted\nverification, the status shows `Committer: run Fork CI upstream.`\n\n### How was this patch tested?\n\nRan `node --test .github/scripts/tests/*fork-ci*.cjs`. All 156 tests\npassed, including coverage for base selection, mismatch reporting, and\nupdating existing pending statuses."
    },
    {
      "commit": "8db817a8c002a5e01b17312f563f3769571c796e",
      "tree": "3012969cff6795f54c8f04caad411e7d1e1902e4",
      "parents": [
        "9a3748eb6d67af1bc87b5e1d7f521c562e5f72d8"
      ],
      "author": {
        "name": "MaSai",
        "email": "30949009+lasdf1234@users.noreply.github.com",
        "time": "Tue Nov 24 10:11:56 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 10:11:56 2026 +0800"
      },
      "message": "[#15168] fix(core): Coordinate entity cache with pending writes on standalone mutations (#15169)\n\n### What changes were proposed in this pull request?\n\nCoordinate the process-wide entity cache with standalone SQL writes\nusing pending writes:\n\n1. `beginPendingWrite`: retain pending on the exact key and hierarchy\nprefixes (`CaffeineEntityCache.descendantPrefixes`), then invalidate. If\ninvalidate fails after retain, release so refcounts cannot leak.\n2. Run backend I/O without holding the cache key lock across DB work.\n3. `endPendingWrite`: release pending and bump `cacheInvalidationEpoch`.\n\nReads (`get` / `batchGet` / `exists`) treat pending keys and descendants\nunder pending prefixes as uncached and do not publish loads until the\nwrite finishes.\n\nAlso:\n\n- **Overwrite `put`**, **`delete` / `deleteAndGet` /\n`deleteSchemaAndGet`** use the same pending path (`deleteDomain`\nunchanged; DOMAIN is not cacheable).\n- **Rename**: wrap the updater so `beginPendingWrite` on the new name\nruns inside `updateEntity` before a backend-owned (or nested) commit\nmakes the renamed row visible.\n- Hierarchy pending reuses the same prefix rules as\n`invalidateHierarchy` (name-level `.` and schema separator), including\nmulti-level schemas.\n\nFixes #15168.\n\n### Why are the changes needed?\n\nPreviously the store often invalidated only after backend commit (or\nonly protected the parent key). Peers could hit or refill stale cache\nrows—including descendants under a parent delete, and rename targets\nunder the new name—while the database already reflected the write.\n\n### Does this PR introduce _any_ user-facing change?\n\nNo.\n\n### How was this patch tested?\n\n- `./gradlew :core:spotlessApply`\n- `./gradlew :core:test --tests\norg.apache.gravitino.storage.relational.TestRelationalEntityStore\n--tests org.apache.gravitino.cache.TestCaffeineEntityCacheInvalidation\n-PskipITs -PskipDockerTests\u003dtrue`\n\n---------\n\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e"
    },
    {
      "commit": "9a3748eb6d67af1bc87b5e1d7f521c562e5f72d8",
      "tree": "280f6bd8b5029d75639af01932276d49297ccbfa",
      "parents": [
        "bab179caef736aebfedd871c35ef187b6b885d84"
      ],
      "author": {
        "name": "geyanggang",
        "email": "geyanggang@qq.com",
        "time": "Mon Nov 23 20:59:50 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 20:59:50 2026 +0800"
      },
      "message": "[#15208] improvement(deps): Update Guava to 33.8.0-jre (#15209)\n\n### What changes were proposed in this pull request?\n\n- Update Guava from 32.1.3-jre to 33.8.0-jre.\n- Add `jsr305` as `compileOnly` and `testCompileOnly` for all\nsubprojects. Guava 33.5.0 and later no longer depend on it, and the\nsources use `javax.annotation.Nullable`.\n- Replace the deprecated `Throwables.propagateIfPossible(Throwable,\nClass)` in `PrincipalUtils` and `CloseableGroup` with equivalent code.\n- Add `libs.guava` to `iceberg-gcp-bundle`, so it ships Guava 33.8.0-jre\ninstead of 33.3.1-android from the Google auth libraries.\n- Add JSpecify to `LICENSE.iceberg`, `LICENSE.lance` and\n`LICENSE.trino`, since Guava now brings it.\n- Remove the Guava 32.1.3 and 33.3.1 entries from `trivyignore.yaml`.\n- Update `TestRuntimeJarLegalFiles`: the client runtime jar no longer\nbundles jsr305, so drop the checks for its legal files.\n\nGuava 33.8.0-jre is compiled for Java 8, so the JDK 8 modules are not\naffected.\n\n### Why are the changes needed?\n\nKeep Guava on the latest 33.x release.\n\nFixes #15208\nPart of #14777\n\n### Does this PR introduce _any_ user-facing change?\n\nNo. The Guava inside the client, Flink and Spark runtime jars is\nrelocated, so it does not affect user classpaths. Runtime jars no longer\ncontain jsr305 where Guava was the only source.\n\n### How was this patch tested?\n\n- `compileJava` and `compileTestJava` for all modules.\n- Unit tests (`-PskipITs`) for `:server`, `:core`, `:api`, `:common`,\n`:server-common`, the Java client, `filesystem-hadoop3`, the runtime\njars, `iceberg-common`, `iceberg-rest-server`, `lance-rest-server`, the\nTrino connector, the Hive, fileset, Paimon and Iceberg catalogs,\nmaintenance, and the Flink and Spark connectors.\n- Checked the resolved Guava version per module and the Guava version\ninside the shaded runtime jars and bundles."
    },
    {
      "commit": "bab179caef736aebfedd871c35ef187b6b885d84",
      "tree": "8c59b1814ab38658b7c9fa1403e8cb1885d24abb",
      "parents": [
        "a37c655bd26844534385aca80f7ef17cf2f89c6d"
      ],
      "author": {
        "name": "Saravanan Kandaswamy",
        "email": "s4ravanank@gmail.com",
        "time": "Mon Nov 23 17:40:59 2026 +0530"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 20:10:59 2026 +0800"
      },
      "message": "[#13434] improvement(catalog-jdbc): downgrade missing Gravitino id log in loadSchema to DEBUG (#13508)\n\n### What changes were proposed in this pull request?\n\n- In `JdbcCatalogOperations.loadSchema`, downgrade the log level from\n`WARN` to `DEBUG` when a loaded schema\u0027s comment does not carry a\nGravitino identifier.\n- Remove user comment text interpolation from the log message to avoid\nleaking user comment text into logs, and log the schema identifier\ninstead.\n- Added unit tests covering schema loading without an identifier, with\nan identifier, and with a null comment in `TestJdbcCatalogOperations`.\n\n### Why are the changes needed?\n\nFor JDBC catalogs whose underlying databases cannot or deliberately do\nnot store Gravitino identifiers in schema comments,\n`StringIdentifier.fromComment(comment)` returning `null` is expected and\nhandled by `SchemaOperationDispatcher` falling back to the entity store.\nEmitting a `WARN` on every schema load created unnecessary log noise and\ninterpolated user comment text into the logs.\n\nFix: #13434\n\n### Does this PR introduce _any_ user-facing change?\n\nNo API changes. The log level for schemas without Gravitino IDs in\ncomments is reduced from `WARN` to `DEBUG`, and user comments are no\nlonger logged.\n\n### How was this patch tested?\n\n- Added `testLoadSchemaWithoutGravitinoId`,\n`testLoadSchemaWithNullComment`, and `testLoadSchemaWithGravitinoId` in\n`TestJdbcCatalogOperations`.\n- Ran `./gradlew :catalogs:catalog-jdbc-common:test -PskipITs\n-PskipDockerTests\u003dtrue`.\n\nCo-authored-by: yuqi \u003cyuqi@datastrato.com\u003e"
    },
    {
      "commit": "a37c655bd26844534385aca80f7ef17cf2f89c6d",
      "tree": "7be5224ffd44e37101e505ae5ec987ccb15bc4a9",
      "parents": [
        "336b5ce5ec1e1f52306d1fad4303fb20a97c4d29"
      ],
      "author": {
        "name": "Akshay Thorat",
        "email": "ak007t@gmail.com",
        "time": "Mon Nov 23 04:01:30 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 20:01:30 2026 +0800"
      },
      "message": "[#12049] feat(iceberg-rest-server): add JDBC idempotency storage (#14972)\n\n### What changes were proposed in this pull request?\n\nAdd `JdbcIdempotencyStore` using the existing relational connection\npool, with committed reservations, claim-token fencing, normalized\nUUIDv7 keys, deadline-based expiry, and bounded cleanup. Add\nH2/MySQL/PostgreSQL schemas and upgrade SQL, configuration,\ndocumentation, and database-backed tests.\n\n### Why are the changes needed?\n\nShare reservations and finalized responses across Iceberg REST replicas\nand retain them across service restarts. Part of #12049; builds on the\nHTTP endpoint integration merged in #12474.\n\nFixes #14971.\n\n### Does this PR introduce _any_ user-facing change?\n\nAdd `jdbc` as an `idempotency-store-type` and\n`idempotency-cleanup-interval` (default `PT5M`), under\n`gravitino.iceberg-rest.`. JDBC storage requires auxiliary mode and the\nnew schema table. The default remains `in-memory`. Reservation/replay\nstorage failures now return 503 with Retry-After before any mutation\nruns. Failed persistence of a terminal response keeps its reservation\nuntil expiry instead of freeing it for immediate re-execution.\n\nDatabase persistence does not make catalog mutations and response\nrecording atomic. A crash after a mutation but before response\npersistence can still allow re-execution.\n\n### How was this patch tested?\n\nAll 29 JDBC behavior tests passed on H2, MySQL, and PostgreSQL,\nincluding concurrent purge/reservation races, claim fencing after\nrelease and re-reservation, different-operation duplicates, retrying\ninitialization after schema repair, and reclaim when a key expires\nbetween reservation attempts. The initialization and\nexpiry-between-attempts regressions failed before their fixes and passed\nafterward. HTTP fault-injection tests cover response-storage failures\nbefore/after commit and reservation failures with uncertain commit\noutcomes; manager tests cover serialization and read-back failures.\n\n`TestSQLScripts` fresh-install and upgrade checks passed on all three\ndatabases, asserting the idempotency columns (including `claim`) and\nexpiry index. After merging current main and resolving the documentation\nconflict, the complete REST server (836 tests) and Iceberg common (178\ntests) suites passed on Java 17. Formatting and Javadoc generation\npassed. Full deployed HTTP integration was not run locally; endpoint\nwiring from #12474 is now included from main."
    },
    {
      "commit": "336b5ce5ec1e1f52306d1fad4303fb20a97c4d29",
      "tree": "92147931b56d5daa262608b28399e42b7eeb8f2c",
      "parents": [
        "0bbe0d380fc09ecae9ba26e53c6555929cce52d8"
      ],
      "author": {
        "name": "Qi Yu",
        "email": "yuqi4733@gmail.com",
        "time": "Mon Nov 23 19:27:02 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 19:27:02 2026 +0800"
      },
      "message": "[MINOR] build: Use Foojay with bundled dependencies (#15197)\n\n### What changes were proposed in this pull request?\n\nUpgrade the Foojay toolchain resolver from 0.7.0 to 1.0.0. The new\nplugin bundles Gson and supports the project\u0027s Gradle 8.2 wrapper and\nJDK 17 build runtime.\n\n### Why are the changes needed?\n\nThe Python integration job for #15194 missed the Gradle cache. Its first\nGradle invocation failed after 1m 39s, before any build task ran,\nbecause Maven Central returned HTTP 429 for the Gson 2.9.1 POM required\nby Foojay 0.7.0. The checkout already included the longer retry window\nfrom #15125. Bundling Gson removes this request during settings\nresolution. [Failed CI step, attempt\n1](https://github.com/yuqi1129/gravitino/actions/runs/45129889461/job/137543096972#step:7:47)\n\n### Does this PR introduce _any_ user-facing change?\n\nThe build continues to use Foojay to provision Java toolchains.\n\n### How was this patch tested?\n\n- Ran Gradle 8.2 on JDK 17 with a fresh cache for each plugin version\nand a local Maven repository serving the published plugin artifacts.\nConfigured the repository to return HTTP 429 for every Gson request.\nFoojay 0.7.0 failed after five requests. Foojay 1.0.0 completed\n`javaToolchains` with zero Gson requests.\n- Ran `./gradlew help javaToolchains` and `./gradlew compileDistribution\n-PskipWeb\u003dtrue -x test --dry-run` in the project.\n- Verified that the resolver returned download URLs for Linux x86_64 JDK\n24 and 25 using Gradle 8.2."
    },
    {
      "commit": "0bbe0d380fc09ecae9ba26e53c6555929cce52d8",
      "tree": "ebcf18e0be3aaaa83f354b2ef1f0173d93a353c0",
      "parents": [
        "fce4288bc38950c1f9d203d36d944bbbec3016c7"
      ],
      "author": {
        "name": "Jerry Shao",
        "email": "jerryshao@datastrato.com",
        "time": "Mon Nov 23 16:34:32 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 16:34:32 2026 +0800"
      },
      "message": "[MINOR] docs: Document that associating unknown tags is ignored (#15187)\n\n### What changes were proposed in this pull request?\n\nDocument that the tag associate API ignores tag names that do not exist\nin the metalake:\n\n- `docs/open-api/tags.yaml`: the `associateTags` description now says\nthat unknown names in `tagsToAdd` or `tagsToRemove` are ignored instead\nof failing the request (including tags dropped or renamed while the\nrequest runs), and that the 200 response lists the tags associated after\nthe change.\n- `docs/manage-tags-in-gravitino.md`: add the same note to \"Attach and\nDetach Tags\", telling users to compare the returned list with the names\nthey sent.\n\n### Why are the changes needed?\n\nThe `SupportsTags#associateTags` Javadoc already states that missing\ntags are ignored, and the server behaves that way. The REST spec and the\nuser guide did not say so, which made the 200 response with an unchanged\ntag list look like a silent failure to users.\n\n### Does this PR introduce _any_ user-facing change?\n\nDocumentation only. No behavior change.\n\n### How was this patch tested?\n\n`./gradlew :docs:build` (OpenAPI validation passes).\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e"
    },
    {
      "commit": "fce4288bc38950c1f9d203d36d944bbbec3016c7",
      "tree": "4f344464f2449e45c1187e838502f2c6d609e1b5",
      "parents": [
        "a98604bec32565fdacc59ebec937a8b6a62b08ba"
      ],
      "author": {
        "name": "jarred0214",
        "email": "jarred0214@gmail.com",
        "time": "Mon Nov 23 16:22:51 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 16:22:51 2026 +0800"
      },
      "message": "[#15141] improvement(hive): Avoid full loads in table existence checks (#15142)\n\n### What changes were proposed in this pull request?\n\nAdd an optional `SupportsTableIdentifier` connector SPI and use it for\nexistence checks on already imported external tables. Hive 2 and Hive 3\nread the live table type and Gravitino identifier with one raw metastore\ntable lookup, without column conversion, SerDe field resolution or\ncolumn-constraint RPCs.\n\nThe dispatcher keeps the ordinary load/import path for cold tables,\nchanged or malformed identifiers, managed catalogs and connectors\nwithout the SPI. Missing source objects return false; metastore failures\npropagate. No existence result is cached across requests.\n\n### Why are the changes needed?\n\nPrivilege operations validate their target object. Repeated\ngrants/revokes across roles currently load full metadata for an\nunchanged Hive table on every validation, including column and\nregistration-refresh work. An imported table with the same live source\nidentity can be checked without that work. The fix preserves\nfirst-import and identity-conflict handling instead of replacing those\nchecks with an unconditional boolean probe.\n\nFixes #15141\n\n### Does this PR introduce _any_ user-facing change?\n\nAdds an optional Java connector SPI. Existing connectors retain the\nload-based fallback. No REST API or configuration changes. Explicit\ntable loads still refresh the full metadata.\n\n### How was this patch tested?\n\n- Reproduced the original dispatcher\u0027s full `loadTable` call in a\nfocused regression before applying the dispatcher fix.\n- 180 tests passed across `TestTableOperationDispatcher`,\n`TestMetadataObjectUtil`, `TestHiveShimGetTable`, `TestHiveShimV3` and\n`TestHiveCatalogOperations`.\n- Tests cover imported/cold tables, unchanged/absent/changed/malformed\nidentifiers, missing source tables/schemas, source failures and views.\nHive probe tests assert that only the raw get-table RPC is issued.\n- Spotless checks and API Javadoc generation passed.\n- Docker/live-Hive integration tests were not run locally; metastore RPC\nbehavior is verified with mocked Hive 2/3 clients.\n\nCommands (JDK 17):\n\n```bash\n./gradlew :api:javadoc \\\n  :core:coreUnitTest \\\n  --tests org.apache.gravitino.catalog.TestTableOperationDispatcher \\\n  --tests org.apache.gravitino.utils.TestMetadataObjectUtil \\\n  :catalogs:hive-metastore-common:test \\\n  --tests org.apache.gravitino.hive.client.TestHiveShimGetTable \\\n  :catalogs:hive-metastore3-libs:test \\\n  --tests org.apache.gravitino.hive.client.hive3.TestHiveShimV3 \\\n  :catalogs:catalog-hive:test \\\n  --tests org.apache.gravitino.catalog.hive.TestHiveCatalogOperations \\\n  -PskipITs -PskipDockerTests\u003dtrue\n```\n\n---------\n\nCo-authored-by: Jerry Shao \u003cjerryshao@datastrato.com\u003e"
    },
    {
      "commit": "a98604bec32565fdacc59ebec937a8b6a62b08ba",
      "tree": "3d60850cb69611ce65a7bfd4c19a7f5c363b71e0",
      "parents": [
        "8b50e611ae6b8296afb24c9425aee98f4d748d82"
      ],
      "author": {
        "name": "PiotrAndrzejewsky",
        "email": "78814991+PiotrAndrzejewsky@users.noreply.github.com",
        "time": "Mon Nov 23 09:14:38 2026 +0100"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 16:14:38 2026 +0800"
      },
      "message": "[#9208] feat(iceberg-rest): Supply init script to create metadata tables for JDBC catalog backend (#14904)\n\n### What changes were proposed in this pull request?\n\n- Added DDL initialization SQL scripts for Iceberg JDBC catalog metadata\ntables (`iceberg_tables` with Iceberg V1 view support and\n`iceberg_namespace_properties`) for MySQL, PostgreSQL, and H2 under\n`scripts/`.\n- Registered `iceberg-jdbc-schema-*.sql` script pattern in\n`TestSQLScripts.java` so script tests validate naming conventions.\n- Updated documentation in `docs/iceberg-rest-service.md` and\n`docs/lakehouse-iceberg-catalog.md` with instructions and command\nexamples for manually executing initialization scripts when\n`jdbc-initialize` is disabled or running in restricted DML environments.\n\n### Why are the changes needed?\n\nIn secured database environments, application service users often only\nhold DML permissions and cannot execute DDL statements (or multiple JDBC\ncatalogs are used where `jdbc-initialize\u003dtrue` may not automatically\ninitialize tables). Users need explicit DDL scripts to provision Iceberg\nmetadata tables ahead of time.\n\nFixes #9208\n\n### Does this PR introduce _any_ user-facing change?\n\nNo API changes. Users now have ready-to-run DDL scripts in\n`${GRAVITINO_HOME}/scripts/{mysql,postgresql,h2}/` to initialize\nmetadata tables for Iceberg JDBC backend.\n\n### How was this patch tested?\n\n- `./gradlew :core:coreH2Test --tests\n\"org.apache.gravitino.storage.TestSQLScripts\" --max-workers\u003d4`\n- `./gradlew :docs:build --max-workers\u003d4`\n- `./gradlew spotlessCheck --max-workers\u003d4`\n- `./gradlew rat --max-workers\u003d4`"
    },
    {
      "commit": "8b50e611ae6b8296afb24c9425aee98f4d748d82",
      "tree": "52b9cb645f102061f45656f8a4646124048b60ae",
      "parents": [
        "45e65af8002a67cc1fa32579698b3bdc56faf9e6"
      ],
      "author": {
        "name": "Danhua Wang",
        "email": "danhua@datastrato.com",
        "time": "Mon Nov 23 16:01:31 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 16:01:31 2026 +0800"
      },
      "message": "[#11099][#9013] feat(helm): Schema migration via regular Job (#15001)\n\n## What changes were proposed in this pull request?\n\n- Add a `pre-install` / `pre-upgrade` Helm hook Job\n(`schema-migrate-job.yaml`) that runs entity-store schema SQL once per\nrelease revision, following the enterprise chart pattern\n(`schema-migrate.sh` + sqlfile init).\n- Add `schema.migrate` values (opt-in, default `false`). When enabled,\nskip per-pod `init-mysql` / `init-postgresql` schema apply to avoid\nrolling-update races (#11099).\n- Support in-chart Bitnami MySQL/PostgreSQL and external `jdbc:mysql://`\n/ `jdbc:postgresql://` entity stores; external installs require\n`schema.migrate.existingSecret` (#9013).\n- Document usage in `values.yaml`, `NOTES.txt`, and `docs/chart.md`.\n\nFixes #11099\nFixes #9013\n\n## Why are the changes needed?\n\nSchema init in Deployment initContainers runs on every Pod during a\nrollout, which can race on shared databases. External databases also\nrequire manual DDL before install today.\n\n## Does this PR introduce _any_ user-facing change?\n\nYes. New optional `schema.migrate` and `schema.*` connection override\nvalues. Default behavior is unchanged (`schema.migrate.enabled\u003dfalse`).\n\n## How was this patch tested?\n\n```bash\ncd dev/charts/gravitino \u0026\u0026 helm unittest .\n```\n\nAll tests pass, including new cases in `tests/schema_migrate_test.yaml`\n(hook annotations, in-chart skip init, external Secret wiring, negative\nrender failures).\n\nMade with [Cursor](https://cursor.com)\n\n---------\n\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e\nCo-authored-by: Jerry Shao \u003cjerryshao@datastrato.com\u003e"
    },
    {
      "commit": "45e65af8002a67cc1fa32579698b3bdc56faf9e6",
      "tree": "545803759b9293fe9119fef88f9a78c79b535cd4",
      "parents": [
        "a8aa8d68eda82fe16cb45c29ee1d82ec8964a6bb"
      ],
      "author": {
        "name": "jarred0214",
        "email": "jarred0214@gmail.com",
        "time": "Mon Nov 23 15:00:35 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 15:00:35 2026 +0800"
      },
      "message": "[#15133] improvement(auth): Avoid full table metadata reads on authorization ID cache misses (#15134)\n\n### What changes were proposed in this pull request?\n\nAdd an ID lookup operation to EntityStore with a compatible full-read\ndefault. For relational tables, reuse a cached entity ID when available\nand otherwise read table metadata without its column snapshot. Route\nauthorization table ID resolution through this operation.\n\n### Why are the changes needed?\n\nWhen role policies are loaded on a metadata-ID cache miss, authorization\nresolves each securable table to an ID. The current lookup loads a\ncomplete TableEntity, including its column snapshot, only to return its\nID. Roles containing many table grants can therefore load large amounts\nof unrelated column metadata.\n\nThe optimized path preserves identifier normalization and missing-entity\nbehavior. It does not cache partial entities or add another name-to-ID\ncache.\n\nFixes #15133\n\n### Does this PR introduce _any_ user-facing change?\n\nNo REST API, authorization policy, or configuration change. EntityStore\ngains a default SPI method so existing store implementations remain\ncompatible.\n\n### How was this patch tested?\n\nUnit tests cover metadata-only mapper selection with caching enabled and\ndisabled, warm and cold entity caches, request/shared authorization\ncaches and invalidation, missing tables, storage errors, and the default\nstore fallback. Relational backend tests cover ID resolution, subsequent\nfull column reads, and deletion.\n\n277 tests passed (43 core storage/H2 tests and 234 server-common\nauthorization tests), with no skipped tests in the selected suites.\nDocker-backed MySQL/PostgreSQL tests were not run.\n\n```bash\n./gradlew :core:test --tests \u0027*TestRelationalEntityStore\u0027 --tests \u0027*TestTableIdLookup\u0027 --tests \u0027*TestTableMetaService\u0027 :server-common:test --tests \u0027*TestMetadataIdConverter\u0027 --tests \u0027*TestJcasbin*\u0027 -PskipITs -PskipDockerTests\u003dtrue\n```\n\nThe changed Java sources were formatted with the module Spotless tasks;\nthe build\u0027s Spotless checks and `git diff --check` passed."
    },
    {
      "commit": "a8aa8d68eda82fe16cb45c29ee1d82ec8964a6bb",
      "tree": "2717d2b8afd4a7759e1128e96719b57d718ed264",
      "parents": [
        "f0b2293eb7116d88b6772904221d15f68e5ad1ae"
      ],
      "author": {
        "name": "YangJie",
        "email": "yangjie01@baidu.com",
        "time": "Mon Nov 23 01:01:18 2026 -0500"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 14:01:18 2026 +0800"
      },
      "message": "[#15182] improvement(spark-connector): Reuse the caller\u0027s Gravitino table when routing a Glue table (#15183)\n\n### What changes were proposed in this pull request?\n\nThe protected hook `BaseCatalog.loadSparkTable(Identifier)` becomes\n`loadSparkTable(Identifier, Table)`. Its callers (`loadTable`,\n`createTable`, `alterTable`, `loadTableForWriting` and the Spark 4.1\nbranch loader in `GravitinoIcebergCatalogSpark41`) pass the Gravitino\ntable they have just loaded, created or altered. `GravitinoGlueCatalog`\nuses that table to choose between the Iceberg and the Hive backend\ninstead of loading it from Gravitino again.\n\n### Why are the changes needed?\n\nOn a Glue catalog, every table load, create, alter and write load ended\nwith an extra load request to the Gravitino server for a table the\nconnector had just loaded, created or altered. Each load makes the\nserver call Glue `GetTable`, and for an Iceberg table also read its\nmetadata file.\n\nFixes #15182\n\n### Does this PR introduce _any_ user-facing change?\n\nNo change for Spark users. Subclasses of `BaseCatalog` that override\n`loadSparkTable(Identifier)` must move to the new signature; the old one\nis no longer called.\n\n### How was this patch tested?\n\n`TestGravitinoGlueCatalog.testLoadTableFetchesGravitinoTableOnce` checks\nthat one `loadTable` sends one Gravitino load request. The routing and\nJDBC tests now pass the table to the hook.\n\nGenerated-by: Claude Opus"
    },
    {
      "commit": "f0b2293eb7116d88b6772904221d15f68e5ad1ae",
      "tree": "9035dbe2fd9ce936143fb44ac45cdd8a4454f779",
      "parents": [
        "026a6f7dd314962aa28865af82d864443b53bb4a"
      ],
      "author": {
        "name": "YangJie",
        "email": "yangjie01@baidu.com",
        "time": "Mon Nov 23 01:00:42 2026 -0500"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 14:00:42 2026 +0800"
      },
      "message": "[#15180] fix(spark-connector): Report a denied Hive view as denied instead of not found (#15181)\n\n### What changes were proposed in this pull request?\n\n`BaseCatalog.loadViewAsTable`, the view fallback of `loadTable`, no\nlonger turns a `ForbiddenException` into `NoSuchTableException` in\ncatalogs that read views. It returns the same `AuthorizationTable`\nplaceholder a denied table gets, with `SELECT_VIEW` as the required\nprivilege, so `RequiredPrivilegesCheck` reports it during analysis.\n\nA new protected hook, `supportsSparkViews()`, is false by default and\ntrue in `GravitinoHiveCatalog`, the only catalog that overrides\n`createSparkView`. Other catalogs keep reporting a denied view lookup as\nnot found: when the server catalog has no view support (JDBC, Glue), the\nserver answers 403 for names that do not exist too.\n\n### Why are the changes needed?\n\nA user who could not read an existing Hive view got\n`TABLE_OR_VIEW_NOT_FOUND`, while a denied table in the same `loadTable`\nreported the missing privilege.\n\nFixes #15180\n\n### Does this PR introduce _any_ user-facing change?\n\nYes. On a Hive catalog, selecting a view the user may not read fails\nwith `Missing required privileges for Spark tables:\n[\u003ccatalog\u003e.\u003cdb\u003e.\u003cview\u003e: SELECT_VIEW]` instead of\n`TABLE_OR_VIEW_NOT_FOUND`.\n\nThis reaches users who pass the server\u0027s table probe on the view name\n(`SELECT_TABLE`, `MODIFY_TABLE`, `CREATE_TABLE`, `CREATE_VIEW` or\n`PROBE_TABLE_LIKE` at schema level or above, or an owner). A user with\nonly `SELECT_VIEW` is still denied by the table load first and told\n`SELECT_TABLE`, as on main. I\u0027d like to hear your view on handling that\nin a follow-up.\n\n### How was this patch tested?\n\n- `testDeniedViewSurfacesAuthorizationPlaceholder`: in a catalog that\nreads views, a denied view returns the placeholder with `SELECT_VIEW`,\nkeeps the original failure as the cause, and does not load the\nunderlying Spark table.\n- `testDeniedViewInCatalogWithoutViewsThrowsNoSuchTable`: a catalog\nwithout view support still reports not found.\n- `testHiveCatalogSupportsSparkViews` pins the Hive override.\n`testMissingViewStillThrowsNoSuchTable` (missing view, view lookup\nunsupported) and `testPermittedViewLoadsThroughFallback` guard the other\nbranches.\n\nGenerated-by: Claude Opus"
    },
    {
      "commit": "026a6f7dd314962aa28865af82d864443b53bb4a",
      "tree": "0aa10c0538029d8df2a1f8e71e87cdc6fbf886f2",
      "parents": [
        "fc820ee12c2e2e382b4b624fe2cac4d6aae14c93"
      ],
      "author": {
        "name": "YangJie",
        "email": "yangjie01@baidu.com",
        "time": "Mon Nov 23 01:00:21 2026 -0500"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 14:00:21 2026 +0800"
      },
      "message": "[#15178] fix(spark-connector): Let a session\u0027s own token win over the application\u0027s token file (#15179)\n\n### What changes were proposed in this pull request?\n\nIn `token` auth mode, `GravitinoDriverPlugin.resolveToken` now resolves\nthe active session\u0027s own token before the application\u0027s:\n\n- A token the session sets, through `spark.sql.gravitino.token.file` or\n`spark.sql.gravitino.token.value`, wins over the application\u0027s. Within\none configuration, `token.file` still wins over `token.value`.\n- Spark copies the application\u0027s configuration into every new session,\nso a session value equal to the application\u0027s is treated as inherited.\n- A token file the session sets that reads empty still fails; it does\nnot fall back to the application\u0027s token.\n\nThe Spark connector doc states the new precedence.\n\n### Why are the changes needed?\n\n`resolveToken` took each key from the session if set, otherwise from the\napplication, and checked `token.file` before `token.value`. Every\nsession inherits the application\u0027s `token.file`, so that file beat the\n`token.value` a session set. With an application-level token file, every\nsession presented the application\u0027s token and the per-session identity\nnever took effect.\n\nFixes #15178\n\n### Does this PR introduce _any_ user-facing change?\n\nYes. In `token` mode, a session\u0027s own `token.value` now wins over an\napplication-level `token.file`. A session setting a value equal to the\napplication\u0027s still counts as the application\u0027s, as the doc now says.\n\n### How was this patch tested?\n\n- `testSessionOwnTokenWinsInRealSparkSession` starts a real SparkSession\nwhose application sets a token file. New sessions that set their own\n`token.value` or `token.file` get their own token, and one that sets\nneither gets the application\u0027s. It fails on main.\n- With a mocked session,\n`testSessionTokenValueWinsWhenApplicationSetsBothKeys` covers an\ninherited file plus an own value,\n`testSessionTokenFileWinsOverSessionTokenValue` the order within the\nsession, and `testEmptySessionTokenFileFails` the empty session file.\n\nGenerated-by: Claude Opus"
    },
    {
      "commit": "fc820ee12c2e2e382b4b624fe2cac4d6aae14c93",
      "tree": "88426a3d585a1fe8f31d5b55ce940c22bcf5396e",
      "parents": [
        "79eea049bd4bf7686ece14605a53119f7a2270c8"
      ],
      "author": {
        "name": "Saravanan Kandaswamy",
        "email": "s4ravanank@gmail.com",
        "time": "Sun Nov 22 19:51:56 2026 +0530"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sun Nov 22 22:21:56 2026 +0800"
      },
      "message": "[#13269] improvement(connector): Fail for unknown jdbc-* providers in Spark and improve error messages in Flink and Trino (#13509)\n\n### What changes were proposed in this pull request?\n\n- **Spark Connector**: In `SparkCatalogKind`, replaced the generic\n`startsWith(\"jdbc\")` fallback with an explicit mapping for supported\ngeneric JDBC providers (`jdbc-mysql`, `jdbc-doris`, `jdbc-starrocks`,\n`jdbc-oceanbase`), returning `null` for any unknown `jdbc-*` providers\nso registration fails fast/is skipped instead of silently falling back\nto the generic JDBC catalog.\n- **Flink Connector**: In `GravitinoCatalogStore`, updated the catalog\nfactory matching error to name the provider and mention that it may be\nserved by a separate extension jar.\n- **Trino Connector**: In `DefaultCatalogConnectorFactory`, updated the\nunsupported catalog provider error message to mention that it may be\nserved by a separate extension jar.\n- Added and updated unit tests covering supported and unsupported\nproviders across Spark, Flink, and Trino.\n\n### Why are the changes needed?\n\nPreviously, when no extension served a provider, Spark mapped every\n`jdbc-*` provider (except `jdbc-postgresql`) to generic JDBC catalog by\nprefix match. When a dedicated catalog extension jar was missing,\nproviders like ClickHouse or Hologres registered silently with the\ngeneric MySQL JDBC catalog, resulting in misleading type or DDL errors\ndeep inside Spark. Furthermore, Flink and Trino error messages did not\nmention that the provider might be served by a separate extension jar,\nand Flink omitted the provider name entirely.\n\nFix: #13269\n\n### Does this PR introduce _any_ user-facing change?\n\nYes. Unsupported `jdbc-*` catalogs without an extension will now be\nskipped in Spark rather than silently bound to the generic MySQL JDBC\ncatalog. Error messages in Flink and Trino now provide clearer\ndiagnostic information.\n\n### How was this patch tested?\n\n- Unit tests in `TestSparkCatalogKind` and `TestGravitinoDriverPlugin`\ntested against `:spark-connector:spark-3.5:test` and\n`:spark-connector:spark-4.0:test`.\n- Unit tests in `TestGravitinoCatalogStore` tested against\n`:flink-connector:flink-common:test`.\n- Unit tests in `TestDefaultCatalogConnectorFactory` tested against\n`:trino-connector:trino-connector:test`.\n\n---------\n\nCo-authored-by: diqiu50 \u003cdiqiu50@apache.org\u003e\nCo-authored-by: Kimi \u003cnoreply@moonshot.cn\u003e\nCo-authored-by: Yuhui \u003chui@datastrato.com\u003e\nCo-authored-by: Copilot \u003c223556219+Copilot@users.noreply.github.com\u003e"
    },
    {
      "commit": "79eea049bd4bf7686ece14605a53119f7a2270c8",
      "tree": "63571551593f201e4161b12555924d8e6644fb54",
      "parents": [
        "ea42f44e36089642dec354f0ae1a8d0587406879"
      ],
      "author": {
        "name": "MaSai",
        "email": "30949009+lasdf1234@users.noreply.github.com",
        "time": "Sat Nov 21 11:41:30 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 21 11:41:30 2026 +0800"
      },
      "message": "[#15158] improvement(maintenance): Complete TMS Validation before/after metrics (#15160)\n\n### What changes were proposed in this pull request?\n\nComplete TMS before/after metrics for Validation UI coverage on three\nIceberg maintenance types:\n\n- **Compaction**: emit `custom-small-file-number` from inventory SQL;\nenrich `custom-data-mse-ratio` (`custom-data-file-mse / minDataFileMse`)\nin `IcebergMaintenanceJob` from task rules (threshold is not stored as a\nmetric).\n- **Manifest rewrite**: after rewrite, re-collect inventory\n(`custom-manifest-number`, `custom-avg-manifest-size`) and merge with\n`custom-rewritten-manifest-number`.\n- **Snapshot expiry**: after expire, also emit measured\n`custom-snapshot-number` from the post-run table sample.\n\n### Why are the changes needed?\n\nValidation Before / After / Change columns were incomplete for these job\ntypes. Fixes #15158.\n\n### Does this PR introduce _any_ user-facing change?\n\n- New metric keys: `custom-small-file-number`, `custom-data-mse-ratio`\n(compaction S0/S1).\n- Manifest after and expiry after payloads gain inventory fields already\nused on before samples.\n\n### How was this patch tested?\n\n- `./gradlew :maintenance:jobs:test --tests\n\u0027org.apache.gravitino.maintenance.jobs.iceberg.TestIcebergRewriteDataFilesJob\u0027\n--tests\n\u0027org.apache.gravitino.maintenance.jobs.iceberg.TestIcebergMaintenanceJob\u0027\n--tests\n\u0027org.apache.gravitino.maintenance.jobs.iceberg.TestIcebergExpireSnapshotsJob\u0027\n--tests\n\u0027org.apache.gravitino.maintenance.jobs.iceberg.TestIcebergRewriteManifestsJob\u0027\n-PskipITs -PskipDockerTests\u003dtrue`\n\n---------\n\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e"
    },
    {
      "commit": "ea42f44e36089642dec354f0ae1a8d0587406879",
      "tree": "e003b4ab588d0eda661d2018274d78535088d3d1",
      "parents": [
        "b295166f6140eb3cabdb94e5679afdec9d8a0a7e"
      ],
      "author": {
        "name": "COLDMANYU",
        "email": "46128522+COLDMANYU@users.noreply.github.com",
        "time": "Fri Nov 20 19:05:52 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 20 19:05:52 2026 +0800"
      },
      "message": "[#14931] feat(spark-connector): Create Paimon format tables through the Hive backend (#14932)\n\n### What changes were proposed in this pull request?\n\n- `GravitinoPaimonCatalog` overrides `createGravitinoTable`. When the\ncatalog uses the Hive backend, the Spark properties go through the new\n`PaimonPropertiesConverter#toHiveBackendTableProperties` first:\n- a file format provider (`USING csv`, `json`, `orc`, `parquet`, `text`,\n...) becomes `type\u003dformat-table` and `file.format\u003d\u003cformat\u003e`;\n  - `USING paimon` or no `USING` clause keeps a Paimon table;\n- `location` becomes Paimon\u0027s `path`, and Spark\u0027s `external` flag is\ndropped, because Paimon decides that from the path.\n- Other backends keep today\u0027s behavior.\n- `SparkCommonIT#testCreateDatasourceFormatPartitionTable` becomes\n`protected` so the Hive backend IT can override it.\n\n### Why are the changes needed?\n\nWithout it, `CREATE TABLE ... USING csv` through Gravitino on the Hive\nbackend creates a Paimon table and ignores `LOCATION`, while the same\nstatement through Paimon\u0027s `SparkCatalog` creates a CSV format table at\nthat location.\n\nFixes #14931\n\n### Does this PR introduce _any_ user-facing change?\n\nOn the Hive backend, `CREATE TABLE ... USING \u003cfile format\u003e` creates a\nPaimon format table, and `LOCATION` sets its path. Before, it created a\nPaimon table. Other backends are unchanged.\n\n### How was this patch tested?\n\n- Unit tests in `TestPaimonPropertiesConverter` for the conversion, and\nthat other backends keep the provider unchanged.\n- In `SparkPaimonCatalogHiveBackendIT35`:\n- `testCreateFormatTable`: creates a partitioned CSV table with\n`LOCATION` through Gravitino, checks `type` and `file.format` through a\nPaimon `SparkCatalog` on the same metastore, checks the partition\ndirectory, and reads the data through both catalogs.\n  - `testCreateTableUsingPaimonIsNotAFormatTable`.\n- `testCreateDatasourceFormatPartitionTable` is overridden: with the\nHive backend `USING PARQUET` creates a parquet format table, which Spark\nreports without its database, so the common checks on the Spark table do\nnot apply. The override checks the Paimon table type and reads the data\nback.\n- Without the change, `testCreateFormatTable` and\n`testCreateDatasourceFormatPartitionTable` fail with `expected:\n\u003cformat-table\u003e but was: \u003cnull\u003e`.\n- `SparkPaimonCatalogHiveBackendIT35` 42 tests and\n`SparkPaimonCatalogFilesystemBackendIT35` 39 tests pass (5 skipped\neach). On the filesystem backend the common\n`testCreateDatasourceFormatPartitionTable` still passes, which covers\nthe unchanged behavior."
    },
    {
      "commit": "b295166f6140eb3cabdb94e5679afdec9d8a0a7e",
      "tree": "04732e74b9b427278248c9dfff6c3447c301c25a",
      "parents": [
        "1dcedde7f39dbb497e1078e1b89ddffb9c403a21"
      ],
      "author": {
        "name": "Qi Yu",
        "email": "yuqi4733@gmail.com",
        "time": "Fri Nov 20 18:38:04 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 20 18:38:04 2026 +0800"
      },
      "message": "[MINOR] fix(spark): Limit integration test cleanup to suite-owned databases (#15159)\n\n### What changes were proposed in this pull request?\n\nGive each Spark integration test suite unique database names and\nrestrict teardown to the databases registered by that suite.\n\n### Why are the changes needed?\n\nOn the [MySQL deploy\njob](https://github.com/danhuawang/gravitino/actions/runs/44551482283/job/136098605123),\nteardown attempted to drop `MYSQL_JDBC_BACKEND.table_meta`, causing\nsubsequent metadata queries to fail. Other suites sharing the same\ncatalog could also lose their tables.\n\n### Does this PR introduce _any_ user-facing change?\n\nNo. The changes are limited to integration tests.\n\n### How was this patch tested?\n\n`TestSparkCommonITCleanup` passed on Spark 3.5, 4.0, and 4.1. It\nverifies the exact SQL issued when the catalog contains the metadata\ndatabase and another suite’s database. The full MySQL deploy job\nrequires Docker and was not run locally."
    },
    {
      "commit": "1dcedde7f39dbb497e1078e1b89ddffb9c403a21",
      "tree": "7bff9744eff24e6a85aad1747de1e6fc6533f79b",
      "parents": [
        "2dfb3da3db58ec468115e2139627b834828f07d5"
      ],
      "author": {
        "name": "Abhijeet Singh",
        "email": "abhijeet.singh1997@gmail.com",
        "time": "Fri Nov 20 13:09:42 2026 +0530"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 20 15:39:42 2026 +0800"
      },
      "message": "[#13909][#13910] feat: add tag-based access policy resolution and matching (#14364)\n\n### What changes were proposed in this pull request?\n\nImplements M3.1 and M3.2 of tag-based access control:\n\n- Add request-aware overloads to EffectiveTagResolver and\nObjectPolicyResolver. The nearest tag assignment wins, so a table’s\ndirect assignment can override an inherited value. The object resolver\nevaluates policy selectors against those effective tags and returns the\nmatching enabled access-control policies, deduplicated by policy ID.\n- Cache direct tag reads and matched policies within each request.\nChecks on sibling objects can reuse reads for shared ancestors, and\nrepeated privilege checks on the same object can reuse its matched\npolicies.\n- Add a TagPolicyMatcher that checks the requested privilege and the\ncaller’s active roles against the resolved policies in policy-ID order.\nIt returns the first matching PolicyEntity, or an empty result.\n- Reject a stored JSON null selector while preserving the existing\nALL_VALUES behavior for SQL NULL.\n\n### Why are the changes needed?\nTag-based authorization needs a shared way to determine which policies\napply to an object and whether any of them grants the requested\nprivilege. The follow-up enforcement PR uses this logic alongside RBAC.\n\nFixes #13909 #13910\n\n\n### Does this PR introduce _any_ user-facing change?\nNo new REST/client APIs, configuration keys, or database schema changes.\n\n### How was this patch tested?\n\nThrough unit tests\n```\n./gradlew :core:coreUnitTest :common:test :core:spotlessCheck :common:spotlessCheck -PskipITs\n```\n\n---------\n\nCo-authored-by: Abhijeet Singh \u003cabhijeetsingh@roku.com\u003e\nCo-authored-by: roryqi \u003croryqi@datastrato.com\u003e"
    },
    {
      "commit": "2dfb3da3db58ec468115e2139627b834828f07d5",
      "tree": "e4df16b6f05478d7f5d84ba9f239b3142e5b1408",
      "parents": [
        "795c0fa78ebfe5ceb1ba5a3aea0d519eaaf22bd9"
      ],
      "author": {
        "name": "Bharath Krishna",
        "email": "bmurali@roku.com",
        "time": "Thu Nov 19 22:46:47 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 20 14:46:47 2026 +0800"
      },
      "message": "[MINOR] fix(jdbc): Bind the database name in schema existence checks (#15037)\n\n### What changes were proposed in this pull request?\n\nRun the database existence query in `JdbcDatabaseOperations#exist` as a\n`PreparedStatement` with the database name bound as a parameter. The\nPostgreSQL, Hologres and ClickHouse overrides now return parameterized\nqueries too.\n\n### Why are the changes needed?\n\nBind the name instead of formatting it into the SQL string, and drop the\nper-dialect quoting code.\n\n### Does this PR introduce _any_ user-facing change?\n\nNo change for users. For JDBC catalog implementations that extend\n`JdbcDatabaseOperations`: `generateDatabaseExistSql(String)` is replaced\nby `generateDatabaseExistSql()`, which must return a query with exactly\none bind parameter for the database name. Custom dialects that overrode\nthe old method need to override the new one.\n\n### How was this patch tested?\n\nAdded a unit test in `TestJdbcDatabaseOperations` that checks the name\nis bound and that `exist()` returns the query result, and updated the\nClickHouse and PostgreSQL SQL-generation tests.\n\n---------\n\nCo-authored-by: Jerry Shao \u003cjerryshao@datastrato.com\u003e\nCo-authored-by: Qi Yu \u003cyuqi4733@gmail.com\u003e"
    },
    {
      "commit": "795c0fa78ebfe5ceb1ba5a3aea0d519eaaf22bd9",
      "tree": "cc17f5d5ce264dc58c94e908eace2beb0f09a258",
      "parents": [
        "dfd2231984a62f92d9490d08f262409da3bd94ec"
      ],
      "author": {
        "name": "Danhua Wang",
        "email": "danhua@datastrato.com",
        "time": "Fri Nov 20 14:18:16 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 20 14:18:16 2026 +0800"
      },
      "message": "[#11696] improvement(helm): Configurable init-postgresql for external PostgreSQL (#14941)\n\n### What changes were proposed in this pull request?\n\n- Add `postgresql.init.host`, `postgresql.init.existingSecret`, and\n`postgresql.init.existingSecretPasswordKey` so the `init-postgresql`\ncontainer can target non-Bitnami hosts and password Secrets (for example\nCloudNativePG).\n- Render `init-postgresql` when the entity store uses an external\n`jdbc:postgresql:` URL (`postgresql.enabled\u003dfalse`), not only when the\nin-chart Bitnami subchart is enabled.\n- Centralize connection settings in helpers; use the same host in all\n`psql` calls and in the init container `secretKeyRef`.\n- Fail at template render when external PostgreSQL is configured but\nrequired `postgresql.init.*` values are missing.\n\n### Why are the changes needed?\n\nThe init container previously hardcoded `{{ .Release.Name }}-postgresql`\nfor both the `psql -h` host and the password Secret, and only rendered\nwhen `postgresql.enabled` was true. That breaks external PostgreSQL /\nCNPG setups described in #11696 (and made the earlier #11697 override\nineffective when `postgresql.enabled\u003dfalse`).\n\nFixes #11696\n\n### Does this PR introduce _any_ user-facing change?\n\nYes. New optional values under `postgresql.init` in\n`dev/charts/gravitino/values.yaml`. Default Bitnami\n(`postgresql.enabled\u003dtrue`) behavior is unchanged when `postgresql.init`\nis empty.\n\n### How was this patch tested?\n\n```bash\ncd dev/charts/gravitino \u0026\u0026 helm unittest .\n```\n\nAll 46 chart unit tests pass, including new cases for default Bitnami\nsecret/host, custom `postgresql.init` overrides, external PostgreSQL\nentity store, and negative render failures.\n\nMade with [Cursor](https://cursor.com)\n\n---------\n\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e\nCo-authored-by: yuqi \u003cyuqi@datastrato.com\u003e"
    },
    {
      "commit": "dfd2231984a62f92d9490d08f262409da3bd94ec",
      "tree": "63ac23ed0cf96592741d5dca866055f4875296a5",
      "parents": [
        "18de8fcc3d4ca97a951d8c985c4894b57fd59cd0"
      ],
      "author": {
        "name": "Jerry Shao",
        "email": "jerryshao@datastrato.com",
        "time": "Fri Nov 20 14:03:20 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 20 14:03:20 2026 +0800"
      },
      "message": "[#15114] feat(core): Only allow deleting draft domains (#15115)\n\n### What changes were proposed in this pull request?\n\nOnly a draft domain can be deleted.\n\n- `DomainManager.deleteDomain` checks the status of the locked domain\nrow (`checkDelete`) and rejects a published domain with\n`IllegalArgumentException`: \"Domain X cannot be deleted while it is\npublished, unpublish it first\". The check runs in the same transaction\nand row lock as the existing sub-domain check, before it, so a published\ndomain with sub-domains fails with the status error.\n- The REST layer maps it to HTTP 400, like the publish/unpublish/attach\nstatus rules. No new exception type.\n- Javadoc of `DomainOperations.deleteDomain` (API) and\n`DomainDispatcher.deleteDomain`, the Python client docstrings, the\nOpenAPI spec (`domains.yaml`) and `manage-domains-in-gravitino.md`\ndescribe the rule; the complete Java/Python examples unpublish before\ndeleting.\n- Java and Python ITs that deleted published domains now unpublish them\nfirst, and check the rejection.\n\n### Why are the changes needed?\n\nA published domain could be deleted in one step, while the other status\nrules already protect published domains (a domain with published\nsub-domains cannot be unpublished, a sub-domain is published only under\na published parent). Enforcing it on the server keeps the REST API,\nclients and UI consistent.\n\nFixes #15114\n\n### Does this PR introduce _any_ user-facing change?\n\nYes, for the unreleased 2.0.0 domain API: deleting a published domain\nnow fails with HTTP 400 / `IllegalArgumentException`; unpublish it\nfirst. Deleting a draft domain is unchanged; a draft with sub-domains\nstill fails with HTTP 409 / `NonEmptyDomainException`.\n\n### How was this patch tested?\n\n- `TestDomainManager.testDeleteChecksStatus`: published delete rejected\nand the domain kept, status checked before sub-domains, delete succeeds\nafter unpublish.\n- `TestDomainOperations.testDeletePublishedDomain` (server): HTTP 400\nwith `IllegalArgumentException`.\n- Updated `DomainIT`, `DomainAuthorizationIT` and the Python domain ITs.\n- `./gradlew :core:test --tests \u0027*Domain*\u0027 :server:test --tests\n\u0027*Domain*\u0027 :clients:client-java:test --tests\n\u0027org.apache.gravitino.client.TestDomain*\u0027 :docs:build -PskipITs`\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\n---------\n\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\nCo-authored-by: Qi Yu \u003cyuqi4733@gmail.com\u003e"
    },
    {
      "commit": "18de8fcc3d4ca97a951d8c985c4894b57fd59cd0",
      "tree": "e6adba9cd140f81b3b830a5a37fe19f37e79a3f7",
      "parents": [
        "441ced84c0c51347e41159a91196ceaf7d73bbac"
      ],
      "author": {
        "name": "Bharath Krishna",
        "email": "bmurali@roku.com",
        "time": "Thu Nov 19 19:38:28 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 20 11:38:28 2026 +0800"
      },
      "message": "[#15143] feat(web-v2): Add the MCP gateway pages to the web UI (#15108)\n\n### What changes were proposed in this pull request?\n\nAdds an **MCP** section to web-v2 for the [Apache Gravitino MCP\nGateway](https://github.com/apache/gravitino-mcp-gateway), which\ncontrols who may use which MCP servers and keeps an audit log of their\ncalls:\n\n- **My Servers**: the gateway\u0027s MCP servers, each person\u0027s access to\neach, and the URL MCP clients use. People ask for access here, and\nconnect to servers that have their own sign-in.\n- **Manage Servers** (gateway admins): register, edit, deactivate and\ndelete MCP servers.\n- **Access Requests** (gateway admins): approve or deny requests, and\nrevoke granted access.\n- **Audit Log**: a person\u0027s own calls, or everyone\u0027s for gateway admins,\nwith filters, details and CSV export.\n- **Service Accounts** (gateway admins): register workloads that call\nMCP servers with their GKE, GCE or EKS identity.\n\nThe section appears only when `gravitino.mcpGateway.uri` is set and\nlisted in `gravitino.server.visibleConfigs`, and the web UI signs in\nwith OIDC. The server needs no change: the existing `/configs` endpoint\nalready serves any key that `visibleConfigs` lists. The pages call the\ngateway\u0027s REST API from the browser with the person\u0027s Gravitino sign-in.\n`docs/webui-v2.md` describes the pages and the setup on both sides.\n\n### Why are the changes needed?\n\nThe MCP gateway, in its own repository, has a REST API and a CLI but no\nUI. These pages let people and admins use it from Gravitino\u0027s web UI.\n\nFix: #15143\n\n### Does this PR introduce _any_ user-facing change?\n\nA new **MCP** section in web-v2, hidden unless\n`gravitino.mcpGateway.uri` is configured as above.\n\n### How was this patch tested?\n\n- New unit tests for the gateway API client and the pages\u0027 helpers.\n`pnpm lint`, `pnpm prettier` and the production build pass.\n- Manually, against a local gateway, Keycloak and Gravitino 1.3.1:\n- as an admin: registered, edited and deleted a server, registered a\nservice account, and read the audit log and its details;\n- as a user: saw only My Servers and the Audit Log, and requested\naccess;\n- as the admin again: approved the request with an expiry, then revoked\nit.\n- with the gateway stopped: the section shows the error and a Retry\nbutton. Once the gateway restarts, Retry loads the pages.\n\n  The gateway answered every call without an error.\n\nTo try it:\n\n```bash\n# The gateway, with Keycloak, Gravitino and Gravitino\u0027s MCP server\ngit clone https://github.com/apache/gravitino-mcp-gateway \u0026\u0026 cd gravitino-mcp-gateway\ndocker compose -f dev/keycloak/docker-compose.yaml up -d\n# Set the variables from the README\u0027s \"Try it with Keycloak\", plus:\nexport CORS_ALLOWED_ORIGINS\u003dhttp://localhost:3000\nuv sync \u0026\u0026 uv run uvicorn mcp_gateway.main:app --port 8000\n\n# This PR\u0027s web UI; sign in as alice (an admin) or bob, whose passwords are their names\ncd web-v2/web \u0026\u0026 pnpm install \u0026\u0026 pnpm dev\n```"
    },
    {
      "commit": "441ced84c0c51347e41159a91196ceaf7d73bbac",
      "tree": "b8b11edd28a50e89c30c773f16ec1f29656e81f3",
      "parents": [
        "495e1e3dbd3c0bf44cc0bb7874f8c9517c9fa6a3"
      ],
      "author": {
        "name": "Danhua Wang",
        "email": "danhua@datastrato.com",
        "time": "Fri Nov 20 11:27:02 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 20 11:27:02 2026 +0800"
      },
      "message": "[MINOR] feat(docker): write OCI image source labels (#13611)\n\n### What changes were proposed in this pull request?\n\nAdd generic OCI labels when `dev/docker/build-docker.sh` builds images:\n\n- `org.opencontainers.image.version` (from `OCI_IMAGE_VERSION`, or the\nimage tag)\n- `org.opencontainers.image.revision` (from `OCI_IMAGE_REVISION`, or\nthis checkout\u0027s HEAD)\n- `org.opencontainers.image.source` (from `OCI_IMAGE_SOURCE`, default\n`https://github.com/apache/gravitino`)\n\nLabels are omitted if version or revision is empty.\n\n### Why are the changes needed?\n\nPublished images should point at the commit they were built from so\nlicense lists and vulnerability triage can recover the exact source.\n\n### Does this PR introduce _any_ user-facing change?\n\nNo API or property-key change. Images built by this script may include\nthe OCI labels above.\n\n### How was this patch tested?\n\nInspected the `docker buildx build` invocations and the default/override\npaths for the three `OCI_IMAGE_*` variables.\n\nMade with [Cursor](https://cursor.com)\n\n---------\n\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e"
    },
    {
      "commit": "495e1e3dbd3c0bf44cc0bb7874f8c9517c9fa6a3",
      "tree": "5f379e28c59ad73ac4b4de32cf67a971821a6705",
      "parents": [
        "a1035fd5d0f3933d224597bfaadead0078ff6ab1"
      ],
      "author": {
        "name": "YangJie",
        "email": "yangjie01@baidu.com",
        "time": "Thu Nov 19 22:09:00 2026 -0500"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 20 11:09:00 2026 +0800"
      },
      "message": "[#13832] improvement(authz): short-circuit list authorization for views, functions, filesets, topics and semantic models (#13833)\n\n### What changes were proposed in this pull request?\n\nAdd parent-scope list short-circuits to\n`MetadataAuthzHelper.LIST_SHORT_CIRCUITS` for `VIEW`, `FUNCTION`,\n`FILESET`, `TOPIC` and `SEMANTIC_MODEL`, matching their filter\nexpressions:\n\n- `VIEW`: owner, `SELECT_VIEW`\n- `FUNCTION`: owner, `EXECUTE_FUNCTION`, `MODIFY_FUNCTION`\n- `FILESET`: owner, `READ_FILESET`, `WRITE_FILESET`\n- `TOPIC`: owner, `CONSUME_TOPIC`, `PRODUCE_TOPIC`\n- `SEMANTIC_MODEL`: owner, `USE_SEMANTIC_MODEL`, `MODIFY_SEMANTIC_MODEL`\n\nEach privilege path is scoped to the metalake, catalog and schema and\ntracks its own deny privilege, as the existing entries do, so a possible\ndeny still falls back to per-object checks. The map now has 13 entries,\nmore than `Map.of` accepts, so it is built with `Map.ofEntries`; the\nexisting entries are unchanged.\n\n### Why are the changes needed?\n\n#11778 and #13300 added list short-circuits for tables, models and job\ntemplates; views, functions, filesets, topics and semantic models still\nhave none. Without an entry, each listed object goes through the\nper-object filter. For an owner of the metalake, catalog or schema this\nis cheap, since the ancestor owner check is served from the per-request\ncache. A caller who holds only a parent-scope privilege still pays, per\nobject, an owner lookup (metadata id and owner, a store read on cache\nmiss) and a deny check, and listing filesets or topics also batch-loads\nevery listed entity first.\n\nMeasured against a local server with 1,000 objects in one schema and a\nuser holding only schema-level `EXECUTE_FUNCTION` / `READ_FILESET`, a\nwarm list went from about 170-220 ms to about 20 ms for both functions\nand filesets.\n\nFix: #13832\n\n### Does this PR introduce _any_ user-facing change?\n\nNo. List results are unchanged; only the evaluation path differs.\n\n### How was this patch tested?\n\nNew tests in `TestMetadataAuthzHelper`, one pair per type: a\nschema-level grant returns every object without per-object checks (for\nfilesets and topics, also without touching the entity store), and a\npossible deny falls back to per-object checks while the short-circuit\nqueries exactly that path\u0027s deny privilege. The deny tests use each\nentry\u0027s second privilege where it has one, so every privilege path is\ncovered by a test. All ten fail against the code before this change.\n\nThe latency numbers above come from a local benchmark that is not part\nof this PR.\n\n---------\n\nCo-authored-by: Jerry Shao \u003cjerryshao@datastrato.com\u003e\nCo-authored-by: Qi Yu \u003cyuqi4733@gmail.com\u003e"
    },
    {
      "commit": "a1035fd5d0f3933d224597bfaadead0078ff6ab1",
      "tree": "2a853aba454410ec631c22e4319b8129468dc0d6",
      "parents": [
        "f96b61d750997d4a7a513f66f534546683353d5e"
      ],
      "author": {
        "name": "Bharath Krishna",
        "email": "bmurali@roku.com",
        "time": "Thu Nov 19 18:47:02 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 20 10:47:02 2026 +0800"
      },
      "message": "[MINOR] test(web-v2): Restore the refreshToken test\u0027s imports (#15144)\n\n### What changes were proposed in this pull request?\n\nRestores, in `web-v2/web/src/lib/store/auth/index.test.js`, the imports\nof `configureStore`, `loginApi` and `refreshToken`, and the mock of\n`@/lib/api/auth` that makes `loginApi` a mock.\n\n### Why are the changes needed?\n\n#12933 rewrote the file\u0027s header after #13380 had added the\n`refreshToken` test, and dropped what that test needs, so it fails on\n`main` with `ReferenceError: loginApi is not defined`. The Web UI Tests\nworkflow covers `web/web` only, so CI didn\u0027t catch it.\n\n### Does this PR introduce _any_ user-facing change?\n\nNo.\n\n### How was this patch tested?\n\nFrom `web-v2/web` on `main`: the test fails before the change and passes\nafter it. All 396 tests pass, and ESLint and Prettier pass."
    },
    {
      "commit": "f96b61d750997d4a7a513f66f534546683353d5e",
      "tree": "65ab4aa6db02ecac0919f8e6332a3720766afa09",
      "parents": [
        "98c65decb42dd00e9bfebdc77edc90fba59b18d0"
      ],
      "author": {
        "name": "MaSai",
        "email": "30949009+lasdf1234@users.noreply.github.com",
        "time": "Fri Nov 20 10:20:13 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 20 10:20:13 2026 +0800"
      },
      "message": "[#15102] fix(tms): Carry per-task params/rules and run snapshot batch as one Spark job (#15103)\n\n### What changes were proposed in this pull request?\n\n- Replace flat TMS maintenance jobConf (`maintenance_types` /\n`policy_ids` / scattered procedure flags) with a unified `tasks[]`\npayload: each task carries `params` (CALL) and `rules` (gate, including\n`trigger-expr`).\n- Cron and commit both build/submit via `jobConfForSpec`.\n- Snapshot-expiry batch: claim all soft slots, then **one**\n`submitAndBind` / one Spark job over all tables (per-task `older_than` /\n`retain_last` preserved).\n- `IcebergMaintenanceJob` template stays at **v1**;\n`MaintenanceJobManager` injects `action_id` onto each task.\n\n### Why are the changes needed?\n\nFlat first-wins merging loses distinct procedure params when commit\nchains or cross-policy expire batches share one jobConf. Batch submit\nalso incorrectly fanned out to one Spark job per table.\n\nFixes #15102\n\n### Does this PR introduce _any_ user-facing change?\n\n- Yes: `builtin-iceberg-maintenance-task` jobConf now requires `tasks`\nJSON. Automated TMS submit paths are updated; direct callers of the old\nflat keys need to migrate. Template version remains `v1`.\n\n### How was this patch tested?\n\n- `./gradlew :maintenance:jobs:test` focused tests\n(`TestIcebergMaintenanceJob`, `TestMaintenanceTriggerGate`,\n`TestBuiltInJobTemplateProvider`)\n- `./gradlew :plugins:maintenance:test` focused tests\n(`TestMaintenanceJobSpecFactory`, commit/cron submit pipeline + spec\nfactory tests)\n\n\nMade with [Cursor](https://cursor.com)\n\n---------\n\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e"
    },
    {
      "commit": "98c65decb42dd00e9bfebdc77edc90fba59b18d0",
      "tree": "3f8b33b12f01419586528119cfb39b41be51fce1",
      "parents": [
        "dda06d59e033eca3789a9887689af932bfe15bba"
      ],
      "author": {
        "name": "Shabbir Hussain",
        "email": "72.shabbir@gmail.com",
        "time": "Thu Nov 19 05:00:20 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 21:00:20 2026 +0800"
      },
      "message": "[#14837] fix(spark): Reject stale JDBC catalog settings (#15006)\n\n### What changes were proposed in this pull request?\n\nCheck the current Gravitino JDBC catalog when Spark initializes a\nsession, resolves a table, builds a scan or write, accesses table\nindexes, or starts CREATE TABLE or ALTER TABLE. Restart the session if\nthe effective URL, user, password, or catalog creation time changes.\n\nA retained DataFrame is checked when Spark builds its scan.\nAlready-built physical plans and writers can continue with their\noriginal settings. The metadata check and source operation are separate\nrequests, so concurrent catalog changes can occur between them.\n\n### Why are the changes needed?\n\nSpark\u0027s `JDBCTableCatalog` retains its connection settings after\ninitialization. After a Gravitino JDBC catalog is altered, or dropped\nand recreated with the same name, an open Spark session could silently\nkeep reading from or writing to the old source.\n\nThe connector now fails with a clear instruction to restart the Spark\nsession instead of using stale connection settings.\n\nFixes #14837\n\n### Does this PR introduce _any_ user-facing change?\n\nYes. Spark reports that the session must restart when it detects a\nchanged catalog at one of these checks. New sessions initialize with\ncurrent metadata even if another session cached the old catalog.\n\n### How was this patch tested?\n\n- Ran the full Spark 3.5 JDBC unit-test package:\n\n  ```shell\n  ./gradlew :spark-connector:spark-3.5:test \\\n    --tests \u0027org.apache.gravitino.spark.connector.jdbc.*\u0027 \\\n    -PskipITs -PskipDockerTests\u003dtrue --no-daemon --console\u003dplain\n  ```\n\n  Result: passed.\n\n- Ran the Docker-backed Spark 3.5 MySQL JDBC integration test:\n\n  ```shell\n  SKIP_DOCKER_TESTS\u003dfalse ./gradlew :spark-connector:spark-3.5:test \\\n--tests\norg.apache.gravitino.spark.connector.integration.test.jdbc.SparkJdbcMysqlCatalogIT35\n\\\n    --no-daemon --console\u003dplain\n  ```\n\n  Result: passed.\n\nFollow-up verification covered Spark 3.5 and 4.0 JDBC, catalog manager,\nbase catalog, and client eviction unit tests, including H2 reads from\nretained DataFrames, DDL mutation ordering, credential fetch counts, and\nnew-session initialization with a primed cache.\n\n---------\n\nCo-authored-by: Qi Yu \u003cyuqi4733@gmail.com\u003e\nCo-authored-by: yuqi \u003cyuqi@datastrato.com\u003e"
    },
    {
      "commit": "dda06d59e033eca3789a9887689af932bfe15bba",
      "tree": "b0ae0ca1cad138757a6dec530e4de32bdc398b99",
      "parents": [
        "5828967b30cdd6c51ac765cf05fb3dacd3826d8f"
      ],
      "author": {
        "name": "MaSai",
        "email": "30949009+lasdf1234@users.noreply.github.com",
        "time": "Thu Nov 19 20:24:08 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 20:24:08 2026 +0800"
      },
      "message": "[#15135] fix(maintenance): Use lexical-only orphan location validation (#15136)\n\n### What changes were proposed in this pull request?\n\n- Remove `RemoteLocationValidator` and local NIO symlink walking from\n`IcebergRemoveOrphanFilesJob`.\n- Keep only `OrphanFileLocationUtils` lexical containment before\n`remove_orphan_files`.\n- Update design doc / javadoc to match Iceberg\u0027s stance that POSIX\nsymlinks are not part of the orphan-cleanup contract.\n\n### Why are the changes needed?\n\n`RemoteLocationValidator` always called `Path.getFileSystem(conf)` for\nnon-`file` locations. Object-store tables (e.g. `s3://`) that use\nIceberg FileIO without a Hadoop FS failed with\n`UnsupportedFileSystemException` before the procedure ran.\n\nIceberg maintainers have noted that HDFS symlink support is incomplete\nand object stores have no symlinks; DeleteOrphanFiles does not rely on\nsymlink walking. Lexical table-prefix checks are the durable guard\nagainst scanning outside the table root.\n\nFixes #15135\n\n### Does this PR introduce _any_ user-facing change?\n\nNo API change. Built-in remove-orphan-files jobs no longer fail on\nobject-store schemes solely due to missing Hadoop `FileSystem`\nimplementations. Symlink paths under a table root are no longer rejected\nup front (aligned with Iceberg).\n\n### How was this patch tested?\n\n- `./gradlew :maintenance:jobs:test --tests\norg.apache.gravitino.maintenance.jobs.iceberg.TestIcebergRemoveOrphanFilesJob\n--tests\norg.apache.gravitino.maintenance.jobs.iceberg.TestIcebergRemoveOrphanFilesJobMain\n--tests\norg.apache.gravitino.maintenance.jobs.iceberg.TestIcebergRemoveOrphanFilesJobWithSpark\n-PskipITs -PskipDockerTests\u003dtrue`\n\n---------\n\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e"
    },
    {
      "commit": "5828967b30cdd6c51ac765cf05fb3dacd3826d8f",
      "tree": "d92697cff9b98670b7e315c2f792bcd9a8897d87",
      "parents": [
        "6e1c79b551e024684e5c944186cdc02d458846b2"
      ],
      "author": {
        "name": "Qi Yu",
        "email": "yuqi4733@gmail.com",
        "time": "Thu Nov 19 19:32:58 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 19:32:58 2026 +0800"
      },
      "message": "[MINOR] build: Allow longer backoff for rate-limited Gradle dependency resolution (#15125)\n\n### What changes were proposed in this pull request?\n\nConfigure Gradle to make up to five dependency resolution attempts, with\nbackoff intervals of 5, 10, 20, and 40 seconds.\n\n### Why are the changes needed?\n\nMaven Central can return HTTP 429 while Gradle resolves the Foojay\nsettings plugin’s Gson dependency. Gradle 8.2 exhausts its default\nretries after about three seconds, causing CI to fail before any build\ntasks run.\n\n### Does this PR introduce any user-facing change?\n\nLocal and CI builds can wait up to 75 seconds between the first and last\nattempts when a dependency repository keeps rate-limiting requests.\n\n### How was this patch tested?\n\nRan Gradle 8.2 with Foojay 0.7.0 and Gson 2.9.1 against a local Maven\nrepository. The build recovered on the fourth request after three HTTP\n429 responses. Persistent 429s stopped after five attempts, and a 404\nmade one request."
    },
    {
      "commit": "6e1c79b551e024684e5c944186cdc02d458846b2",
      "tree": "3d23cb00f8baf53025620780c93de19257968554",
      "parents": [
        "7d96ddcfdec014ec040b07ecb555a7e9af3898fd"
      ],
      "author": {
        "name": "Thunderkeg",
        "email": "jiangxt2@vip.qq.com",
        "time": "Thu Nov 19 19:09:43 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 19:09:43 2026 +0800"
      },
      "message": "[#14395] feat(client-python): add uv development workflow (#14403)\n\n### What changes were proposed in this pull request?\n\nAdd an optional uv development workflow with a committed lockfile,\nsetuptools metadata bridging, requirement/README cache inputs and\npackage metadata assertions. Add a standalone lightweight check for lock\nconsistency, metadata equivalence and cache invalidation, and document\nsetup and verification commands. Keep dependency declarations in\nsetup.py and the existing requirement files.\n\n### Why are the changes needed?\n\nProvide reproducible developer environments while preserving the\nexisting package installation contract. Include dynamically read files\nin cache invalidation and make the associated metadata/cache checks\nrepeatable from the repository.\n\nPart of #14395.\n\n### Does this PR introduce _any_ user-facing change?\n\nDevelopers can use uv for local setup and run the dedicated verification\ncommand with only the core client and default setuptools development\ntool. SDK APIs, runtime dependency declarations, and default Gradle, CI\nand release entry points are unchanged.\n\n### How was this patch tested?\n\nLocal validation on macOS arm64 with uv 0.12.23:\n\n- Locked installs on Python 3.10.18 with the dev extra and Python\n3.12.12 with all extras passed version generation, dependency checks and\nthe package metadata unit test.\n- The standalone check passed on Python 3.12, covering lock consistency,\nmetadata equivalence, and README/requirement cache invalidation.\n- A locally built sdist was converted to a wheel and installed in a\nclean Python 3.12 environment. SDK import, dependency checks, core\ndependency ranges and extras metadata passed with simplejson 4.3.0.\nSource and wheel metadata and generated version files matched; both\nincluded the license.\n\nThe lightweight repository checks are reproducible from\nclients/client-python with:\n\n```shell\nuv run --locked python scripts/check_uv_workflow.py\n```\n\nThe complete uv unit workflow is:\n\n```shell\nuv sync --locked --extra dev --python 3.12\nuv run --locked --extra dev python scripts/generate_version.py\nPYTHONPATH\u003d\"$PWD\" uv run --locked --extra dev --directory tests/unittests python -m unittest\n```\n\nLocal validation did not include service/storage integration or Ray\nend-to-end suites.\n\n---------\n\nSigned-off-by: jiangxt2 \u003cjiangxt2@vip.qq.com\u003e\nCo-authored-by: Qi Yu \u003cyuqi4733@gmail.com\u003e"
    },
    {
      "commit": "7d96ddcfdec014ec040b07ecb555a7e9af3898fd",
      "tree": "e8374457b1483ff7d042942ba83bf2dc01a0a4a6",
      "parents": [
        "e259a94d8824755cad3bf839b47a1c8a25d7556a"
      ],
      "author": {
        "name": "geyanggang",
        "email": "geyanggang@qq.com",
        "time": "Thu Nov 19 18:42:25 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 18:42:25 2026 +0800"
      },
      "message": "[#15073] improvement(flink-connector): Add session catalog shadowing option (#15074)\n\n### What changes were proposed in this pull request?\n\nAdd the opt-in `gravitino.enableSessionCatalogShadowing` catalog store\noption.\n\n- `GravitinoSessionCatalogStore`: when shadowing is enabled,\n`contains()` reports a Gravitino catalog that the session has not\naccessed as absent, so Flink can create a session catalog under its\nname. Gravitino catalogs that the session loaded through `getCatalog()`\nor created through `storeCatalog()` are tracked and keep the existing\nbehavior, so `DROP`/`ALTER CATALOG` on them still reach Gravitino. A\nwarning is logged when a session catalog shadows a Gravitino catalog.\n- Gravitino-managed catalog types are rejected under the name of an\nexisting Gravitino catalog before the catalog is registered. Flink\n1.20.0 stores a catalog before instantiating it, so `storeCatalog()`\nrejects it; Flink 1.19, 2.1, and 2.2 instantiate it first, so\n`FactoryUtils#createCatalogFactoryHelper` rejects it. The store passes\nthe name to the factory through a thread-local that is set only by\n`contains()` and cleared by every store call and by the factory check.\nFlink calls a session\u0027s catalog store before every catalog instantiation\nin that session, so a value left behind (for example by `DROP CATALOG IF\nEXISTS`) is reset before it can be read there. The factory check only\nhonors the value when its own session configuration enables shadowing,\nand `storeCatalog()` only when it recorded the value itself, so another\nsession on the same thread is never affected. The store is weakly\nreferenced from the thread-local. The same check rejects `ALTER CATALOG`\nthat would turn a session catalog shadowing a Gravitino catalog into a\nGravitino-managed type, because Flink instantiates and registers the\nreplacement catalog before storing it.\n- `GravitinoCatalogStoreFactory` validates that the option is only\nenabled with `enableSessionCatalogSupport\u003dtrue`, before creating the\nGravitino client.\n- Docs: option table and a new \"Let session catalogs shadow Gravitino\ncatalogs\" section with the exact behavior and limitations.\n\n### Why are the changes needed?\n\n`excludedCatalogs` needs the conflicting names in advance. Set per job,\nevery existing job needs a configuration change; set cluster-wide, it\nhides the Gravitino catalogs from all jobs. This option needs no names\nand only affects jobs that explicitly create a same-named session\ncatalog.\n\nFixes #15073\n\n### Does this PR introduce _any_ user-facing change?\n\nYes. New property\n`table.catalog-store.gravitino.gravitino.enableSessionCatalogShadowing`\n(boolean, default `false`). Behavior is unchanged unless it is enabled.\n\n### How was this patch tested?\n\n- Unit tests in `TestGravitinoSessionCatalogStore`,\n`TestGravitinoCatalogStoreFactory`, and `TestFactoryUtils`.\n- `TestGravitinoSessionCatalogStoreWithCatalogManager` runs against a\nreal Flink `TableEnvironment`/`CatalogManager` in the Flink 1.19, 1.20,\n2.1, and 2.2 modules: create/duplicate create/use/alter/describe/drop of\nthe shadowing catalog, drop of accessed and unaccessed Gravitino\ncatalogs, Gravitino-managed type rejection before registration for both\n`CREATE` and `ALTER CATALOG`, recovery after a failed creation, a\nleft-over check not affecting another session on the same thread, and\n`CREATE CATALOG IF NOT EXISTS`.\n- `FlinkSupportsSessionCatalogIT` (Flink 1.19 and 1.20, real Gravitino\nserver and Hive): shadowing lifecycle, Gravitino catalog unchanged and\nvisible to other sessions, Gravitino-managed type rejected for `CREATE`\nand `ALTER CATALOG`, unaccessed Gravitino catalog never dropped.\n- `./gradlew :flink-connector:flink-{common,1.19,1.20,2.1,2.2}:build\n-PskipITs` and the full Flink 1.20 IT suite with\n`-PskipDockerTests\u003dfalse`.\n\n---------\n\nCo-authored-by: Jerry Shao \u003cjerryshao@datastrato.com\u003e"
    },
    {
      "commit": "e259a94d8824755cad3bf839b47a1c8a25d7556a",
      "tree": "c9bd7ef79783f3c82f53bcc6987b367c2d2823c1",
      "parents": [
        "20f5bcb95df48dcf96796f1d9fcbfb8df8887b5d"
      ],
      "author": {
        "name": "MaSai",
        "email": "30949009+lasdf1234@users.noreply.github.com",
        "time": "Thu Nov 19 17:37:43 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 17:37:43 2026 +0800"
      },
      "message": "[#15099] fix(tms): Align rewrite-manifests trigger, spec-id, and evaluators (#15100)\n\n### What changes were proposed in this pull request?\n\n- Replace dual count/size rewrite-manifests trigger with\n`manifest_count_threshold` (default 100), aligned with Iceberg\n`commit.manifest.min-count-to-merge`.\n- Resolve `spec-id` at job runtime and reuse the S0-resolved value in\nexecute (same Spark run); remove schedule-time spec pinning.\n- Record `custom-manifest-spec-id` / `custom-manifest-partition-spec`\nonly for partitioned specs.\n- Split compaction vs rewrite-manifests `shouldMaintain` facades; share\nQL via `TriggerExprEvaluator` under handler.\n\n### Why are the changes needed?\n\nPrevious 500 / (100 + avg \u003c 8 MiB) rule is not Iceberg\u0027s rewrite\ntrigger. TMS also needs stable same-run spec selection and clear trigger\nAPIs for compaction vs manifests.\n\nFixes #15099\n\n### Does this PR introduce _any_ user-facing change?\n\nYes. Removes `manifest_count_critical` / `manifest_count_warning` /\n`avg_manifest_size_threshold_bytes`; adds `manifest_count_threshold`\n(default 100). Avg manifest size remains observability-only. Partitioned\ntables may also surface the two partition-spec metric keys.\n\n### How was this patch tested?\n\n- `:api:test`, `:common:test` (rewrite-manifests content/DTO)\n- `:maintenance:optimizer-api:test` (compaction + manifest trigger\nevaluators)\n- `:maintenance:jobs:test` (trigger gate + rewrite manifests job /\nSpark)\n- `:docs:build` after OpenAPI changes\n\n---------\n\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e"
    },
    {
      "commit": "20f5bcb95df48dcf96796f1d9fcbfb8df8887b5d",
      "tree": "20113d4c76dcd3e43cb0a77732f1c9e5a54d0dfc",
      "parents": [
        "3eab9961951339d9291c83741d63dc10ec2f9a3a"
      ],
      "author": {
        "name": "Jerry Shao",
        "email": "jerryshao@datastrato.com",
        "time": "Thu Nov 19 16:48:42 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 16:48:42 2026 +0800"
      },
      "message": "[#15016] feat(domain): Make a domain\u0027s backing tag a tag name without a value (#15025)\n\n### What changes were proposed in this pull request?\n\nMake a domain\u0027s backing tag a tag name only, applied with no value, in\nevery public interface:\n\n- Java API: `Domain.backingTag()` returns `Optional\u003cString\u003e`;\n`updateBackingTag`, `createSubdomain` and\n`DomainOperations.createDomain` take the tag name as a `String`.\n- DTOs and requests: `DomainBackingTagDTO`,\n`DomainCreateRequest.BackingTag` and `DomainBackingTagSetRequest` drop\n`value`. A request that still sends `value` is rejected with 400.\n- Server REST, OpenAPI spec, Java and Python clients, MCP domain tool\ndescriptions, listener `DomainInfo` and `UpdateDomainBackingTag*Event`\nnow use the tag name.\n- `DomainManager.checkBinding` validates allowed values only when a\nbinding has a value, so any existing tag, including one with an\nallowed-values list, can back a domain. The existing conflict rule\nalready makes a tag back at most one domain when bindings have no value.\n- Docs (`domains.md`, `manage-domains-in-gravitino.md`, design doc)\ndescribe the new model: membership depends only on the presence of the\ntag, and any value on an assignment is ignored.\n\nStorage and the internal core layer are unchanged: the\n`backing_tag_value` column, `DomainEntity`, the core dispatchers and\n`DomainMembershipResolver` keep their value support for a possible\nfuture extension, and the public interfaces always bind without a value.\n\nDomains created by 2.0.0 development builds with a backing tag value\nkeep filtering membership by that value; their backing tags need to be\nremoved and rebound by name. Released versions have no such data.\n\n### Why are the changes needed?\n\nBinding an existing tag that has an allowed-values list without a value\nwas rejected with 400, and value binding let one tag back several\ndomains through different values, which makes the model harder to\nunderstand. Each domain should have its own backing tag, with membership\nbased only on the tag being present.\n\nThis is a breaking change to the domain API, which is not released yet\n(2.0.0), so it needs to land before the release.\n\nFixes #15016\n\n### Does this PR introduce _any_ user-facing change?\n\nYes, to the unreleased 2.0.0 domain API:\n\n- Java/Python: the backing tag is a tag name (`String` / `str`) instead\nof `TagValue`.\n- REST: `backingTag` objects in domain requests and responses contain\nonly `name` (plus `create` on creation); `value` is no longer accepted\nor returned.\n- Any existing tag can be bound regardless of its allowed values; a tag\nbacks at most one domain.\n- Listener `DomainInfo.backingTag()` and\n`UpdateDomainBackingTag*Event.backingTag()` return the tag name.\n\n### How was this patch tested?\n\n- New tests: an existing tag with an allowed-values list backs a domain\nwithout a value; a tag that already backs a domain cannot back another\none (create, create sub-domain, update); membership ignores assignment\nvalues (`TestDomainManager`, `TestDomainMembershipResolver`, `DomainIT`,\nPython `test_domain.py`); requests with `value` are rejected\n(`TestDomainRequests`, `TestDomainBackingTagSetRequest`,\n`TestDomainDTO`, `TestDomainOperations`).\n- Updated existing unit tests and ITs for the new signatures.\n- `./gradlew :api:test :common:test :core:test :server:test\n:server-common:test :clients:client-java:test -PskipITs`, `./gradlew\n:docs:build`, Python client unit tests, `./gradlew\n:mcp-server:testPython`.\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\n---------\n\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e"
    },
    {
      "commit": "3eab9961951339d9291c83741d63dc10ec2f9a3a",
      "tree": "2aa0cede38b73441f27abf7a92a00a297cf58f77",
      "parents": [
        "9cb34602a77962bac7cac300e643a7665b4bf921"
      ],
      "author": {
        "name": "YangJie",
        "email": "yangjie01@baidu.com",
        "time": "Thu Nov 19 01:50:06 2026 -0500"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 14:50:06 2026 +0800"
      },
      "message": "[#14603] fix(trino-connector): Drop the table a failed CREATE TABLE AS SELECT created (#15029)\n\n### What changes were proposed in this pull request?\n\n`GravitinoMetadata.beginCreateTable` records each table it creates in\nGravitino, and `GravitinoConnector` keeps each transaction\u0027s metadata.\nWhen Trino rolls the transaction back, the connector drops those tables\nafter the internal rollback. It also drops them when the internal commit\nfails, since Trino does not roll back a transaction whose commit failed.\nA rollback that lands while `beginCreateTable` runs is handled by\n`beginCreateTable` itself.\n\nA new adapter method, `canDropFailedNewTable`, lets a catalog keep the\ntable. Hive returns false for managed tables: dropping one deletes its\nlocation, and HMS reuses an existing directory for a new managed table,\nso the drop could delete files the statement did not write. Those tables\nare kept with a warning in the coordinator log.\n\nDrops on the planning thread clear its interrupt flag first: Trino\ninterrupts that thread when the query fails, and the Gravitino client\nsends no request from an interrupted thread.\n\n### Why are the changes needed?\n\nA failed CTAS left an empty table behind, and rerunning the statement\nfailed because the table existed.\n\nFixes #14603\n\n### Does this PR introduce _any_ user-facing change?\n\nYes. A failed `CREATE TABLE AS SELECT` no longer leaves its table\nbehind, with two caveats that the SQL support and Hive catalog docs\ndescribe:\n\n- A Hive managed table (the default type) is kept on every failure. This\nincludes the existing cleanup in `beginCreateTable`, which used to drop\na managed table and its location when `beginInsert` or a step before it\nfailed. I\u0027d like to hear reviewers\u0027 views on that change: it protects\nfiles already in a reused directory, but the user now has to drop the\ntable by hand.\n- The table is visible to other queries while the statement runs. If\nanother query writes to it or recreates it and the statement then fails,\nthe connector still drops the table. For a JDBC catalog that deletes the\nother query\u0027s rows.\n\nIf the drop itself fails, the coordinator logs a warning and the table\nstays.\n\n### How was this patch tested?\n\n- `TestGravitinoConnector.testFailedCreateTableAsSelectLeavesNoTable`\nruns the issue\u0027s reproduction.\n- `TestGravitinoConnectorTransactions` covers a rollback, a rollback\nwhose internal rollback throws, and a failed commit, which all drop; a\ncommit and a shutdown, which do not; and metadata handed out after the\ntransaction ended.\n- `TestGravitinoMetadataCreateTableAsSelect` covers which tables are\ndropped or kept, on rollback and on a `beginInsert` failure, a rollback\nduring `beginCreateTable`, the interrupt flag around the drops, and the\nHive and Glue checks.\n-\n`TestGravitinoConnectorForwardUser.testRollbackDropsCreatedTablesBeforeClosingEvictedClient`\nchecks that rollback calls `dropCreatedTables` before it closes the\nevicted per-user client."
    },
    {
      "commit": "9cb34602a77962bac7cac300e643a7665b4bf921",
      "tree": "71811ef7dc34c22e66cd391a77ff7fd0ef21a454",
      "parents": [
        "6a458f3c7aae369dd60bd4907544704421062b81"
      ],
      "author": {
        "name": "Bharath Krishna",
        "email": "bmurali@roku.com",
        "time": "Wed Nov 18 22:03:52 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 14:03:52 2026 +0800"
      },
      "message": "[MINOR] fix(spark-connector): Avoid a deprecated StringUtils call that breaks the Spark 4.1 build (#15105)\n\n### What changes were proposed in this pull request?\n\nReplaces `StringUtils.startsWithIgnoreCase` in\n`LanceRESTCatalogProvider` with a case-insensitive\n`String.regionMatches` check, and adds a test for which properties count\nas headers.\n\n### Why are the changes needed?\n\n#14755 added the call, and #13019 then added the Spark 4.1 connector,\nwhich compiles `spark-common` against a commons-lang3 version that\ndeprecates it. With `-Werror`, `:spark-connector:spark-4.1:compileJava`\nfails, so the build fails on main and on every open PR.\n\n### Does this PR introduce _any_ user-facing change?\n\nNo.\n\n### How was this patch tested?\n\nCompiled the Spark 3.5, 4.0 and 4.1 connectors, and ran\n`TestLanceRESTCatalogProvider`, including the new test.\n\n---------\n\nCo-authored-by: Claude Sonnet 5.5 \u003cnoreply@anthropic.com\u003e"
    },
    {
      "commit": "6a458f3c7aae369dd60bd4907544704421062b81",
      "tree": "6413372b10cf2040224270231b9c39cbaebb9717",
      "parents": [
        "a8eea83707f93bb8b85eea876dc862960e95bd2a"
      ],
      "author": {
        "name": "Bharath Krishna",
        "email": "bmurali@roku.com",
        "time": "Wed Nov 18 20:00:20 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 12:00:20 2026 +0800"
      },
      "message": "[MINOR] fix(ci): Update Docker and pnpm setup actions for the ASF allowlist (#15101)\n\n### What changes were proposed in this pull request?\n\nUpdate pinned GitHub Actions to versions on the ASF allowlist:\n\n- `docker/setup-buildx-action` v4.2.0 → v4.4.1\n- `docker/setup-qemu-action` v4.2.0 → v4.4.0\n- `pnpm/action-setup` v6.0.10 → v6.1.1\n\n### Why are the changes needed?\n\nThe ASF allowlist dropped buildx v4.2.0, so the allowlist check fails on\nevery PR. The qemu and pnpm versions expire on 2026-11-30 and\n2026-12-01.\n\n### Does this PR introduce _any_ user-facing change?\n\nNo.\n\n### How was this patch tested?\n\nThe SHAs are from the ASF allowlist\n([actions.yml](https://github.com/apache/infrastructure-actions/blob/main/actions.yml));\neach matches its upstream tag."
    },
    {
      "commit": "a8eea83707f93bb8b85eea876dc862960e95bd2a",
      "tree": "90980b0c0e7ad7689d311f5d1f631b51bd3667b8",
      "parents": [
        "307fd96ebd2fc138761ac2fffaa2624e921cb74a"
      ],
      "author": {
        "name": "MaSai",
        "email": "30949009+lasdf1234@users.noreply.github.com",
        "time": "Thu Nov 19 10:56:02 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 10:56:02 2026 +0800"
      },
      "message": "[#15048] fix(tms): Translate hierarchical schema table_identifier for Spark CALL (#15050)\n\n### What changes were proposed in this pull request?\n\nFollow-up to #14883: translate Gravitino hierarchical schema identifiers\n(e.g. `a:b:c.events`) to Spark physical namespace components on the TMS\njob\npath, and cover with a regression that feeds the adapter-produced\n`table_identifier` into a real Spark CALL.\n\n- `IdentifierUtils.toSparkTableIdentifier` / `fromSparkTableIdentifier`\n- All four job adapters emit Spark-physical `table_identifier`\n- Expire / update-stats / manifest-stats SQL builders accept multi-level\nids\n- Adapter UT + Spark CALL IT for hierarchical namespaces\n\n### Why are the changes needed?\n\nFixes #15048\n\nDeferred from\nhttps://github.com/apache/gravitino/pull/14883#discussion_r4595120275 —\nproduction CALL previously forwarded the adapter value unchanged, so\nhierarchical\nschemas could fail table resolution even after nested field quoting was\nfixed.\n\n### Does this PR introduce _any_ user-facing change?\n\nYes — strategy-submitted Iceberg maintenance jobs for hierarchical\nschemas now\nuse a Spark-resolvable table identifier (`a.b.c.table` instead of\n`a:b:c.table`).\n\n### How was this patch tested?\n\n- `./gradlew :maintenance:optimizer:test --tests TestIdentifierUtils\n--tests TestGravitinoCompactionJobAdapter --tests\nTestGravitinoOrphanFileRemovalJobAdapter --tests\nTestGravitinoSnapshotExpirationJobAdapter --tests\nTestGravitinoManifestRewriteJobAdapter -PskipITs -PskipDockerTests\u003dtrue`\n- `./gradlew :maintenance:jobs:test --tests\nTestIcebergRewriteDataFilesJobWithSpark.testAdapterHierarchicalSchemaTableIdentifierThroughSparkCall\n--tests TestIcebergExpireSnapshotsJob --tests TestIcebergUpdateStatsJob\n-PskipITs -PskipDockerTests\u003dtrue`\n- `./gradlew spotlessApply`\n\n---------\n\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e"
    },
    {
      "commit": "307fd96ebd2fc138761ac2fffaa2624e921cb74a",
      "tree": "ce422e5da5ee3f81a3c2e6dd17985aadcc719b1b",
      "parents": [
        "783025be1169f61a1aeceeb624aaa5142687478d"
      ],
      "author": {
        "name": "YangJie",
        "email": "yangjie01@baidu.com",
        "time": "Wed Nov 18 21:54:59 2026 -0500"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 10:54:59 2026 +0800"
      },
      "message": "[#13868] fix(docker): Exec the JVM so container stop reaches the REST servers (#13872)\n\n### What changes were proposed in this pull request?\n\n- `run()` in `bin/gravitino-iceberg-rest-server.sh.template` and\n`bin/gravitino-lance-rest-server.sh.template` now starts the JVM with\n`exec`, as `gravitino.sh.template` already does.\n- The default `initScript` of the `gravitino`,\n`gravitino-iceberg-rest-server` and `gravitino-lance-rest-server` charts\n(and the `pg-values.yaml` scenario) now `exec`s the entrypoint script.\n\nWith both, the JVM is PID 1 in the container and receives the SIGTERM\nsent by `docker stop` or the kubelet.\n\n### Why are the changes needed?\n\nWithout `exec`, bash stays as PID 1. A bash PID 1 neither acts on\nSIGTERM nor forwards it, so the JVM never runs its shutdown hooks, every\nstop waits the full grace period, and the JVM is then killed with\nSIGKILL.\n\nFix: #13868\n\n### Does this PR introduce _any_ user-facing change?\n\n`docker stop` and pod termination now deliver SIGTERM to the JVM, so the\nservers run their shutdown hooks instead of being killed after the grace\nperiod. In-flight requests are still not drained; that part is\nunchanged. Users who override `initScript` in their chart values need to\nkeep `exec` themselves, as the comment above `initScript` now says.\n\n### How was this patch tested?\n\n- The chart tests in `configmap_test.yaml` of the three charts now\nrequire `exec /bin/bash` before the start script.\n- Manual check with the `apache/gravitino-iceberg-rest:1.3.1` image,\nstarting it both directly and through a chart-style `init.sh`: without\n`exec`, `docker stop -t 10` takes 10 seconds and the container exits\nwith 137 with no shutdown log. With `exec` in `run()` and in `init.sh`,\n`java` is PID 1, the stop takes about 3 seconds, the exit code is 143,\nand the log ends with `Gravitino Iceberg REST Server has shut down.`\n\n---------\n\nCo-authored-by: Jerry Shao \u003cjerryshao@datastrato.com\u003e"
    },
    {
      "commit": "783025be1169f61a1aeceeb624aaa5142687478d",
      "tree": "1e7430407324c28d3d0453ab2916abb72854a594",
      "parents": [
        "68b58d14081f6bbe13900868f271290e87eef8f9"
      ],
      "author": {
        "name": "Qi Yu",
        "email": "yuqi4733@gmail.com",
        "time": "Thu Nov 19 09:55:17 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 09:55:17 2026 +0800"
      },
      "message": "[MINOR] improvement(ci): Explain pending trusted verification and recovery (#15089)\n\n### What changes were proposed in this pull request?\n\nExplain the reason and next action directly in the pending Fork CI\nstatus:\n\n\u003e Fork CI passed; CI files differ from target branch. Committer: run\nFork CI in apache/gravitino on that branch with this PR number.\n\nThe 130-character description fits GitHub\u0027s status limit. Keep\nrecognizing the previous description as a completed fork execution, and\nrefresh existing pending statuses to the new instructions.\n\n### Why are the changes needed?\n\nThe previous message, `Fork CI passed; trusted verification required`,\ndid not explain who should act or how. CI definitions can differ because\na contributor branch has older workflows, even when the PR only changes\napplication code, as in #14991.\n\n### Does this PR introduce _any_ user-facing change?\n\nAuthors and reviewers see the cause, repository, workflow, target branch\nand required PR-number input directly in the status. Trust requirements\nremain unchanged.\n\n### How was this patch tested?\n\n- Resolver/publisher and retirement tests: 153 passed, zero failures or\nskips.\n- All script tests: 178 passed, 18 existing CVE tests skipped because yq\nis unavailable, zero failures.\n- Added publication/length coverage and scheduled migration coverage\nverifying old hints are refreshed while new settled hints are not\nrepeatedly inspected or rewritten.\n- Existing tests still verify pending trust results are not downgraded\nby a delayed running observation. `git diff --check` passed."
    },
    {
      "commit": "68b58d14081f6bbe13900868f271290e87eef8f9",
      "tree": "fdabc38f461c98d5aaa57de0e8bd56f8411f83ad",
      "parents": [
        "3d8956bec5ee93c91fda51bf4312ae5f8e30cf1f"
      ],
      "author": {
        "name": "YangJie",
        "email": "yangjie01@baidu.com",
        "time": "Wed Nov 18 20:47:41 2026 -0500"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 09:47:41 2026 +0800"
      },
      "message": "[#13018] feat(spark-connector): Add Spark 4.1 support (#13019)\n\n### What changes were proposed in this pull request?\n\nAdds `spark-connector/v4.1`, a copy of `v4.0` on Spark 4.1.3 and Iceberg\n1.11.0. Beyond the copy:\n\n- Iceberg\u0027s 4.1 `SparkTable` and Spark 4.1\u0027s `JDBCTable` and\n`JDBCScanBuilder` have different constructors, so three shared wrappers\ncall their superclass through per-line base classes under\n`spark-common/src/main/spark35`, `spark40` and `spark41`.\n- Iceberg\u0027s 4.1 extensions read a branch (the `branch` option or WAP) by\nrenaming the relation to `\u003ctable\u003e.branch_\u003cname\u003e`, which Spark 4.1 loads\nagain. The 4.1 catalog loads it as that branch, checking `SELECT_TABLE`\non `\u003ctable\u003e`.\n- With an internal conf on, Spark 4.1 can push a JDBC join past\n`SparkJdbcPushDownPolicy`. Joins between Gravitino JDBC tables now stay\nin Spark.\n- The 4.1 catalog implements `ProcedureCatalog.listProcedures`, which\nSpark 4.1 added. Iceberg\u0027s 4.1 module raises `IllegalArgumentException`\nfor a dropped branch or tag, so the 4.1 ITs override the expected type.\n\nShared-tree edits the 4.1 compile forced (a `NotNull` annotation,\ndeprecated helpers, narrower suppressions) keep 3.5 and 4.0 behavior\nunchanged.\n\n### Why are the changes needed?\n\nSpark 4.1 is released and users on it have no connector build. Iceberg\n1.11.0 publishes an `iceberg-spark-runtime` for 4.1 and none for 4.2, so\n4.1 is the newest line the connector can support.\n\nFix: #13018\n\n### Does this PR introduce _any_ user-facing change?\n\nTwo new published artifacts, `gravitino-spark-4.1_2.13` and\n`gravitino-spark-connector-runtime-4.1_2.13`. No new properties or APIs.\nPaimon is unavailable on 4.1, as it is on 4.0. On 4.1,\n`\u003cdb\u003e.\u003ctable\u003e.branch_\u003cname\u003e` reads that branch, as Iceberg\u0027s own catalog\ndoes; 3.5 and 4.0 still reject the name. Unlike Iceberg\u0027s catalog,\nwrites and deletes through that name fail, and `\u003cdb\u003e.\u003ctable\u003e.tag_\u003cname\u003e`\nis still rejected. Joins between two Gravitino JDBC tables stay in Spark\neven with `spark.sql.optimizer.datasourceV2JoinPushdown\u003dtrue`.\n\n### How was this patch tested?\n\n- `TestGravitinoIcebergCatalogSpark41`: a `branch_` name loads that\nbranch after the Gravitino privilege check and refuses Spark writes and\ndeletes, a denied check never reaches Iceberg, and other names under a\ntwo-level namespace, such as `db.t.tag_v1`, are still rejected.\n- `TestSparkJdbcScanBuilderJoinPushDown`: two stock builders over one\nsource count as joinable, and the Gravitino builder does not.\n- `SparkIcebergCatalogIT.testIcebergBranchReads`, run on all three\nlines: reads with the `branch` option and with a WAP branch return the\nbranch rows, and `TRUNCATE TABLE \u003ctable\u003e.branch_\u003cname\u003e` fails and leaves\nmain unchanged.\n\n---------\n\nCo-authored-by: Claude Code \u003cnoreply@anthropic.com\u003e"
    },
    {
      "commit": "3d8956bec5ee93c91fda51bf4312ae5f8e30cf1f",
      "tree": "e8978b9dd057eff2c0aecf869bb8ec529b4f584b",
      "parents": [
        "1d412db3a0c133e04e081c40a88864316e5a285e"
      ],
      "author": {
        "name": "marmong",
        "email": "65598179+JAEKWANG97@users.noreply.github.com",
        "time": "Thu Nov 19 10:36:42 2026 +0900"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 09:36:42 2026 +0800"
      },
      "message": "[#13844] fix(spark-connector): Keep unrelated Spark jobs running (#14856)\n\n### What changes were proposed in this pull request?\n\n- Handle configuration, client creation and catalog discovery failures\nbefore registering Spark catalogs or SQL extensions.\n- Close the catalog manager on failure and preserve the original\nexception in fail-fast mode.\n- Add configuration documentation and unit/local Spark regression tests.\n\n### Why are the changes needed?\n\nWhen the plugin is enabled through cluster-wide `spark.plugins`,\nGravitino initialization failures currently prevent unrelated Spark jobs\nfrom starting.\n\nFor comparison,\n[Gluten](https://github.com/apache/gluten/blob/493bcf473045a16b79899b00baf8e2d60cf5a46f/gluten-core/src/main/scala/org/apache/gluten/GlutenPlugin.scala#L80-L108)\nand\n[RAPIDS](https://github.com/NVIDIA/cudf-spark/blob/a3bb6af7ff41de2639a1e5c5a3bbbc42264060f7/sql-plugin/src/main/scala/com/nvidia/spark/rapids/Plugin.scala#L252-L289)\nreject certain invalid startup configurations; [Kyuubi JVM\nQuake](https://github.com/apache/kyuubi/blob/8234780486a5fbdcae7981e0cafec9fd912730f4/extensions/spark/kyuubi-spark-jvm-quake/src/main/scala/org/apache/spark/kyuubi/jvm/quake/SparkJVMQuakePlugin.scala#L29-L38)\ngates startup with an enable flag. The warning-and-skip default here\nfollows this issue\u0027s shared-cluster use case.\n\nFixes #13844\n\n### Does this PR introduce _any_ user-facing change?\n\nYes. Add `spark.sql.gravitino.failFast` (boolean, default `false`).\nInitialization failures log a warning and skip Gravitino registration by\ndefault. Set it to `true` to retain fail-fast startup.\n\n### How was this patch tested?\n\nJDK 17, Spark 3.5.3 and 4.0.3: 51 unit cases and 7 local Spark cases per\nversion. Local Spark tests execute `SELECT 1` with missing connection\nsettings or an unreachable loopback endpoint, and verify startup failure\nwith `failFast\u003dtrue`.\n\n```bash\n./gradlew :spark-connector:spark-3.5:test \\\n  --tests \u0027*TestGravitinoDriverPlugin\u0027 --tests \u0027*TestGravitinoPluginInitialization\u0027 -PskipITs\n./gradlew :spark-connector:spark-4.0:test \\\n  --tests \u0027*TestGravitinoDriverPlugin\u0027 --tests \u0027*TestGravitinoPluginInitialization\u0027 -PskipITs\n./gradlew :spark-connector:spotlessCheck\n```"
    },
    {
      "commit": "1d412db3a0c133e04e081c40a88864316e5a285e",
      "tree": "9511ac93565fc8db911e491653dfec41e058b13d",
      "parents": [
        "53a8a0c66c2d5f5f8c07c4a5fe3720c95da9d952"
      ],
      "author": {
        "name": "Thunderkeg",
        "email": "jiangxt2@vip.qq.com",
        "time": "Thu Nov 19 09:31:53 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 09:31:53 2026 +0800"
      },
      "message": "[#13556] feat(client-python): relax runtime dependency constraints (#14206)\n\n### What changes were proposed in this pull request?\n\nReplace exact pins for the Python client\u0027s twelve direct runtime\ndependencies with compatible ranges:\n\n| Dependency | Runtime constraint |\n| --- | --- |\n| dataclasses-json | `\u003e\u003d0.6.7,\u003c0.7` |\n| simplejson | `\u003e\u003d3.20.1,\u003c5` |\n| cachetools | `\u003e\u003d7.1.4,\u003c8` |\n| fsspec | `\u003e\u003d2023.12.1` |\n| readerwriterlock | `\u003e\u003d1.0.9,\u003c2` |\n| pyarrow | `\u003e\u003d17.0.0,\u003c27` |\n| s3fs | `\u003e\u003d2023.12.1` |\n| gcsfs | `\u003e\u003d2023.12.1` |\n| ossfs | `\u003e\u003d2025.5.0` |\n| adlfs | `\u003e\u003d2026.2.0` |\n| ray | `\u003e\u003d2.55.1` |\n| lance-ray | `\u003e\u003d0.3.0,\u003c1` |\n\nKeep storage and Lance as optional extras, retain separate development\npins, and add installed-artifact compatibility checks for core, Ray and\nstorage dependency combinations. Preserve the upstream Lance version\npairings and select Ray 2.59.0 by default for the lance-ray 0.5.0 matrix\nentry. The Gradle compatibility entry builds the server distribution\nwhen both distribution directories are absent, reuses a complete\nexisting server distribution, and rejects an incomplete one to protect\nexisting data.\n\n### Why are the changes needed?\n\nExact runtime pins can prevent Ray Data applications from installing the\nofficial Gravitino Python client alongside their existing dependencies.\nRanges allow the package resolver to select compatible versions while\nretaining explicit bounds for the supported API lines. Fixes #13556.\n\n### Does this PR introduce _any_ user-facing change?\n\nYes. Applications may resolve dependency versions within the declared\nranges. Individual tested combinations do not guarantee compatibility\nwith every possible combination or future release; the resolver must\nstill satisfy the dependencies of the selected extras.\n\n### How was this patch tested?\n\n- Installed-SDK compatibility matrix on Linux amd64 with Python 3.10 and\n3.12: all six cases passed `pip check` with no skipped tests. Each of\nthe five core/Ray cases ran 122 tests; `storage-min` ran 75. `core-min`\ninstalled the source distribution and the other cases installed a wheel.\n- The `ray-latest` case resolved Ray 2.60.0, PyArrow 26.0.1, pandas\n3.1.1 and simplejson 4.3.0.\n- Lance version-pairing and runner unit tests: 11 passed on macOS arm64.\n- Lance REST write/read/filter integration: one test passed with no\nskips on macOS arm64, Python 3.12, Ray 2.59.0, lance-ray 0.5.0 and\nlance-namespace 0.11.1. This test used the editable SDK, not an\ninstalled wheel.\n\nWith Python 3.10 and 3.12, the client development dependencies, and a\nprepared server distribution available, the checks can be run with:\n\n```shell\n./gradlew -PpythonVersion\u003d3.12 -PskipWeb\u003dtrue :clients:client-python:coreCompatibilityTest\n./gradlew -PskipWeb\u003dtrue -PskipDockerTests\u003dtrue -PlanceRayVersions\u003d0.5.0\u003d0.11.1 -PlanceRayPython\u003d\"$(command -v python3.12)\" :clients:client-python:lanceRayMatrixTest\n(cd clients/client-python \u0026\u0026 python -m unittest -v tests.unittests.test_lance_ray_matrix_versions tests.unittests.test_core_compatibility_matrix.TestCoreCompatibilityMatrix.test_lance_matrix_defaults_overrides_and_skips)\n```\n\nA known ossfs 2025.5.0 multi-flush append-position defect also occurs\nwith fsspec 2026.2.0. Controlled local storage checks do not establish\nreal-cloud IAM/STS, GCS experimental gRPC, or Java ABFS/ADLS end-to-end\nbehavior.\n\n---------\n\nSigned-off-by: jiangxt2 \u003cjiangxt2@vip.qq.com\u003e\nCo-authored-by: Qi Yu \u003cyuqi@datastrato.com\u003e\nCo-authored-by: Qi Yu \u003cyuqi4733@gmail.com\u003e"
    },
    {
      "commit": "53a8a0c66c2d5f5f8c07c4a5fe3720c95da9d952",
      "tree": "cc71ac92d2caa5ce960f5f7793eb6c9e313845dd",
      "parents": [
        "78d2f2d1ddf7dc16d9f8638806581a089af5c543"
      ],
      "author": {
        "name": "Yuhui",
        "email": "hui@datastrato.com",
        "time": "Wed Nov 18 23:12:39 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 18 23:12:39 2026 +0800"
      },
      "message": "[#10825] fix(spark-connector): Yield to DataSource resolution for file path references (#14991)\n\n### What changes were proposed in this pull request?\n\nWhen a Gravitino catalog is the current catalog, `SELECT * FROM\nparquet.\\`path\\`` is forwarded to the Gravitino server, which rejects\nthe non-3-part name and prevents Spark from falling back to its\nSQL-on-file resolution.\n\nThe connector now yields for such references: a prefilter on single-part\nnamespaces with a path separator (`/`, `\\\\`) in the table name, followed\nby a schema-existence check so real tables are never affected.\n`loadTable`/`tableExists` report not found and both the Spark 3.5 rule\nand the 4.0 `FileResolver` resolve the path. This also avoids the false\npositive in #10826 where a schema named `parquet` would be hijacked.\n\nFixes #10825.\n\n### Does this PR introduce _any_ user-facing change?\n\nDataSource shortcut queries with a Gravitino catalog as the current\ncatalog now resolve files as in vanilla Spark. Existing Gravitino tables\nare unaffected.\n\n### How was this patch tested?\n\nAdded `TestBaseCatalog` covering the prefilter, schema-existence\ndecision and guarded entry points; ran it against Spark 3.5 and 4.0.\n\nSupersedes #10826."
    },
    {
      "commit": "78d2f2d1ddf7dc16d9f8638806581a089af5c543",
      "tree": "a5f3efef4709c9363fbe9eaa243f34b6a3e9fb94",
      "parents": [
        "c9021ca85bd250f30ddcf2582b2b670fe25fd436"
      ],
      "author": {
        "name": "Qi Yu",
        "email": "yuqi4733@gmail.com",
        "time": "Wed Nov 18 22:05:59 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 18 22:05:59 2026 +0800"
      },
      "message": "[MINOR] fix(ci): Support trusted Fork CI for release branches (#15080)\n\n### What changes were proposed in this pull request?\n\nAllow trusted Fork CI dispatches from the current upstream PR target\nbranch when it is the default branch or a `branch-X.Y` release branch.\nKeep the exact target ref, current branch-tip SHA, Apache repository and\nopen-PR checks. Update the workflow input, recovery messages and\ncontributor instructions.\n\n### Why are the changes needed?\n\nPRs changing CI definitions on release branches can finish fork CI\nsuccessfully but remain pending with `Fork CI passed; trusted\nverification required`: the publisher requires trusted verification\nwhile the resolver rejects release-branch dispatches. This affected\n#15055 and currently blocks #15072. Existing trusted results for a\ndifferent contributor head still cannot satisfy the check, as in #14959.\n\n### Does this PR introduce _any_ user-facing change?\n\nCommitters can run trusted Fork CI from the release branch targeted by\nthe PR. This support must also be backported to the target release\nbranch before dispatching there; merging it only into main does not\nenable release-branch runs.\n\n### How was this patch tested?\n\n- Added resolver-to-publisher regression coverage for branch-1.3 and\nbranch-2.0, including a PR with an older base snapshot. It fails before\nthe fix and passes afterward.\n- Added rejection cases for another branch, a tag, a stale tip and an\narbitrary feature target; rejected calls produce no outputs.\n- `node --test .github/scripts/tests/fork-ci.test.cjs\n.github/scripts/tests/retire-fork-ci.test.cjs`: 151 passed, zero\nfailures/skips.\n- All script tests: 176 passed, 18 unrelated CVE tests skipped because\nyq is unavailable, zero failures. `git diff --check` and Markdown table\nsource alignment checks passed.\n- Live GitHub Actions sandbox:\nhttps://github.com/timelyflow/gravitino/pull/39. Reproduced successful\nfork CI with pending trusted verification and the original\nrelease-dispatch rejection. Applying the resolver fix allowed trusted\nverification and the real publisher changed the status to success.\nAdvancing the PR head invalidated the old trusted result and restored\npending; a fresh trusted run then restored success on the new head.\nSandbox adaptations change repository identities, use manual dispatch,\nand reduce suites to a syntax probe while retaining the frozen-merge\ncheck; this does not validate the full Java/integration suite."
    },
    {
      "commit": "c9021ca85bd250f30ddcf2582b2b670fe25fd436",
      "tree": "2a1158a9c2cdf20ca5c7dbeeca78867187ae5e38",
      "parents": [
        "de847eec1d279406173a85952aefd11665931139"
      ],
      "author": {
        "name": "PiotrAndrzejewsky",
        "email": "78814991+PiotrAndrzejewsky@users.noreply.github.com",
        "time": "Wed Nov 18 13:23:30 2026 +0100"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 18 20:23:30 2026 +0800"
      },
      "message": "[#14742] feat(client-python): align supports_credentials and supports_secrets with Java client (#14746)\n\n### What changes were proposed in this pull request?\n\n- Add `supports_credentials()` and `supports_secrets()` to `Catalog`\ninterface (`gravitino.api.catalog.Catalog`).\n- Implement `SupportsCredentials` in `RelationalCatalog`\n(`gravitino.client.relational_catalog.RelationalCatalog`), exposing\n`supports_credentials()` and `get_credentials()`.\n- Standardize `supports_credentials()` and `supports_secrets()` on\n`FilesetCatalog` and `RelationalCatalog`, keeping\n`support_credentials()` and `support_secrets()` as aliases for backwards\ncompatibility.\n- Fix bug in `SupportsCredentials.get_credential()` where\n`credential.credential_type` was referenced as an attribute instead of\nbeing invoked as a method `credential.credential_type()`.\n- Add unit test coverage in `test_credential_api.py`,\n`test_secret_api.py`, and `test_relational_catalog.py`.\n\n### Why are the changes needed?\n\nIn Java, `Catalog` defines `supportsCredentials()` and\n`supportsSecrets()`, and `RelationalCatalog` implements both interfaces.\nIn Python:\n1. `Catalog` was missing `supports_credentials()` and\n`supports_secrets()`.\n2. `RelationalCatalog` did not implement `SupportsCredentials` (even\nthough `_object_credential_operations` was already initialized in\n`BaseSchemaCatalog`).\n3. Methods were named in the singular (`support_credentials` /\n`support_secrets`), which was inconsistent with `supports_tags`,\n`supports_policies`, `supports_roles`, and the Java API.\n4. **Bug fix in `SupportsCredentials.get_credential()`**: Fix missing\nmethod invocation `credential.credential_type()` which previously\ncompared the bound method object to a string, causing it to invariably\nraise `NoSuchCredentialException`.\n\nFix: #14742\n\n### Does this PR introduce _any_ user-facing change?\n\nYes:\n- `catalog.supports_credentials()` and `catalog.supports_secrets()` are\nnow available on `Catalog`.\n- `relational_catalog.supports_credentials()` is now available to obtain\ncredentials on relational catalogs.\n- Existing methods `support_credentials()` and `support_secrets()` are\npreserved as backward-compatible aliases.\n\n### How was this patch tested?\n\n- Added unit tests in:\n  - `clients/client-python/tests/unittests/test_credential_api.py`\n  - `clients/client-python/tests/unittests/test_secret_api.py`\n  - `clients/client-python/tests/unittests/test_relational_catalog.py`\n- Python unit tests: 1438/1438 passed (`./gradlew\n:clients:client-python:test --max-workers\u003d4`)\n- Python integration tests: 505/505 passed (`./gradlew\n:clients:client-python:integrationTest --max-workers\u003d4`)"
    },
    {
      "commit": "de847eec1d279406173a85952aefd11665931139",
      "tree": "98f3db674a8f9b6ad5286c72cf182f70ab93c3c4",
      "parents": [
        "115411fed31e0214996e127c399042b4dc2c12fb"
      ],
      "author": {
        "name": "brucearctor",
        "email": "5032356+brucearctor@users.noreply.github.com",
        "time": "Wed Nov 18 04:13:28 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 18 20:13:28 2026 +0800"
      },
      "message": "[#13890] fix(gvfs): Use fileset metadata cache when resolving properties and secrets (#13891)\n\n### What changes were proposed in this pull request?\n\n1. **Java GVFS (`FilesetMetadataCache` \u0026 `BaseGVFSOperations`)**:\n- Widen `FilesetMetadataCache.catalogCache` from `Cache\u003cNameIdentifier,\nFilesetCatalog\u003e` to `Cache\u003cNameIdentifier, Catalog\u003e`, add `public\nCatalog getCatalog(NameIdentifier)`, and update `getFilesetCatalog`,\n`getFileset`, and `getSchema` to reuse `getCatalog(catalogIdent)` inside\ntheir cache mapping functions.\n- Add `protected Catalog getCatalog(NameIdentifier)` to\n`BaseGVFSOperations` and update\n`BaseGVFSOperations.getSchema(NameIdentifier)` to lazily initialize\n`filesetMetadataCache` via `getFilesetMetadataCache()` (fixing a\n`NullPointerException` when `enableFilesetMetadataCache\u003dtrue`) and route\nuncached catalog lookups through `getCatalog(catalogIdent)`.\n- Route `BaseGVFSOperations.getAllProperties` through `getCatalog`,\n`getSchema`, and `getFileset`, and pass the pre-loaded `Fileset` from\n`getActualFileSystemByLocationName` to avoid reloading the fileset.\n- Null-check `getCatalog(catalogIdent).properties()` in\n`BaseGVFSOperations.createFilesetLocationIfNeed`.\n\n2. **Python GVFS (`gvfs_base_operations.py`)**:\n- Update `BaseGVFSOperations._merge_fileset_properties` to route\ncatalog, schema, and fileset lookups through\n`self._get_fileset_catalog`, `self._get_fileset_schema`, and\n`self._get_fileset`, and accept an optional pre-loaded `fileset` from\n`_get_actual_filesystem_by_location_name`.\n\n3. **Documentation (`docs/how-to-use-gvfs.md`)**:\n- Fix the configuration key typo on line 75\n(`fs.gravitino.filesetMetadataCache.enable` -\u003e\n`fs.gravitino.filesetMetadataCache.cache.enable`) to match\n`GravitinoVirtualFileSystemConfiguration.FS_GRAVITINO_FILESET_METADATA_CACHE_ENABLE`,\nand align the description cells to include `fileset schema`.\n\n### Why are the changes needed?\n\nWhen `fs.gravitino.filesetMetadataCache.cache.enable\u003dtrue` (Java) or\n`enable_fileset_metadata_cache\u003dTrue` (Python) is enabled,\n`getAllProperties` / `_merge_fileset_properties` bypassed the metadata\ncaches and issued uncached `loadCatalog`, `loadSchema`, and\n`loadFileset` RPCs on every filesystem cache miss. In addition,\n`BaseGVFSOperations.getSchema(NameIdentifier)` accessed\n`this.filesetMetadataCache` directly without lazy initialization\n(`getFilesetMetadataCache()`), throwing a `NullPointerException` when\nmetadata caching was enabled, and\n`FilesetMetadataCache.getSchema(NameIdentifier)` bypassed\n`catalogCache`.\n\nFix: #13890\n\n### Does this PR introduce _any_ user-facing change?\n\nNo. The documentation in `docs/how-to-use-gvfs.md` is updated to reflect\nthe actual configuration key\n(`fs.gravitino.filesetMetadataCache.cache.enable`).\n\n### How was this patch tested?\n\n- **Java unit tests**:\n  - `TestFilesetMetadataCache#testCacheReusesCatalogSchemaAndFileset`\n-\n`TestBaseGVFSOperationsSecrets#testGetAllPropertiesUsesFilesetMetadataCacheWhenEnabled`\n-\n`TestBaseGVFSOperationsSecrets#testGetAllPropertiesReusesPreloadedFileset`\n-\n`TestBaseGVFSOperationsSecrets#testGetSchemaLazyInitializesMetadataCache`\n- **Python unit \u0026 integration tests**:\n- `test_gvfs_merge_secrets.py`:\n`test_merge_properties_uses_fileset_metadata_cache_when_enabled` and\n`test_merge_properties_reuses_preloaded_fileset`\n- `test_gvfs_with_s3.py`: Clear `_schema_cache` alongside\n`_fileset_cache` and `_catalog_cache` when resetting metadata cache in\n`test_mkdir`\n\nSigned-off-by: Bruce Arctor \u003c5032356+brucearctor@users.noreply.github.com\u003e\nCo-authored-by: mchades \u003climinghuang@datastrato.com\u003e"
    },
    {
      "commit": "115411fed31e0214996e127c399042b4dc2c12fb",
      "tree": "0afd8d1f55541011f9bed747ac1fd68e493f8dfe",
      "parents": [
        "3d0b193fd26008a71ee07c96b6d3b8ad231520a5"
      ],
      "author": {
        "name": "geyanggang",
        "email": "geyanggang@qq.com",
        "time": "Wed Nov 18 20:02:02 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 18 20:02:02 2026 +0800"
      },
      "message": "[#15012] improvement(bundles): Update org.json in the Tencent bundle to 20260814 (#15013)\n\n### What changes were proposed in this pull request?\n- Declare `org.json:json` 20260814 directly in\n`bundles/tencent-bundle/build.gradle.kts`. The version is in\n`gradle/libs.versions.toml` as `org-json`.\n- Remove the `org.json/json@20180130` entries from\n`.github/trivy/trivyignore.yaml`.\n\n### Why are the changes needed?\n`cos-sts-java` 3.0.8 (from `hadoop-cos`) pulls in `org.json:json`\n20180130, which is bundled in the Tencent bundle shaded jar. A direct\ndependency overrides the transitive version in the shaded jar and in the\npublished POM.\n\nFix: #15012\n\n### Does this PR introduce _any_ user-facing change?\nNo.\n\n### How was this patch tested?\n- `dependencyInsight` on `:bundles:tencent-bundle` shows\n`org.json:json:20180130 -\u003e 20260814` through `cos-sts-java`. The\ngenerated POM lists `org.json:json:20260814` as a runtime dependency.\n- `./gradlew :bundles:tencent-bundle:build -PskipITs` passes. The shadow\njar contains `META-INF/maven/org.json/json` 20260814.\n- The classes in the shadow jar call only `JSONObject` (`\u003cinit\u003e()`,\n`\u003cinit\u003e(String)`, `get`, `getLong`, `keySet`, `optJSONObject`,\n`optString`, `put(String, long)`, `put(String, Object)`, `toString`) and\n`JSONArray` (`\u003cinit\u003e()`, `put(Object)`). All exist in 20260814, and a\nsmoke test against the shadow jar exercised them. The 20260814 classes\ntarget Java 8 (class version 52).\n- `spotlessCheck`, `.github/trivy/scan.sh check-exemptions` and `node\n--test .github/scripts/tests/*.test.cjs` pass."
    },
    {
      "commit": "3d0b193fd26008a71ee07c96b6d3b8ad231520a5",
      "tree": "f1d34250f0757c9b0b0fb1f0ef0a92f54a66e21b",
      "parents": [
        "2b4627692946b8c3fa93d7ed88b56cb47625369a"
      ],
      "author": {
        "name": "roryqi",
        "email": "roryqi@datastrato.com",
        "time": "Wed Nov 18 19:47:36 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 18 19:47:36 2026 +0800"
      },
      "message": "[#14995] fix(iceberg): authorize table locations and optimize registration lookup (#15004)\n\n### What changes were proposed in this pull request?\n\n- Authorize overlapping locations on create, staged create, register,\nand `set-location` after destination authorization. Normalize filesystem\naliases while preserving object-store key semantics.\n- Use one JDBC query for standard-layout candidates and exact\nregistration pointers. Reuse the requested metadata snapshot without a\ncross-request cache or reads of unrelated JDBC table metadata.\n- Validate embedded storage locations before backend registration,\nincluding view registration; reject local paths for remote warehouses\nand allow dropping existing long Iceberg namespace names.\n\n### Why are the changes needed?\n\nFix location authorization gaps, expensive registration source scans,\nand long-name drop failures.\n\nRefs #14995\n\n### Does this PR introduce _any_ user-facing change?\n\nYes: overlapping locations require source load access, remote warehouses\nreject local paths, and existing long namespaces can be dropped.\n\nSource discovery matches locations and current metadata pointers instead\nof UUIDs. Exact-pointer registration protection remains available for\ncustom layouts; complete overlap detection for custom\n`write.metadata.path` layouts is outside scope. Non-JDBC metadata read\nfailures and database failures propagate; only disappeared tables are\nskipped. Destination authorization and overwrite UUID checks remain\nrequired. No configuration or database schema changes.\n\n### How was this patch tested?\n\nCommon: 272 tests passed. REST: 820 tests validated across a full-suite\nrun and a focused rerun of 143 cases. Core normalization and catalog\nregressions also passed (21 and 33 cases).\n\nCoverage includes SQLite V0/V1 with 2,000 nonexistent pointers, real\nfilesystem aliases, exact custom metadata pointers, unreadable-source\nauthorization, embedded local table/view paths, one requested-file read,\nsnapshot overwrite consistency, and custom registration hooks. Spotless\nand `git diff --check` passed."
    },
    {
      "commit": "2b4627692946b8c3fa93d7ed88b56cb47625369a",
      "tree": "a70149a40670b48f7577eb4f0d22c37ae51ba84f",
      "parents": [
        "bd8bfc055853922d86246b11d50748898427683d"
      ],
      "author": {
        "name": "YangJie",
        "email": "yangjie01@baidu.com",
        "time": "Wed Nov 18 06:37:07 2026 -0500"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 18 19:37:07 2026 +0800"
      },
      "message": "[MINOR] fix(ci): Push chart test images to the kind registry through localhost (#14959)\n\n### What changes were proposed in this pull request?\n\nThe chart test now tags each image it builds as\n`localhost:\u003cport\u003e/\u003cname\u003e:\u003ctag\u003e` and pushes that tag instead of\n`${KIND_REGISTRY}/\u003cname\u003e:\u003ctag\u003e`. Both names reach the same kind\nregistry, so the cluster still pulls `${KIND_REGISTRY}/\u003cname\u003e:\u003ctag\u003e` and\nthe `ct install` steps are unchanged.\n\n### Why are the changes needed?\n\n`charts / lint-test` runs on `ubuntu-latest`, which now also assigns\n`ubuntu-26.04` runners. On those (Docker 29.4.2 with the containerd\nimage store), `docker push kind-registry:5000/...` fails with `http:\nserver gave HTTP response to HTTPS client`, so any pull request that\nchanges a chart fails Fork CI there and the other jobs are cancelled;\n#13872 failed this way twice. The same push succeeds on `ubuntu-24.04`\n(Docker 28.0.4), and a push to `localhost:5000` succeeds on\n`ubuntu-26.04`.\n\n### Does this PR introduce _any_ user-facing change?\n\nNo.\n\n### How was this patch tested?\n\nCI on this pull request does not reach the push step, because the image\nbuild and the installs run only when a chart changes. A fork run of this\nchange plus a one-line chart change, on an `ubuntu-26.04` runner, pushed\nall three images through `localhost:5000`, and all five `ct install`\nsteps passed:\nhttps://github.com/LuciferYang/gravitino/actions/runs/43227372708\n\nCo-authored-by: Qi Yu \u003cyuqi4733@gmail.com\u003e"
    },
    {
      "commit": "bd8bfc055853922d86246b11d50748898427683d",
      "tree": "b572516912921a6683fb6bcec063cb5b6784de34",
      "parents": [
        "e6404832cb60888e93e9ef19e25518f26b75a982"
      ],
      "author": {
        "name": "Yuhui",
        "email": "hui@datastrato.com",
        "time": "Wed Nov 18 19:18:15 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 18 19:18:15 2026 +0800"
      },
      "message": "[#13171] fix(build): Stop publishing shaded runtime jars\u0027 bundled dependencies (#14997)\n\n### What changes were proposed in this pull request?\n\nMove shaded jar inputs to a private `shadedDependencies` configuration\nso they are no longer exposed in published POMs or Gradle metadata.\nCover all Spark/Flink runtime variants, `client-java-runtime`, and\n`filesystem-hadoop3-runtime`, and add `verifyShadedRuntimePom` to\n`check`.\n\nSupersedes #13712, including support for Flink 2.2. The original author\nremains the commit author.\n\n### Why are the changes needed?\n\nResolving the Spark 3.5 runtime by coordinate downloads 31 artifacts (46\nMB), including unshaded copies of classes already in the jar, which can\ncause classpath conflicts.\n\nFixes #13171\n\n### Does this PR introduce _any_ user-facing change?\n\nYes. The affected runtime artifacts no longer declare dependencies\nalready bundled in their shaded jars.\n\n### How was this patch tested?\n\nVerified dependency-free POMs and Gradle metadata for all eight runtime\nmodules, built their shaded jars, and ran their `test` tasks. Also ran\n`./gradlew spotlessApply`.\n\n---------\n\nCo-authored-by: dennismdejong \u003cdennis@caberdo.nl\u003e"
    },
    {
      "commit": "e6404832cb60888e93e9ef19e25518f26b75a982",
      "tree": "552c9295f0d42d8f8fce4e5e841b161231928fa5",
      "parents": [
        "8bca65935b6663ea024d4c6e7c007474221f5e2d"
      ],
      "author": {
        "name": "geyanggang",
        "email": "geyanggang@qq.com",
        "time": "Wed Nov 18 19:12:58 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 18 19:12:58 2026 +0800"
      },
      "message": "[#15018] improvement(deps): Update Kerby to 2.1.2 (#15019)\n\n### What changes were proposed in this pull request?\n- Update `kerby` from 2.0.3 to 2.1.2 in `gradle/libs.versions.toml`.\n- Remove the `JSch` entry from `LICENSE.iceberg`, since it is no longer\nbundled in the Iceberg REST server package.\n- Remove the `kerb-server@2.0.3` purl from the\n`.github/trivy/trivyignore.yaml` entry. The `1.0.1` purl stays, it is a\ncopy shaded inside `hadoop-client-runtime`.\n\n### Why are the changes needed?\nKeep Kerby on its latest release. Kerby is used by `server-common`\n(`KerberosServerUtils`) and `iceberg-common`.\n\nCompared with the current `main`, the `runtimeClasspath` of `:server`,\n`:iceberg:iceberg-rest-server` and `:catalogs:catalog-lakehouse-iceberg`\nchanges only in:\n- all `org.apache.kerby` modules 2.0.3 -\u003e 2.1.2\n- `nimbus-jose-jwt` 10.9 -\u003e 10.9.1\n- `commons-io` -\u003e 2.22.0 (was 2.18.0 on `:server`, 2.20.0 on the Iceberg\nmodules)\n- `com.jcraft:jsch` 0.1.55 removed\n- `org.jline:jline` 3.22.0 -\u003e 3.30.6 on `:server` only. It is already\nexcluded from the Iceberg modules, and #15003 excludes it from the\nserver package.\n\n`LICENSE.bin` keeps `JSch`, because `catalog-lakehouse-paimon` still\nbrings it.\n\nFix: #15018\n\n### Does this PR introduce _any_ user-facing change?\nNo.\n\n### How was this patch tested?\n- Compared the `runtimeClasspath` of `:server`,\n`:iceberg:iceberg-rest-server`, `:catalogs:catalog-lakehouse-iceberg`,\n`:lance:lance-rest-server` and `:clients:client-java` before and after:\nonly the changes listed above.\n- `:server-common:test` (619 tests, including\n`TestKerberosAuthenticator`, which runs a real KDC) passes with Kerby\n2.1.2.\n- `:clients:filesystem-hadoop3:test --tests \u0027*TestKerberosClient\u0027`\npasses.\n- `./gradlew spotlessCheck :iceberg:iceberg-common:test\n:iceberg:iceberg-rest-server:test\n:catalogs:catalog-lakehouse-iceberg:test :server:test -PskipITs` passes.\n- `.github/trivy/scan.sh check-exemptions` and `node --test\n.github/scripts/tests/*.test.cjs` pass.\n\nCo-authored-by: Jerry Shao \u003cjerryshao@datastrato.com\u003e"
    },
    {
      "commit": "8bca65935b6663ea024d4c6e7c007474221f5e2d",
      "tree": "883e79cae5799b0dd788156b09f3d83a90f912fd",
      "parents": [
        "e7a7a0061170e7052ba8749816e66380be6f1ca8"
      ],
      "author": {
        "name": "MaSai",
        "email": "30949009+lasdf1234@users.noreply.github.com",
        "time": "Wed Nov 18 19:01:55 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 18 19:01:55 2026 +0800"
      },
      "message": "[#15056] fix(secret): Reject empty binding plaintext and fail fast on missing refs (#15057)\n\n### What changes were proposed in this pull request?\n\n- Reject blank `secretBindings` plaintext in `SecretBinding` (and alter\n`setSecretBinding` validation).\n- On catalog / schema / fileset create, call `toPlaintextProperties`\nafter staging secrets and before the backend probe, so unreadable\n`secretReferences` fail with `IllegalArgumentException` instead of a\nlater connection failure.\n\n### Why are the changes needed?\n\nFixes #15056\n\nEmpty binding plaintext was accepted into the write-through path.\nMissing external references were masked during create-time catalog init,\nso JDBC-like catalogs often failed with `ConnectionFailedException`\ninstead of a clear secret-resolution error.\n\n### Does this PR introduce _any_ user-facing change?\n\nYes. Create/alter with empty `secretBindings.plaintext` is rejected.\nCreate with an unreadable `secretReferences` target fails earlier with\n`IllegalArgumentException`.\n\n### How was this patch tested?\n\n- `./gradlew :api:test --tests\norg.apache.gravitino.secret.TestSecretBinding :core:test --tests\norg.apache.gravitino.secret.TestSecretManager --tests\n\u0027org.apache.gravitino.catalog.TestCatalogManager.testCreateRejects*\u0027\n--tests org.apache.gravitino.catalog.TestCatalogManager.testSecrets\n-PskipITs -PskipDockerTests\u003dtrue`\n\nMade with [Cursor](https://cursor.com)\n\n---------\n\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e"
    },
    {
      "commit": "e7a7a0061170e7052ba8749816e66380be6f1ca8",
      "tree": "d45de3acf4d665c0867cd8a2e0fba7e67a418611",
      "parents": [
        "82f27aee5d1a2cb3d982773e8b7c6a1636a6dfac"
      ],
      "author": {
        "name": "COLDMANYU",
        "email": "46128522+COLDMANYU@users.noreply.github.com",
        "time": "Wed Nov 18 18:03:11 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 18 18:03:11 2026 +0800"
      },
      "message": "[#4733] fix(spark-connector): Load Paimon format tables and test the Hive backend in the Spark connector (#14928)\n\n### What changes were proposed in this pull request?\n\n- `GravitinoPaimonCatalog#createSparkTable` returns a table loaded by\nPaimon\u0027s `SparkCatalog` as it is when it is not a `SparkTable`, instead\nof casting it and wrapping it in `SparkPaimonTable`.\n- New `SparkPaimonCatalogHiveBackendIT` (and\n`SparkPaimonCatalogHiveBackendIT35`) runs the common Spark connector\ntests on a Paimon catalog with the Hive backend, against the Hive\nmetastore of the test Hive container. It adds one test that creates a\npartitioned CSV format table with a Paimon `SparkCatalog` on the same\nmetastore, then reads it through Gravitino, with and without a partition\nfilter, and drops it.\n- New unit test `TestGravitinoPaimonCatalogTableWrapping`.\n\n### Why are the changes needed?\n\nPaimon\u0027s `SparkCatalog` returns a `SparkTable` only for Paimon file\nstore tables. A format table (a CSV, JSON, ORC, Parquet or text table\nregistered in the metastore, which the Hive backend supports) comes back\nas a different Spark table: a Spark file table such as\n`PartitionedCSVTable` in Paimon 1.2, or a `PaimonFormatTable` in newer\nPaimon versions. `GravitinoPaimonCatalog` cast every table to\n`SparkTable`, so loading a format table failed:\n\n```\njava.lang.ClassCastException: class org.apache.spark.sql.execution.PartitionedCSVTable cannot be cast to class org.apache.paimon.spark.SparkTable\n    at org.apache.gravitino.spark.connector.paimon.GravitinoPaimonCatalog.createSparkTable(GravitinoPaimonCatalog.java:67)\n    at org.apache.gravitino.spark.connector.catalog.BaseCatalog.loadTable(BaseCatalog.java:338)\n```\n\nSuch a table already has its schema and partitions resolved by Paimon\nand reads and writes through its own code path, so the connector returns\nit unchanged.\n\nThe Hive backend had no Spark connector IT. #5858 started one but was\nclosed without being merged; this PR continues it.\n\nFixes #4733\n\n### Does this PR introduce _any_ user-facing change?\n\nFormat tables in a Paimon catalog can be read and written through the\nGravitino Spark connector. They are returned as Paimon\u0027s own Spark\ntable, so Gravitino-specific table handling does not apply to them.\nPaimon file store tables are unchanged.\n\n### How was this patch tested?\n\n- Unit test: `TestGravitinoPaimonCatalogTableWrapping` checks that a\n`SparkTable` is still wrapped and that another table is returned as it\nis.\n- Without the fix, the unit test and `testReadExternalCsvFormatTable`\nfail with the `ClassCastException` above.\n- `SparkPaimonCatalogHiveBackendIT35`: 37 tests, 32 passed, 5 skipped\n(features the Paimon catalog does not support; the filesystem backend\nskips the same 5).\n- `SparkPaimonCatalogFilesystemBackendIT35` still passes.\n- Two common schema tests check the schema comment, which the Paimon\ncatalog does not store yet (#5719). The Hive backend IT overrides them\nwithout the comment check, with a note to restore it once #5719 is\nfixed."
    },
    {
      "commit": "82f27aee5d1a2cb3d982773e8b7c6a1636a6dfac",
      "tree": "50169f194facbe7b7bb179cd1775c53fc0bd9c3e",
      "parents": [
        "f26ac1cd491bdcb3a11e6755ac7abcbba9e19163"
      ],
      "author": {
        "name": "Qi Yu",
        "email": "yuqi4733@gmail.com",
        "time": "Wed Nov 18 16:48:41 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 18 16:48:41 2026 +0800"
      },
      "message": "[MINOR] fix(ci): Break ties when selecting a pre-PR Fork CI base (#15068)\n\n### What changes were proposed in this pull request?\n\nWhen a fork push has no open PR and multiple candidate bases have the\nsame `ahead_by` count, prefer the candidate with the lowest `behind_by`\ncount.\n\n### Why are the changes needed?\n\nThe first push for #15047 was one commit ahead of both `main` and\n`branch-2.0`, but it was 13 commits behind `main` and zero behind\n`branch-2.0`. Fork CI selected `main`, where the patch had already\nlanded. The resulting empty diff caused the full build to be skipped.\n\n### Does this PR introduce _any_ user-facing change?\n\nNo. This change only affects Fork CI base selection before a PR is\nopened.\n\n### How was this patch tested?\n\nRan `node --test .github/scripts/tests/fork-ci.test.cjs`. All 142 tests\npassed. The regression test uses the commit counts from #15047 and fails\nwith the previous implementation."
    },
    {
      "commit": "f26ac1cd491bdcb3a11e6755ac7abcbba9e19163",
      "tree": "9088192d6282ed2e051e83a7101dea8751eb8c91",
      "parents": [
        "d7d5095c05ec9d1b129216b95d56030630e9d7bd"
      ],
      "author": {
        "name": "dengc367",
        "email": "dengc367@gmail.com",
        "time": "Wed Nov 18 16:29:58 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 18 16:29:58 2026 +0800"
      },
      "message": "[#14354] build(deps): Bump aliyun-sdk-oss to 3.13.0 (#14355)\n\n### What changes were proposed in this pull request?\n\nBump the managed `com.aliyun.oss:aliyun-sdk-oss` version from 3.10.2 to\n3.13.0 in\n`gradle/libs.versions.toml`, with a comment recording why.\n\nThat catalog entry is the only place the SDK is pinned, and it is\nconsumed only by\n`:bundles:iceberg-aliyun-bundle`. 3.13.0 is the version `hadoop-project`\n3.3.6 already\nmanages and the version `:bundles:aliyun-bundle` already resolves\nthrough\n`hadoop-aliyun`, so the change removes a version skew rather than adding\na new one.\n\n3.13.0 pulls `aliyun-java-sdk-core` 4.5.10, which declares `ini4j`\n0.5.4. `ini4j` only backs\nthe core SDK\u0027s local profile credentials provider, and `OSSFileIO`\nauthenticates with a static\nkey or a session token, so exclude it from the OSS SDK dependency in\n`bundles/iceberg-aliyun-bundle/build.gradle.kts` to keep CVE-2022-41404\nout of the shaded jar\n(tracked in #14777).\n\nUpdate the Spark and Flink connector guides to install the\n`aliyun-sdk-oss` version that\nmatches the client\u0027s Iceberg runtime (3.18.5 for Iceberg 1.11.0/1.12.0,\n3.10.2 for Iceberg\n1.10.2) and link to Maven Central, because the Aliyun CDN zip only\nexists for 3.10.2. Clients\nfollowing the old guides hit the same `NoSuchMethodError` as the bundle.\n\n### Why are the changes needed?\n\nFixes #14354\n\nIceberg 1.11.0 is compiled against `aliyun-sdk-oss` 3.18.5 (see\nIceberg\u0027s\n[version\ncatalog](https://github.com/apache/iceberg/blob/apache-iceberg-1.11.0/gradle/libs.versions.toml#L25)),\nand `OSSFileIO.deleteFile` expects `OSS#deleteObject(String, String)` to\nreturn\n`VoidResult`. That signature changed in 3.12.0; in 3.10.2 the method\nreturns `void`, so\nthe shaded Iceberg Aliyun bundle packed 3.10.2, `OSSFileIO.deleteFile`\nfailed to link and\nevery delete on an OSS warehouse threw `NoSuchMethodError`.\n\n3.13.0 is chosen rather than 3.18.5 deliberately: it matches the version\n`hadoop-project`\n3.3.6 manages (and that `:bundles:aliyun-bundle` already resolves\nthrough\n`hadoop-aliyun`) and it provides the `VoidResult` signature, so the skew\nis removed\nwithout pulling a newer SDK into the build.\n\nThe client guides had the same 3.10.2/SDK-skew problem: Iceberg\n1.11.0/1.12.0 clients need\nSDK 3.18.5, while Flink 1.19 (Iceberg 1.10.2) still needs 3.10.2. The\nguides now say which\nSDK version goes with which Iceberg runtime.\n\n### Does this PR introduce _any_ user-facing change?\n\nNo API change and no new or removed property keys. OSS deletes work\nagain with the Iceberg\nAliyun bundle, and the Spark/Flink guides now instruct users to install\nthe OSS SDK version\nthat matches their Iceberg runtime.\n\n### How was this patch tested?\n\n- `./gradlew :bundles:iceberg-aliyun-bundle:dependencyInsight\n--dependency com.aliyun.oss:aliyun-sdk-oss`\n→ `3.13.0` after the change (`3.10.2` before), and\n`:bundles:aliyun-bundle` already\n  resolved `3.13.0` before the change.\n- `./gradlew :bundles:iceberg-aliyun-bundle:dependencyInsight\n--configuration runtimeClasspath --dependency ini4j`\n  → no matching dependency after the exclusion.\n- `./gradlew :bundles:iceberg-aliyun-bundle:spotlessCheck\n:bundles:iceberg-aliyun-bundle:test`\n  passes.\n- Inspected the built shade jar:\n`META-INF/maven/com.aliyun.oss/aliyun-sdk-oss/pom.properties`\nreports `version\u003d3.13.0`, `com/aliyun/oss/OSS.class` and `VoidResult`\nare present, no\n`org/ini4j` classes are packaged, and `javap` on the packaged\n`com.aliyun.oss.OSS` shows\n  `VoidResult deleteObject(String, String)`.\n- Cross-checked the method signature with `javap`: `void` in 3.10.2,\n`VoidResult` in\n  3.12.0 and 3.13.0.\n- Rebuilt the client OSS SDK check from Iceberg 1.11.0\n`OSSFileIO.deleteFile` against Spark\n3.5.3 and Flink 1.20 client classpaths: SDK 3.10.2 throws\n`NoSuchMethodError`, SDK 3.18.5\nlinks and invokes `deleteObject`, and `OSSClientBuilder` builds an\n`OSSClient` with only\n  the documented client jars.\n- Manually: create and drop an Iceberg table on a real OSS warehouse\nwith the Iceberg\n  Aliyun bundle.\n\n---------\n\nCo-authored-by: liucunyu \u003cliucunyu@admergex.com\u003e\nCo-authored-by: mchades \u003climinghuang@datastrato.com\u003e"
    },
    {
      "commit": "d7d5095c05ec9d1b129216b95d56030630e9d7bd",
      "tree": "209db7a0ea7497b7cfca5d4682c5c00efd1aae64",
      "parents": [
        "1ee1273394eb97650173f39e322c8074bf84e68d"
      ],
      "author": {
        "name": "Abhijeet Singh",
        "email": "abhijeet.singh1997@gmail.com",
        "time": "Wed Nov 18 13:50:23 2026 +0530"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 18 16:20:23 2026 +0800"
      },
      "message": "feat(web): support system access-control policies (#14570)\n\n### What changes were proposed in this pull request?\n\n* Add System Access Control as a policy type.\n* Require at least one applicable role and one permitted privilege.\n* Update label in policy list page\n\n### Why are the changes needed?\n\nUsers need to manage tag-based access-control policies through the web\nUI. These policies must be associated with tags, so direct\nmetadata-object assignment must be prevented.\n\nFixes #14569 \n\n### Does this PR introduce _any_ user-facing change?\n\nYes. Users can select System Access Control when creating a policy,\nchoose applicable roles and privileges, and view or edit its content.\nPolicy forms also show a loading state and retain input when saving\nfails.\n\n\n### How was this patch tested?\n  by running it locally and testing it out\n creating policy:  \n\u003cimg width\u003d\"847\" height\u003d\"778\" alt\u003d\"Screenshot 2026-11-03 at 2 18 49 PM\"\nsrc\u003d\"https://github.com/user-attachments/assets/49234527-1652-4f49-b838-421e4e39fb24\"\n/\u003e\n\nlisting page:\n\u003cimg width\u003d\"521\" height\u003d\"183\" alt\u003d\"Screenshot 2026-11-17 at 10 12 17 AM\"\nsrc\u003d\"https://github.com/user-attachments/assets/ee43c869-5dd1-4e9f-b57c-99dd302178a4\"\n/\u003e\n\n---------\n\nCo-authored-by: Abhijeet Singh \u003cabhijeetsingh@roku.com\u003e"
    },
    {
      "commit": "1ee1273394eb97650173f39e322c8074bf84e68d",
      "tree": "ab4053fcb2433fa0c855a1a0e058fa51c7f08fdd",
      "parents": [
        "5472c62e472b67796b4522e02fae6c3eb4aac67e"
      ],
      "author": {
        "name": "MaSai",
        "email": "30949009+lasdf1234@users.noreply.github.com",
        "time": "Wed Nov 18 15:57:48 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 18 15:57:48 2026 +0800"
      },
      "message": "[#15026] fix(docs): Declare TMS execution peers on OpenAPI maintenance content (#15028)\n\n### What changes were proposed in this pull request?\n\nDeclare TMS execution peers (`timeTrigger`, `commitTrigger`,\n`minIntervalMs`, `jobOptions`, `updaterOptions`) on Iceberg maintenance\npolicy content schemas in `docs/open-api/policies.yaml`, and fix schema\ntext that said scheduling is configured separately.\n\nPeers stay in the same `properties` object as typed fields so schemas\nthat use `additionalProperties: false` still accept them.\n\n### Why are the changes needed?\n\nRuntime and product docs already accept these peers on content. The\npublished OpenAPI schemas omitted them, so clients/codegen could drop\npeers on full-replace `updateContent` and unintentionally clear\nscheduling.\n\nFixes #15026\n\n### Does this PR introduce _any_ user-facing change?\n\nOpenAPI/docs only. No server behavior change.\n\n### How was this patch tested?\n\n- `./gradlew :docs:build`\n\n---------\n\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e"
    },
    {
      "commit": "5472c62e472b67796b4522e02fae6c3eb4aac67e",
      "tree": "001629dbb23c785a28827000efc5bdaf355d2da6",
      "parents": [
        "5a6af766390d2c0a41a8832ef53f4a71fad97246"
      ],
      "author": {
        "name": "Jerry Shao",
        "email": "jerryshao@datastrato.com",
        "time": "Wed Nov 18 15:57:11 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 18 15:57:11 2026 +0800"
      },
      "message": "[MINOR] ci: Open auto cherry-pick PRs from the merging committer\u0027s fork (#15061)\n\n### What changes were proposed in this pull request?\n\nFor target branches that have Fork CI (currently `branch-2.0`), auto\ncherry-pick now opens its PR from a committer\u0027s fork instead of from a\nbranch in apache/gravitino:\n\n- `auto-cherry-pick.yml` passes the login of the committer who merged\nthe original PR (`merged-by`) to `cherry-pick-branch.yml`.\n- `cherry-pick-branch.yml` picks a token: the merger\u0027s\n`CHERRY_PICK_TOKEN_\u003cLOGIN\u003e` secret (login uppercased, `-` → `_`),\nfalling back to `CHERRY_PICK_TOKEN_JERRYSHAO` (the fallback login can be\nchanged with the `CHERRY_PICK_FALLBACK_LOGIN` variable).\n- Each token is checked before use: it belongs to that login,\n`\u003clogin\u003e/gravitino` is a fork of apache/gravitino, and its `fork-ci.yml`\nis not disabled. Skipped tokens and the reason are listed in the job\nsummary; the job fails if no token is usable.\n- The branch is pushed to `\u003clogin\u003e/gravitino` and the PR is opened with\nhead `\u003clogin\u003e:\u003cbranch\u003e`, so Fork CI runs on that fork\u0027s runners and the\nexisting status publisher mirrors the result.\n- A re-run keeps an existing fork branch (it may hold conflict fixes)\nand accepts an already open PR; any other `gh pr create` failure now\nfails the job.\n- Target branches without Fork CI (`branch-1.3`) keep the previous\nbehavior.\n\n### Why are the changes needed?\n\nAuto cherry-pick branches were pushed to apache/gravitino with\n`GITHUB_TOKEN` (`CHERRY_PICK_TOKEN` is not configured), so Fork CI never\nstarted for those PRs, and any CI they did get ran on the scarce ASF\nrunners. Using the merging committer\u0027s fork spreads the load across\nforks instead of making one fork\u0027s concurrency limit the bottleneck.\n\n### Does this PR introduce _any_ user-facing change?\n\nNo. Committers who want cherry-pick PRs opened from their own fork need:\n\n1. A personal-account fork of apache/gravitino named `gravitino`, with\nworkflows enabled in its Actions tab.\n2. A classic PAT with the `public_repo` and `workflow` scopes.\n3. A repository secret `CHERRY_PICK_TOKEN_\u003cLOGIN\u003e` in apache/gravitino\nholding that token.\n\n### How was this patch tested?\n\n- YAML parses and every `run` script passes `bash -n`; the Fork CI\nscript tests pass (`node --test .github/scripts/tests/*.test.cjs`).\n- Ran the head-resolution step locally for `branch-2.0` (fork mode),\n`branch-1.3` (upstream mode) and an invalid login.\n- Ran the token check against the GitHub API with a valid matching\ntoken, a token of another user, a missing token and an invalid token;\nchecked the existing-PR lookup, the `fork-ci.yml` state lookup,\n`ls-remote` detection and the PR body for clean and conflict\ncherry-picks.\n- Not yet run end to end in Actions; the first `branch-2.0` cherry-pick\nafter merge will exercise it.\n\nKnown limitation (pre-existing): cherry-picks that change `.github/`\ncannot get a green Fork CI on a release branch, because trusted runs are\nonly allowed for the default branch.\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e"
    },
    {
      "commit": "5a6af766390d2c0a41a8832ef53f4a71fad97246",
      "tree": "70f1450e108b610d9635ce9112054f7d202c4a45",
      "parents": [
        "f8aa3db00db5cb76bf6c935f77b4aa8c579ebd03"
      ],
      "author": {
        "name": "YangJie",
        "email": "yangjie01@baidu.com",
        "time": "Wed Nov 18 01:23:50 2026 -0500"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 18 14:23:50 2026 +0800"
      },
      "message": "[#14970] improvement(secret): Use stageSecrets for entity create (#14983)\n\n### What changes were proposed in this pull request?\n\nCatalog, schema and fileset create now use the secret lifecycle of\nalter, as #14970 proposes.\n\n- `assembleSecretMaterials` is renamed to `assembleSecretPlaintexts` and\nreturns property key → plaintext.\n- Create passes those plaintexts to `stageSecrets`, now public, with no\nstart properties. The new URNs have no current version, so each first\nversion is current once written and `commitSecrets` switches nothing.\n- `commitSecrets` runs only after the create succeeds, as in alter. A\nfailed create calls `rollbackSecrets(SecretVersionChanges)`, which\ndeletes the written versions, unless the catalog already created the\nschema or fileset, or a stored catalog cannot be removed.\n- `writeSecrets(List)`, `rollbackSecrets(List)` and `SecretMaterial` are\nremoved, and `SecretMaterialsHolder` is renamed to\n`SecretVersionChangesHolder`.\n- `SecretProvider` signatures and `deleteSecretsFromProperties` are\nunchanged; the `writeSecretVersion` Javadoc now says create uses the\nversion methods.\n- Design doc §5.5.3 covers create; the `setProperty` and\n`setSecretBinding` alter rows, stale since #14954, now describe\nversions.\n\n### Why are the changes needed?\n\n`SecretManager` had one lifecycle for create and another for alter, and\n`SecretMaterial` existed only for create. Callers now follow one: stage,\ncommit once the create succeeds, and roll back on failure unless\nsomething that may reference the secrets is left behind.\n\nFix: #14970\n\n### Does this PR introduce _any_ user-facing change?\n\n- A write-through provider that does not implement the version methods\nnow fails at create with `UnsupportedOperationException`, instead of at\nthe first alter of that secret. The SPI is not released yet.\n- If a catalog create fails after the catalog was stored and the catalog\ncannot be removed, the error now says so and asks to drop it with force.\n\n### How was this patch tested?\n\n- `TestSecretManager`: staging and committing a create, rolling back a\nfailed create, and a later binding on a provider without versions\nfailing the stage, which deletes the version written before it.\n- `TestSchemaOperationDispatcher.testSecrets`,\n`TestFilesetOperationDispatcher.testCreateWithSecrets`: a create that\nfails before the entity exists deletes its version.\n-\n`TestFilesetOperationDispatcher.testCreateKeepsSecretsOnceFilesetIsCreated`:\na failure after the catalog created the fileset, inside or after the\ncatalog call, keeps its secret.\n-\n`TestCatalogManager.testFailureAfterCatalogIsStoredKeepsSecretsUntilEntityIsRemoved`:\na failure after `store.put` deletes the secret only if the catalog\nentity is removed, and otherwise reports the leftover catalog.\n\n---------\n\nCo-authored-by: roryqi \u003croryqi@datastrato.com\u003e"
    },
    {
      "commit": "f8aa3db00db5cb76bf6c935f77b4aa8c579ebd03",
      "tree": "664e4b23b2a2d3be4ef6fbecca8a38cdbeea6a9d",
      "parents": [
        "48632d583466eea312812222d7c9729a6758beaa"
      ],
      "author": {
        "name": "Yuhui",
        "email": "hui@datastrato.com",
        "time": "Wed Nov 18 10:54:20 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 18 10:54:20 2026 +0800"
      },
      "message": "[MINOR] fix(spark-connector): Fix Doris Spark 3.5 compilation (#15030)\n\n### What changes were proposed in this pull request?\n\nUse `gravitinoCatalog()` to obtain the catalog for Doris JDBC\ncredentials and remove the obsolete `AuthorizationTable.clear()` call\nfrom the test teardown.\n\n### Why are the changes needed?\n\nThe stale field and method references break Spark 3.5 main and test\ncompilation, preventing CI from running the tests.\n\n### Does this PR introduce _any_ user-facing change?\n\nNo.\n\n### How was this patch tested?\n\n- `./gradlew spotlessApply -PskipWeb\u003dtrue -PskipTrinoConnector\u003dtrue`\n- `./gradlew :spark-connector:spark-3.5:compileJava\n:spark-connector:spark-3.5:test --tests\n\u0027org.apache.gravitino.spark.connector.jdbc.doris.Test*\u0027 -PskipITs\n-PskipWeb\u003dtrue -PskipTrinoConnector\u003dtrue` with JDK 17."
    },
    {
      "commit": "48632d583466eea312812222d7c9729a6758beaa",
      "tree": "a35edff5871835b45040a4f462ab79e54c543b80",
      "parents": [
        "61f58ee54e634b72c5521184893d132103fabb3c"
      ],
      "author": {
        "name": "MaSai",
        "email": "30949009+lasdf1234@users.noreply.github.com",
        "time": "Tue Nov 17 19:38:08 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 17 19:38:08 2026 +0800"
      },
      "message": "[#14999] fix(tms): Submit maintenance jobs as the metalake owner (#15000)\n\n### What changes were proposed in this pull request?\n\nWhen ownership is enabled, TMS cron/commit `submitAndBind` runs `runJob`\nas the metalake owner USER via `PrincipalUtils.doAs`, so `JobManager`\ncan set a real job owner instead of `anonymous`.\n\n`TableMaintenanceRESTFeature` resolves `jobOperationDispatcher` and\n`internalOwnerDispatcher` from `GravitinoEnv` and passes them into\n`MaintenanceJobManager.getInstance(...)`.\n\nWhen ownership is disabled (`internalOwnerDispatcher` is null), behavior\nis unchanged because `JobManager` already skips `setOwner`.\n\n### Why are the changes needed?\n\nScheduler threads have no authenticated subject.\n`JobManager.registerAndSubmit` then sets the job owner to `anonymous`.\nIf that user does not exist in the metalake, TMS submit fails and no\nmaintenance job runs.\n\nFixes #14999\n\n### Does this PR introduce _any_ user-facing change?\n\nNo API change. TMS background jobs are owned by the metalake owner user\nwhen ownership is enabled.\n\n### How was this patch tested?\n\n- `./gradlew :plugins:maintenance:compileJava :plugins:maintenance:test\n-PskipITs -PskipDockerTests\u003dtrue`\n\nMade with [Cursor](https://cursor.com)\n\n---------\n\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e"
    },
    {
      "commit": "61f58ee54e634b72c5521184893d132103fabb3c",
      "tree": "7e756e62a21329fc03ec1647b6ec1f563c675d07",
      "parents": [
        "23f1d861ea0f93f870f87b5c52c6619e94087e09"
      ],
      "author": {
        "name": "ZIHAN DAI",
        "email": "99155080+PDGGK@users.noreply.github.com",
        "time": "Tue Nov 17 22:16:19 2026 +1100"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 17 19:16:19 2026 +0800"
      },
      "message": "[#5719] fix(paimon): Store the schema comment when creating a Paimon schema (#14573)\n\n### What changes were proposed in this pull request?\n\n`PaimonSchema.toPaimonProperties()` now returns a copy of the schema\nproperties with the schema comment added under the reserved `comment`\nproperty. `PaimonCatalogOperations.createSchema` passes this map to\nPaimon\u0027s `createDatabase`, so the comment is written to the Paimon\ndatabase.\n\n`comment` is the key Paimon defines for database comments\n(`Catalog.COMMENT_PROP`), and it is the key\n`PaimonSchema.fromPaimonProperties` already reads in `loadSchema`.\n`IcebergSchema.toCreateRequest` stores the comment of an Iceberg\nnamespace the same way.\n\n### Why are the changes needed?\n\nA Paimon schema created with a comment loses the comment. The create\nresponse still shows it, because that response is built from the\nrequest. But `createSchema` passed only the user properties to Paimon,\nso the comment was never stored, and every later load returns `comment:\nnull`. #5719 shows this on the JDBC backend.\n\nThe Paimon catalog docs say that only the filesystem backend cannot\nstore schema comments, but the code dropped them on every backend. This\nchange makes the code match the docs. The catalog already declares\n`comment` as a reserved, hidden schema property, and `loadSchema`\nalready reads it from there.\n\nReproduction on the 1.3.1 Docker image (`apache/gravitino:1.3.1`), with\na Paimon catalog using `catalog-backend\u003djdbc` on PostgreSQL 16:\n\n```\nPOST /api/metalakes/repro_ml/catalogs/paimon_jdbc/schemas\n     {\"name\":\"sales\",\"comment\":\"Sales data owned by the finance team\",\"properties\":{\"owner-team\":\"finance\"}}\n  -\u003e code\u003d0 name\u003dsales comment\u003d\u0027Sales data owned by the finance team\u0027 properties\u003d{\u0027owner-team\u0027: \u0027finance\u0027}\n\nGET  /api/metalakes/repro_ml/catalogs/paimon_jdbc/schemas/sales\n  -\u003e code\u003d0 name\u003dsales comment\u003dNone properties\u003d{\u0027owner-team\u0027: \u0027finance\u0027, \u0027location\u0027: \u0027file:/tmp/paimon_wh/sales.db\u0027}\n\nSELECT property_key, property_value FROM paimon_database_properties WHERE database_name \u003d \u0027sales\u0027;\n exists               | true\n gravitino.identifier | gravitino.v1.uid3161155087733269982\n location             | file:/tmp/paimon_wh/sales.db\n owner-team           | finance\n```\n\nI then compiled this change into\n`gravitino-catalog-lakehouse-paimon-1.3.1.jar` and repeated the same\nsteps on the same image. `PaimonSchema.java` is identical on 1.3.1 and\n`main`.\n\n```\nGET  /api/metalakes/repro_ml/catalogs/paimon_jdbc/schemas/sales\n  -\u003e code\u003d0 name\u003dsales comment\u003d\u0027Sales data owned by the finance team\u0027 properties\u003d{\u0027owner-team\u0027: \u0027finance\u0027, \u0027location\u0027: \u0027file:/tmp/paimon_wh/sales.db\u0027}\n\nSELECT property_key, property_value FROM paimon_database_properties WHERE database_name \u003d \u0027sales\u0027;\n comment              | Sales data owned by the finance team\n exists               | true\n gravitino.identifier | gravitino.v1.uid3969426464095332289\n location             | file:/tmp/paimon_wh/sales.db\n owner-team           | finance\n```\n\nFixes #5719\n\n### Does this PR introduce _any_ user-facing change?\n\nYes. On backends that store database properties, a schema comment is now\npersisted and returned when the schema is loaded. This was checked on\nthe JDBC backend. Paimon\u0027s `HiveCatalog` maps the same `comment`\nproperty to the Hive database description, but I did not run this change\nagainst a Hive metastore.\n\nThe filesystem backend behaves as before: Paimon logs that it cannot\nstore database properties and discards them, as the docs already say.\n`comment` stays hidden from the returned schema properties. There are no\nAPI or property key changes.\n\n### How was this patch tested?\n\n- The new test `TestPaimonSchema#testLoadSchemaCommentWithJdbcBackend`\ncreates one schema with a comment and one without on a JDBC backend\n(in-memory H2), then loads both back. Without the change, it fails with\n`expected: \u003ccomment\u003e but was: \u003cnull\u003e`.\n- `./gradlew :catalogs:catalog-lakehouse-paimon:test -PskipITs`, run\nwith `--tests` for `TestPaimonSchema`, `TestPaimonCatalog`,\n`TestGravitinoPaimonTable`, `TestPaimonCatalogPropertiesMetadata` and\n`ops.TestPaimonCatalogOps`: 47 tests, 0 failures.\n- `./gradlew :catalogs:catalog-lakehouse-paimon:spotlessCheck\n:catalogs:catalog-lakehouse-paimon:javadoc` passes.\n- I ran the manual check on the 1.3.1 image shown above. On the same\npatched server, I also checked two other cases:\n- A filesystem-backend catalog still creates a schema with a comment,\nand loading it returns no comment, as before.\n- A JDBC schema created without a comment loads with `comment\u003dNone` and\nhas no `comment` row in the database.\n- I left the Paimon integration tests (`CatalogPaimon*IT`) to CI."
    },
    {
      "commit": "23f1d861ea0f93f870f87b5c52c6619e94087e09",
      "tree": "94c06e0e8543dd47ae9b3084f6f70449d3874799",
      "parents": [
        "67b152fcb10e50ea736c63dda4ab89381afa2228"
      ],
      "author": {
        "name": "MaSai",
        "email": "30949009+lasdf1234@users.noreply.github.com",
        "time": "Tue Nov 17 19:15:28 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 17 19:15:28 2026 +0800"
      },
      "message": "[#10587] fix(tms): Iceberg system-function predicates with CALL-safe literals (#14883)\n\n### What changes were proposed in this pull request?\n\nStrategy compaction builds `where_clause` via `PartitionUtils` for\n`rewrite_data_files`. This PR:\n\n- Emits Iceberg Spark system-function predicates\n(`years`/`months`/`days`/`hours`, `bucket(N, col)`, `truncate(W, col)`)\nso Iceberg can push them down.\n- Uses single-quoted typed/string literals so predicates stay valid when\n`spark.sql.ansi.doubleQuotedIdentifiers` is enabled; embeds them in\n`CALL ... where \u003d\u003e \u0027...\u0027` with Spark `\\\u0027` escaping\n(`escapeSparkCallStringArg`).\n- Accepts **ISO `yyyy-MM-dd` only** for day-transform partition values\n(rejects epoch-day / compact forms at `where_clause` build time).\n- Sets `spark.sql.defaultCatalog` from `catalog_name` (template +\n`ensureIcebergCatalogConfigs` on rewrite/maintenance) so bare\n`years()`/`days()` resolve on the Iceberg catalog.\n- Requires `spark.sql.parser.escapedStringLiterals\u003dfalse` for built-in\nIceberg jobs.\n\n### Why are the changes needed?\n\nFixes #10587\n\n`submit-strategy-jobs` for compaction on non-identity partitions failed\nwith untranslatable Spark builtins / unsafe CALL quoting / missing\nfunction resolution against `spark_catalog`. Related broader work\nremains in #10358.\n\n### Does this PR introduce _any_ user-facing change?\n\nYes.\n\n- Strategy `where_clause` strings use Iceberg system-function forms and\nsingle-quoted literals (for example `days(ts) \u003d DATE \u00272024-01-01\u0027`,\n`years(ts) \u003d 54`).\n- Non-ISO day partition values fail while building `where_clause`\n(before submit); refresh with `update-stats`.\n- `spark_conf` must not set `spark.sql.defaultCatalog` (job sets it from\n`catalog_name`); `escapedStringLiterals` must remain `false`.\n\n### How was this patch tested?\n\n- `./gradlew :maintenance:jobs:test :maintenance:optimizer-api:test\n:maintenance:optimizer:test -PskipITs -PskipDockerTests\u003dtrue`\n- Includes O\u0027Brien dual-partition CALL regression and four ANSI mode\ncombinations for string/DATE predicates\n- `./gradlew spotlessApply`\n\n---------\n\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e"
    },
    {
      "commit": "67b152fcb10e50ea736c63dda4ab89381afa2228",
      "tree": "ba9e4aec27ae1c55598a74061dc4d6db2474f4b1",
      "parents": [
        "b94c3066a98736106c80875684c0a89bf2933c53"
      ],
      "author": {
        "name": "Yuhui",
        "email": "hui@datastrato.com",
        "time": "Tue Nov 17 19:14:42 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 17 19:14:42 2026 +0800"
      },
      "message": "[#13560] docs: Document Paimon Iceberg visibility for primary-key tables (#14994)\n\n### What changes were proposed in this pull request?\n\nThis PR supersedes #13711 (closed by its author) and fixes #13560 with\nthe same documentation change, rebased onto the current main. Credit\ngoes to @dennismdejong, who remains the commit author.\n\n- `docs/lakehouse-paimon-catalog.md`: new \"Iceberg Compatibility\"\nsection describing `metadata.iceberg.storage` \u003d `rest-catalog` usage\nwith the Iceberg REST service, the primary-key publication rule, and the\nways to establish a visibility boundary (full compaction,\n`compaction.optimization-interval` / `full-compaction.delta-commits`,\ndeletion-vector mode).\n- `docs/iceberg-rest-service.md`: note next to the managed-table-type\ntable that metadata is served as the producing engine published it,\nlinking to the new section.\n\n### Why are the changes needed?\n\nUsers following the Paimon and Iceberg REST setup see later inserts\nmissing from the Iceberg view and report it as a Gravitino bug (#13560).\nFor a primary-key table, Paimon\u0027s Iceberg metadata publication only\nincludes data files merged to the highest LSM level for incremental\ncommits, so plain `INSERT`s stay invisible to Iceberg readers until a\nfull compaction. Documenting the publication rule and the compaction\nremedies answers the report without a code change.\n\nFixes #13560\n\n### Does this PR introduce _any_ user-facing change?\n\nDocs only, no behavior change.\n\n### How was this patch tested?\n\nDocs-only change. Verified the new relative links and their anchors\nresolve to existing headings, and the external Paimon documentation\nlinks return HTTP 200. Docs audit scripts (title/H2, intro, heading\nhierarchy and spacing) report no issues for the changed files. The\ndescribed behavior was reproduced with Apache Paimon 1.4.1 (details in\n#13711).\n\n---------\n\nCo-authored-by: dennismdejong \u003cdennis@caberdo.nl\u003e"
    },
    {
      "commit": "b94c3066a98736106c80875684c0a89bf2933c53",
      "tree": "58af392b1f73caddb2ce60019b9c5c7b91e1597b",
      "parents": [
        "6d60ec058fb7d60304f052b98d83fd56dd5bbb17"
      ],
      "author": {
        "name": "geyanggang",
        "email": "geyanggang@qq.com",
        "time": "Tue Nov 17 19:13:22 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 17 19:13:22 2026 +0800"
      },
      "message": "[#14962] improvement(deps): Update kafka-clients to 3.9.2 (#14963)\n\n### What changes were proposed in this pull request?\n- Update `kafka` from 3.4.0 to 3.9.2 in `gradle/libs.versions.toml`. It\ndrives `kafka-clients` (Kafka catalog) and `kafka_2.12` (test only).\n- Document the Kafka client upgrade, the rejected properties and the\nmigration steps in the docs.\n- Declare `at.yawk.lz4:lz4-java` 1.11.4 and `snappy-java` 1.1.10.12 as\ndirect `runtimeOnly` dependencies of the Kafka catalog, so the published\nPOM also resolves the patched versions for Maven consumers.\n- `NOTICE.bin`: keep the existing `Apache Kafka` / `2011-2023` entry\n(the `Bytes` attribution that `gravitino-core` still ships) and add an\n`Apache Kafka (kafka-clients)` entry with the `2026` line and the\n`PureJavaCrc32C` (Intel) attribution from the NOTICE in the\n`kafka-clients` 3.9.2 jar.\n- `LICENSE.bin` and `licenses/`: list `LZ4 Java (at.yawk.lz4 fork)` and\nthe bundled native LZ4, xxHash and Zstandard code, and add\n`licenses/lz4.txt` and `licenses/zstd-native.txt`. The `lz4-java` 1.11.4\nand `zstd-jni` 1.5.6-4 jars bundle native libraries and ship no license\nfiles.\n- Remove the `kafka-clients@3.4.0` exemption from\n`.github/trivy/trivyignore.yaml`.\n- In the Kafka catalog tests, `KafkaClusterEmbedded` and `KafkaEmbedded`\nnow use the plain broker configuration keys instead of the Scala\n`KafkaConfig` property accessors, which no longer exist in 3.9.\n- Reject `gravitino.bypass.config.providers` and\n`gravitino.bypass.config.providers.*` in the Kafka catalog:\n`KafkaCatalog.validateConfiguration` rejects them on create,\n`testConnection` and alter, and `KafkaCatalogOperations.initialize`\nrejects them before the AdminClient is created (this also covers\n`kafka.conf` and catalogs persisted before the upgrade). Kafka 3.5+\nships `EnvVarConfigProvider`, and any provider can read the server\u0027s\nenvironment or files.\n\n### Why are the changes needed?\nMove `kafka-clients` to the latest patch release of the 3.9 line. The\n3.9 client stays wire-compatible with older brokers. The runtime\nclasspath of the Kafka catalog changes only in: `kafka-clients` 3.9.2,\n`zstd-jni` 1.5.2-1 to 1.5.6-4, and `org.lz4:lz4-java` 1.8.0 replaced by\n`at.yawk.lz4:lz4-java` (the maintained fork that Kafka 3.9.2 depends on,\nsame `net.jpountz.lz4` package). The fork is declared in the Kafka\ncatalog as 1.11.4, because the 1.10.1 that Kafka declares is affected by\nGHSA-mcr4-qmvw-px4g (CVE-2026-106451). `snappy-java` stays at 1.1.10.12\n(Kafka declares 1.1.10.5); the root build already forces it for the\ndistribution, and the new direct dependency also puts it in the\npublished POM. `lz4-java` used by the ClickHouse contrib test is a\nseparate catalog entry and is unchanged.\n\nFix: #14962\n\n### Does this PR introduce _any_ user-facing change?\nYes. The Kafka catalog now rejects `gravitino.bypass.config.providers`\nand `gravitino.bypass.config.providers.*` (this also stops `${file:...}`\nand `${directory:...}` references, which worked with the 3.4 client),\nand the Kafka 3.9 client rejects `LdapLoginModule` in JAAS\nconfigurations by default (`JndiLoginModule` was already rejected by\n3.4), including the `KafkaClient` entry of\n`java.security.auth.login.config`. These are documented in\n`docs/migration-guide.md`, `docs/kafka-catalog.md` and\n`docs/gravitino-server-config.md`, and the Kafka documentation links now\npoint to 3.9.\n\n### How was this patch tested?\n- `at.yawk.lz4:lz4-java` resolves to 1.11.4 in the runtime and test\nruntime classpaths, and the packaged `lz4-java-1.11.4.jar` round-trips\nLZ4, Snappy and Zstd record batches with `kafka-clients` 3.9.2. OSV\nreports no vulnerability for 1.11.4.\n- `dependencies` for `:catalogs:catalog-kafka` (runtime and test\nruntime) compared before and after.\n- `./gradlew :catalogs:catalog-kafka:test -PskipITs` passes (using the\nembedded broker on 3.9.2).\n- `./gradlew :catalogs:catalog-kafka:test -PskipDockerTests\u003dfalse\n--tests \u0027*CatalogKafkaIT\u0027` passes (against `apache/kafka:3.7.0`).\n- New unit tests `testInitializeRejectsConfigProviders`,\n`testValidateConfigurationRejectsConfigProviders` and\n`testInitializeKeepsOtherBypassConfigs`, and ITs\n`testConnectionRejectsConfigProviders` and\n`testCreateAndAlterCatalogRejectConfigProviders`. The rejection tests\nfail without the change.\n- Module tests: 26 unit tests (embedded broker) pass after the last\ndependency and license changes; `spotlessCheck`, `rat` and `:docs:build`\npass. The 12 `CatalogKafkaIT` tests passed before the `lz4-java` and\n`snappy-java` declarations were added and were not rerun.\n- The generated POM of the Kafka catalog was resolved with Maven: the\nruntime tree has `lz4-java` 1.11.4, `snappy-java` 1.1.10.12 and\n`zstd-jni` 1.5.6-4. OSV lists no vulnerability for these versions."
    },
    {
      "commit": "6d60ec058fb7d60304f052b98d83fd56dd5bbb17",
      "tree": "0c9921837fec8033115b811c92907f7cd60e3f69",
      "parents": [
        "5f5455b1b603a6f56f7683a92ea268824d0c458d"
      ],
      "author": {
        "name": "geyanggang",
        "email": "geyanggang@qq.com",
        "time": "Tue Nov 17 19:12:33 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 17 19:12:33 2026 +0800"
      },
      "message": "[#15002] improvement(deps): Exclude the unused JLine library pulled in by Kerby from the server package (#15003)\n\n### What changes were proposed in this pull request?\n\n- Exclude `org.jline` from `libs.bundles.kerby` in\n`server-common/build.gradle.kts`, the same way\n`iceberg/iceberg-common/build.gradle.kts` already does.\n- Remove the `jline-builtins@3.22.0` and `jline-remote-telnet@3.22.0`\npurls from `.github/trivy/trivyignore.yaml`. The `3.9.0` purls stay,\nthey come from the Hive metastore 2 libs.\n\n### Why are the changes needed?\n\n`org.jline:jline` 3.22.0 came in through `kerb-simplekdc` -\u003e\n`kerb-admin` (Kerby 2.0.3) and was packaged as `libs/jline-3.22.0.jar`\nin the server. In Kerby 2.0.3 only `RemoteAdminClientTool` (the\ninteractive admin command line tool) references JLine. The server only\nuses `Keytab` and `PrincipalName`, so the library is unused.\n\nFix: #15002\n\n### Does this PR introduce _any_ user-facing change?\n\nNo. `jline-3.22.0.jar` is no longer in the server `libs` directory.\n\n### How was this patch tested?\n\n- Compared the `runtimeClasspath` of `:server` and `:lineage` before and\nafter: the only difference is the removal of `org.jline:jline:3.22.0`.\n- Scanned all Kerby 2.0.3 jars: `RemoteAdminClientTool` is the only\nclass that references `org/jline`.\n- `./gradlew :server:compileTestJava :lineage:compileJava\n:iceberg:iceberg-rest-server:compileJava` passes.\n- `./gradlew :server-common:test -PskipITs` passes except for\n`TestHttpsServerAuthentication` mutual TLS tests, which also fail\nwithout this change.\n- `./gradlew :server-common:spotlessCheck`, `.github/trivy/scan.sh\ncheck-exemptions` and `node --test .github/scripts/tests/*.test.cjs`\npass."
    },
    {
      "commit": "5f5455b1b603a6f56f7683a92ea268824d0c458d",
      "tree": "8733fd2dde1c5a3d61daee097e87f93d52d5ff76",
      "parents": [
        "083050e156d1657149e40cdfca6526f7928428df"
      ],
      "author": {
        "name": "Thunderkeg",
        "email": "jiangxt2@vip.qq.com",
        "time": "Tue Nov 17 18:24:53 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 17 18:24:53 2026 +0800"
      },
      "message": "[#13489] feat(spark-connector): Add the governed Doris batch-read baseline (#13493)\n\n# [#13489] feat(spark-connector): Add the governed Doris batch-read\nbaseline\n\n### What changes were proposed in this pull request?\n\nThis pull request adds a governed Apache Doris batch-read baseline for\nthe Gravitino Spark connector.\n\n- Add the explicit `spark.sql.gravitino.enableDorisSupport` opt-in for\nSpark 3.5 / Scala 2.12.\n- Preserve the existing generic JDBC path when the opt-in is disabled or\nwhen another JDBC provider is used.\n- Add a specialized read-only Doris catalog facade that requires vended\nJDBC credentials and catalog-managed JDBC URL and driver properties.\n- Preserve existing `spark.bypass.*` catalog properties and ordinary\nSpark JDBC read options. Match application overrides ignoring key case\nwhile preserving native JDBC property spelling, such as `connectTimeout`\nand `sslMode`, when forwarding to the driver.\n- Reject protected connection, credential, table/query, and Spark\ninitialization-SQL options in application catalog/scan options and\ncatalog `spark.bypass.*` properties, including the driver options\n`dbname` and `createDatabaseIfNotExist`.\n- Validate ordinary Doris tables against FE `SHOW COLUMNS` metadata and\nJDBC metadata, selecting only the requested database and exact table and\nchecking column order, names, ordinary type signatures, and nullability.\n- Use the Spark table\u0027s `JDBCOptions` and dialect connection factory for\nphysical schema validation, preserving the configured driver and\nconnection properties, including SSL settings and connection timeouts.\n- Accept the confirmed `SMALLINT` representation difference only when FE\nand JDBC report `SMALLINT`, the logical Spark type is `ShortType`, and\nSpark JDBC metadata uses `IntegerType`. Keep `ShortType` scans through\nthe existing JDBC table and converter, with all other schema checks\nretained.\n- Redact failures from the first Spark JDBC physical-schema load and\nDoris metadata validation: omit raw messages, causes, and suppressed\nexceptions, and retain the failure stage and available safe\nSQLState/vendor diagnostics. Missing-driver `ClassNotFoundException`\ninitialization failures remain diagnosable.\n- Fail closed for unsupported types and metadata mismatches, and reject\nSpark writes and catalog DDL through the specialized Doris path.\n- Add documentation, focused unit tests, and Doris integration tests for\nthe read contract.\n\nColumn names/order, FE/JDBC signatures, and nullability remain\nvalidated. `CHAR` and `FLOAT` are rejected because their Gravitino\nlogical types differ from the types exposed by Spark JDBC.\n\nThe existing Spark JDBC V2 delegate determines supported pushdowns and\npartitioned reads. Doris-specific optimizations and routing for\naggregates, Top-N, limits, offsets, and partitioned reads, plus native\ntablet reads, special-type normalization, and write support, are outside\nthis PR.\n\n### Why are the changes needed?\n\nA Doris-specific entry point is needed to require vended credentials,\nvalidate the physical schema, and expose read-only capabilities. Keeping\nthis path opt-in preserves the existing JDBC behavior by default.\nPhysical schema checks need the table\u0027s effective Spark JDBC\nconfiguration, and existing catalog bypass settings need to remain\neffective in the specialized path.\n\nNative Connector/J property names must retain their exact spelling for\ntimeout and TLS settings to remain effective. The first Spark JDBC\nschema load precedes Doris validation and also needs redaction because\nSpark can include the full JDBC URL in connection errors. Rejecting\nknown database-target and automatic-creation options helps contain\nconnection side effects.\n\nIn Spark 3.5.3, JDBC metadata represents `SMALLINT` as `IntegerType`,\nwhile the existing Gravitino JDBC table scans it as `ShortType` using\n`getShort()`. Recognizing this specific difference avoids rejecting\nvalid `SMALLINT` columns and preserves their Spark type. The rule is\nconfined to the Doris validator and does not change shared\nmethod/interface contracts.\n\nThe specialized path uses MySQL Connector/J to access the Doris FE MySQL\nprotocol. The driver and other required runtime dependencies remain\nexternal to the connector artifact and must be available on the Spark\ndriver and executors.\n\nFix: #13489\n\nPart of: #12846\n\n### Does this PR introduce _any_ user-facing change?\n\nYes.\n\n- Adds the `spark.sql.gravitino.enableDorisSupport` Spark configuration\nkey. Its default is `false`.\n- When enabled for a `jdbc-doris` catalog, the connector selects the\ngoverned read-only Doris path.\n- The specialized path requires a vended JDBC credential and\ncatalog-managed JDBC URL and driver properties.\n- Existing `spark.bypass.*` catalog properties supply ordinary JDBC\ndefaults; application options take precedence when keys match ignoring\ncase. Spark read-option names are case-insensitive, but native\nConnector/J properties must use exact driver spelling, such as\n`connectTimeout` and `sslMode`.\n- Application catalog/scan options and catalog `spark.bypass.*`\nproperties cannot override the connection URL, driver, credentials, or\ntable/query target, or supply Spark\u0027s\n`prepareQuery`/`sessionInitStatement` or the driver\u0027s\n`dbname`/`createDatabaseIfNotExist`.\n- `SMALLINT` remains Spark `ShortType`, matching generic reads of the\nsame Doris table.\n- Doris `DATETIME` is exposed as Spark `TimestampType`; string rendering\nfollows `spark.sql.session.timeZone`.\n- Writes and Spark catalog DDL are rejected for the specialized Doris\npath.\n- Generic JDBC behavior for other providers and for `jdbc-doris` without\nthe opt-in remains unchanged.\n\nRead-only capabilities reject Spark writes and catalog DDL; they do not\nguarantee that arbitrary JDBC driver configuration is free of connection\nor session side effects. Vended database credentials should have only\nthe required read and metadata permissions.\n\nApplications must keep\n`org.apache.spark.sql.execution.datasources.jdbc.connection` logging at\n`INFO` or higher and disable JDBC driver connection/protocol tracing on\nboth Spark drivers and executors. Adapter redaction covers\nphysical-schema loading and validation errors; it does not sanitize\narbitrary third-party logs or executor exception chains. The Doris\ndocumentation includes a Log4j 2 configuration example.\n\n### How was this patch tested?\n\nLocal validation used Corretto 17.0.18, Gradle 8.2, Spark 3.5.3 / Scala\n2.12, MySQL Connector/J 8.0.33, and Doris 3.0.6.2 Docker fixtures.\nGravitino ran in embedded test mode.\n\n- Module Spotless, RAT, and `git diff --check` passed.\n- The four affected suites, `TestDorisPhysicalSchemaValidator35`,\n`TestDorisPropertiesConverter35`, `TestDorisReadOnlyTable35`, and\n`TestGravitinoDorisCatalogSpark35`, passed **26 unit tests**, with zero\nfailures, errors, or skips.\n- Unit coverage includes schema/SMALLINT guards, actual\n`driver.connect(Properties)` inputs, native property spelling and\noverride precedence, protected options at\napplication/catalog-bypass/scan boundaries, missing credentials and\ndriver classes, first-load redaction (URL, nested cause, and suppressed\ndetails), authorization before physical access, read-only/DDL rejection,\nresource closure, and safe diagnostics. TLS checks cover property\nforwarding and precedence only.\n- Generic/specialized registration and fallback checks also passed in\n`TestGravitinoDriverPlugin`.\n- The complete `SparkJdbcDorisReadBaselineIT35` suite passed **22\nDoris-backed tests**, with zero failures, errors, or skips: 15\nparameterized scalar spelling cases, one `SMALLINT` generic/specialized\ncomparison, and six other read-contract regression tests.\n- All **16 allowlisted type spellings** are covered: `BIGINT`,\n`BOOLEAN`, `DATE`, `DATEV2`, plain `DATETIME`, `DATETIMEV2(0)`,\n`DECIMAL(10,2)`, `DECIMALV3(20,4)`, `DOUBLE`, `INT`, `INTEGER`,\n`SMALLINT`, `STRING`, `TEXT`, `TINYINT`, and `VARCHAR(64)`. Each has\n`NOT NULL` and nullable columns, non-null values, and actual `NULL`\nvalues. Aliases may resolve to the same FE/JDBC metadata type.\n- The `SMALLINT` comparison reads the same Doris table through generic\nand specialized catalogs, checking both catalog classes, Spark\n`ShortType`, Java `Short` values, the signed bounds `-32768` and\n`32767`, column nullability, and actual `NULL` values.\n- Other IT checks cover specialized catalog registration, scalar query\nresults, exact database/table metadata selection despite `_` pattern\nmatches and same-named tables in another database, write-aware load\nrejection, and unsupported `JSON` rejection. The bypass-option test\nverifies correct results, zero pushed predicates, and a retained Spark\nresidual filter when `spark.bypass.pushDownPredicate\u003dfalse`. The suite\nalso runs with a catalog-level native `connectTimeout` default and an\napplication override.\n\nThe Doris suite is tagged `doris-multi-version` and was run locally with\n`-PdorisMultiVersionTest`; default Spark CI excludes that tag.\n\nValidation commands:\n\n```bash\ngit diff --check\n\n./gradlew :spark-connector:spark-3.5:spotlessCheck rat\n\n./gradlew :spark-connector:spark-3.5:test \\\n  --tests org.apache.gravitino.spark.connector.jdbc.doris.TestDorisPhysicalSchemaValidator35 \\\n  --tests org.apache.gravitino.spark.connector.jdbc.doris.TestDorisPropertiesConverter35 \\\n  --tests org.apache.gravitino.spark.connector.jdbc.doris.TestDorisReadOnlyTable35 \\\n  --tests org.apache.gravitino.spark.connector.jdbc.doris.TestGravitinoDorisCatalogSpark35 \\\n  -PskipITs\n\n./gradlew :spark-connector:spark-3.5:test \\\n  --tests org.apache.gravitino.spark.connector.plugin.TestGravitinoDriverPlugin \\\n  -PskipITs\n\n./gradlew :spark-connector:spark-3.5:test \\\n  --tests org.apache.gravitino.spark.connector.integration.test.jdbc.SparkJdbcDorisReadBaselineIT35 \\\n  -PskipDockerTests\u003dfalse -PtestMode\u003dembedded -PdorisMultiVersionTest\n```\n\n---------\n\nSigned-off-by: jiangxt2 \u003cjiangxt2@vip.qq.com\u003e"
    },
    {
      "commit": "083050e156d1657149e40cdfca6526f7928428df",
      "tree": "d4f1ee28b6ceb74ed5a20fe5927fa37e35deb1d1",
      "parents": [
        "f7cf7d502af067d55dce9c5d1c47dc39c245ce39"
      ],
      "author": {
        "name": "geyanggang",
        "email": "geyanggang@qq.com",
        "time": "Tue Nov 17 18:19:29 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 17 18:19:29 2026 +0800"
      },
      "message": "[#15008] improvement(bundles): Update jettison in the Iceberg Aliyun bundle to 1.5.4 (#15009)\n\n### What changes were proposed in this pull request?\n- Declare `libs.jettison` (1.5.4) directly in\n`bundles/iceberg-aliyun-bundle/build.gradle.kts`.\n- Remove the `jettison@1.1` entries from\n`.github/trivy/trivyignore.yaml`.\n### Why are the changes needed?\n`aliyun-sdk-oss` 3.10.2 pulls in `jettison` 1.1. The `aliyun-bundle`\nalready resolves `jettison` to 1.5.4 through `hadoop-aliyun`, so this\naligns the Iceberg Aliyun bundle with it.\nFix: #15008\n### Does this PR introduce _any_ user-facing change?\nNo.\n### How was this patch tested?\n- `dependencyInsight` on `:bundles:iceberg-aliyun-bundle` shows\n`jettison:1.1 -\u003e 1.5.4`. The generated POM lists `jettison:1.5.4` as a\nruntime dependency.\n- `./gradlew :bundles:iceberg-aliyun-bundle:build -PskipITs` passes. The\nshadow jar contains `META-INF/maven/org.codehaus.jettison/jettison`\n1.5.4.\n- `aliyun-sdk-oss` 3.10.2 uses only `JSONObject` (`new\nJSONObject(String)`, `new JSONObject(Map)`, `has`, `get`, `getString`,\n`keys`, `toString`) and `JSONException`. A smoke test against the shadow\njar exercised all of them.\n- `spotlessCheck`, `.github/trivy/scan.sh check-exemptions` and `node\n--test .github/scripts/tests/*.test.cjs` pass."
    },
    {
      "commit": "f7cf7d502af067d55dce9c5d1c47dc39c245ce39",
      "tree": "c208a6717a8b9742c8d84b9c4555739567a9b303",
      "parents": [
        "8cc6b015352fd2b64b74d53ae4fc2c55ee6bc206"
      ],
      "author": {
        "name": "Qi Yu",
        "email": "yuqi4733@gmail.com",
        "time": "Tue Nov 17 18:02:37 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 17 18:02:37 2026 +0800"
      },
      "message": "[MINOR] fix(ci): Accept recovered partial Fork CI reruns (#14990)\n\n### What changes were proposed in this pull request?\n\nFix Fork CI status reporting after partial reruns, while keeping\nincomplete evidence non-green and retryable.\n\n- Retain successful jobs from earlier attempts. Ignore nonmatching\nRequired CI summaries only when they are provably older than the\nmatching gate. A successful gate cannot cover newer prerequisite/suite\njobs; overriding an unsuccessful rerun aggregate requires the current\nattempt\u0027s gate.\n- Recheck future/stale job snapshots, old unsuccessful jobs, unfinished\nresults, and unsuccessful aggregates without corresponding unsuccessful\njob evidence. Preserve current authoritative failures even when CI\ndefinitions changed; do not replace them with a trusted-verification\nrequest.\n- Validate the actual tested base. Treat comparison HTTP 404 as\nunaccepted ancestry, while preserving transient API errors for retry.\n- Identify trusted reruns using current context: explicit other-head\nsummaries supersede retained exact gates; missing current context cannot\nsettle a newer failure against an older gate. Successful watcher-only\nreruns may retain their earlier successful gate.\n- Record the PR base branch/SHA in status URLs so retargets and legacy\nlinks refresh correctly. Preserve publication ordering within the same\nbase context, status deduplication, and cheap probes after settlement.\nLog detailed recovery instructions with the PR number.\n\nA watcher-only rerun with an unsuccessful aggregate and an older gate\nmust rerun Required CI too. This conservative boundary and continued\npolling costs are documented in CONTRIBUTING. Attention retries use the\nexisting sweep cadence, API budget and PR rotation.\n\n### Why are the changes needed?\n\nIn #14981, required tests passed after partial reruns but retained\nauxiliary cancellations kept the run cancelled. Separate run/job API\nsnapshots also exposed premature success, failure attribution and\nsettlement errors. The final full review additionally found retained\ntrusted gates obscuring another head\u0027s context and incomplete\nfirst-attempt cancellations preventing automatic recovery.\n\n### Does this PR introduce _any_ user-facing change?\n\nThe Fork CI commit status recovers when required tests pass despite\nretained auxiliary cancellations. Incomplete evidence stays retryable,\nauthoritative current failures remain visible, CI-definition edits still\nrequire trusted verification, and base retargets refresh stale statuses.\nGitHub\u0027s raw workflow conclusion is unchanged.\n\n### How was this patch tested?\n\n- Final head: 140 Fork CI tests passed, none skipped. All script tests:\n172 passed, 18 unrelated CVE-policy tests skipped because `yq` is\nunavailable.\n- Service and scheduled-publisher regressions cover both forks/trusted\nruns, changed/unchanged definitions, attempt ordering, partial\nvisibility, transient errors, ancestry, retargets, deduplication and\nsettlement. Inconsistent aggregate fixtures now have dedicated recovery\ntests rather than being treated as authoritative failures.\n- Reverting the three latest fixes makes their targeted regressions\nfail: two tests for retained other-head gates, one matrix test for\nunexplained unsuccessful aggregates, and one matrix test for delayed\ntrusted context. An additional 2,112 invariant cases check failure\nvisibility and job-history ordering.\n- A fresh-context reviewer audited the final cumulative diff, production\nworkflow/resolve/publisher consumers, fixtures and status protocol, and\nfound no remaining Blocker/Important findings. Prior individual-comment\nand HTTP-404 evidence is recorded in [the review\nthread](https://github.com/apache/gravitino/pull/14990#discussion_r4596152730).\n- Real retained-gate workflows: [yuqi1129 attempt\n2](https://github.com/yuqi1129/gravitino/actions/runs/44032785438/attempts/2),\n[timelyflow attempt\n2](https://github.com/timelyflow/gravitino/actions/runs/44032789710/attempts/2).\nLive records reproduce the old implementation hiding current fork\nfailures; the final publisher writes actual failure statuses. Subsequent\n[yuqi1129](https://github.com/yuqi1129/gravitino/actions/runs/44033215942)\nand\n[timelyflow](https://github.com/timelyflow/gravitino/actions/runs/44033220682)\nsuccesses recover and deduplicate.\n- Real first-attempt watcher-only cancellations:\n[yuqi1129](https://github.com/yuqi1129/gravitino/actions/runs/44033325228),\n[timelyflow](https://github.com/timelyflow/gravitino/actions/runs/44033329107).\nWith successful suites/gate and a cancelled watcher/aggregate, hiding\nthen revealing job evidence verifies attention → success at the same\nrun/attempt, continued jobs reads while incomplete, deduplicated writes,\nand restored settled probes.\n- Real failed trusted-context reruns: [yuqi1129 attempt\n2](https://github.com/yuqi1129/gravitino/actions/runs/44033710377/attempts/2),\n[timelyflow attempt\n2](https://github.com/timelyflow/gravitino/actions/runs/44033714810/attempts/2).\nHiding then revealing the current other-head summary verifies retryable\nattention followed by the current fork\u0027s successful result, rather than\nsettling a failure against the retained gate.\n- Sandbox boundaries: PR metadata and upstream routing are adapted; run\nlists select the relevant real runs. Workflow/job outcomes, retained\ngate records and status POST/readback are real. Job/summary visibility\nis deliberately filtered to model API lag; this does not claim natural\nreproduction of GitHub\u0027s races. No Apache commit statuses are modified.\n- Git whitespace and Markdown table source alignment checks passed.\nJava/core/Docker tests do not apply to this CommonJS change.\n`spotlessApply` could not start because the filesystem sandbox denied\nthe existing Gradle wrapper lock under `~/.gradle`; the changed scripts\nare outside its Java formatter scope."
    },
    {
      "commit": "8cc6b015352fd2b64b74d53ae4fc2c55ee6bc206",
      "tree": "f728d207b56ee8b6018410d9de544d7b90c74017",
      "parents": [
        "0e56693285a31f61b6cc1b7123f630a9bb94148e"
      ],
      "author": {
        "name": "COLDMANYU",
        "email": "46128522+COLDMANYU@users.noreply.github.com",
        "time": "Tue Nov 17 16:17:15 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 17 16:17:15 2026 +0800"
      },
      "message": "[#14929] fix(spark-connector): Let Paimon procedures that need the Paimon catalog run through Gravitino (#14930)\n\n### What changes were proposed in this pull request?\n\n`GravitinoPaimonCatalog` implements Paimon\u0027s `WithPaimonCatalog`:\n\n- `paimonCatalog()` returns the Paimon catalog of the wrapped\n`SparkCatalog`.\n- `paimonCatalogName()` returns the name the wrapped catalog was\ninitialized with. Newer Paimon versions declare this method in\n`WithPaimonCatalog`; it has no `@Override`, so the class compiles\nagainst both Paimon 1.2 and newer versions.\n\n### Why are the changes needed?\n\nPaimon procedures that work on the catalog rather than on one loaded\ntable (`remove_orphan_files`, `repair`, `compact_database`, ...) cast\nthe catalog they are called on to `WithPaimonCatalog`, and failed with a\n`ClassCastException` through Gravitino.\n\nFixes #14929\n\n### Does this PR introduce _any_ user-facing change?\n\nThese procedures can be called through a Gravitino Paimon catalog.\n\n### How was this patch tested?\n\n- Unit test `TestGravitinoPaimonCatalogWithPaimonCatalog` checks the\ndelegation.\n- New IT `testPaimonRemoveOrphanFilesProcedure` in\n`SparkPaimonCatalogIT` calls `remove_orphan_files` with `dry_run`.\nWithout the change it fails with the `ClassCastException` in the issue.\n- `SparkPaimonCatalogFilesystemBackendIT35`: 37 tests, 32 passed, 5\nskipped."
    },
    {
      "commit": "0e56693285a31f61b6cc1b7123f630a9bb94148e",
      "tree": "3b97b896098dc1cc034b47e44078994ddfa85ecd",
      "parents": [
        "b43a791c721b03c456d01b2c77df5fe029ac8992"
      ],
      "author": {
        "name": "龙骑士k",
        "email": "37928252+dragonknightk@users.noreply.github.com",
        "time": "Tue Nov 17 07:55:50 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 17 15:55:50 2026 +0800"
      },
      "message": "[#12856] improvement(gvfs): Load the catalog and fileset once per GVFS operation (#14975)\n\n### What changes were proposed in this pull request?\n\nEach `DefaultGVFSOperations` operation now runs in an operation scope,\nand each operations instance keeps its own scope on the current thread.\nInside the scope, each catalog is loaded from the server at most once,\nand each fileset at most once per catalog object it is loaded from. The\nprotected hooks `getActualFileSystem`,\n`getActualFileSystemByLocationName`, `getActualFilePath`, `getFileset`\nand `getFilesetCatalog` are still called in the same order and number as\nbefore. The default `getFilesetCatalog` and `getFileset` share their\nloads through the scope. The property lookup, which is not a hook,\nshares them too.\n\nREST requests per operation, with the metadata cache disabled (the\ndefault), a local file system and credential vending disabled:\n\n| Operation | Before | After |\n|---|---|---|\n| open, create, append, delete, mkdirs, getFileStatus, listStatus,\ngetDefaultBlockSize, getDefaultReplication, setWorkingDirectory | 12\n(catalog load x4, fileset load x2) | 8 (catalog load x1, fileset load\nx1) |\n| rename | 14 (catalog load x5, fileset load x2) | 9 (catalog load x1,\nfileset load x1) |\n\nFor append, the counts cover the requests sent before the local file\nsystem rejects the append.\n\nThe remaining REST requests are one schema load, three `getSecrets`, one\ncatalog `getCredentials` and one `getFileLocation` (two for rename).\n\nThe issue counts 11 REST requests before the change. The extra one is\nthe catalog `getCredentials`, which was added after the issue was filed.\n\nWith credential vending enabled, the credential path reuses the fileset\nloaded earlier in the operation.\n\nWith the metadata cache enabled there is no gain, because #13851 already\nserves these loads from the cache. The default `getFilesetCatalog` and\n`getFileset` still read from the cache as before, so the scope only\ncovers loads that skip the cache.\n\nThe issue also names a third cause, which is not changed here: every\noperation builds the full property map, including schema properties and\nsecrets, even when the `FileSystem` is already cached. The `FileSystem`\ncache key is computed from that map. The HDFS provider reads the\nKerberos principal and impersonation keys from it, and those keys can be\nset on the schema or bound as secrets. A third-party provider\u0027s\n`getFullAuthority` can read any property.\n\nThe `getSchema()` NPE noted in the issue is not reached by this change,\nso it is left as is.\n\n### Why are the changes needed?\n\nEvery GVFS filesystem operation repeated the same catalog and fileset\nloads. The cost grows with the number of operations, so a scan over many\nfiles pays it once per file.\n\nFixes #12856\n\n### Does this PR introduce _any_ user-facing change?\n\nNo configuration or property key changes.\n\nA subclass that overrides some of the hooks keeps their behavior, and\nthe loads it leaves to the defaults are still shared.\n\nAn operations class that extends `BaseGVFSOperations` directly does not\nopen the scope around its operations. For such a class, only the loads\ninside one `FileSystem` resolution are shared.\n\n### How was this patch tested?\n\n- `TestGvfsBase#testMetadataRestCallsPerOperation` runs every operation\nin the table against the mock server, on the default location and on a\nnon-default current location. With the metadata cache disabled, it\nasserts that each operation loads the catalog once and the fileset once.\nIt also asserts that each file location is looked up once, and that\nrename looks up its source and its destination once each. Last, it\nasserts that the current location name reaches both the `FileSystem` and\nthe location lookup. With the metadata cache enabled, it asserts that\nevery operation after a warm-up operation loads neither the catalog nor\nthe fileset from the server. The cache-disabled cases fail on the code\nbefore this change.\n- `TestGvfsBase#testCustomOperationsResolutionHooks` sets\n`fs.gravitino.operations.class` to subclasses that each override one of\nthe three resolution hooks, and to one that overrides all five hooks and\ndelegates to the defaults. It asserts that an open followed by a rename\ncalls the hooks in the same order and number as the code before this\nchange. It also asserts that each operation still loads the catalog from\nthe server once. It pins the metadata cache disabled and location\nauto-creation enabled, because both settings change the expected calls.\n- `TestGvfsBase#testMetadataCacheFilesetCatalogOverride` sets an\noperations class whose metadata cache returns a fileset catalog with\nanother file location, and asserts that open reads the file at that\nlocation, as before this change. These three `TestGvfsBase` tests copy\nthe shared settings into a configuration that loads no default\nresources, unset the current location name until a case sets it, and\npoint its env variable at a name that is never set, so neither a\n`core-site.xml` on the test classpath nor `CURRENT_LOCATION_NAME` in the\nbuild environment changes the results.\n- `TestBaseGVFSOperationsSecrets` adds three cases.\n`testCredentialVendingReusesLoadedFileset` asserts that, with credential\nvending enabled, one resolution calls `getFileset` twice as before,\nwhile it loads the catalog and the fileset once.\n`testOverriddenFilesetCatalogDoesNotChangePropertiesSource` asserts\nthat, when `getFilesetCatalog` returns another catalog, the property map\nstill reads the fileset loaded from the client catalog, as before this\nchange. `testNestedOperationsInstancesDoNotShareScope` asserts that an\noperations instance called inside the scope of another instance on the\nsame thread resolves its own fileset, loads the catalog and the fileset\nonce, and that a later resolution does not reuse a closed scope.\n\n## AI Disclosure\n\nHuman-led contribution. Grok Bot, working for dragonknightk, assisted\nwith this change, including the code, tests, and description. All\nsubmitted content was reviewed by a human before submission.\n\n(｀・ω・´)ゞ\n\n---------\n\nSigned-off-by: dragonknightk \u003c37928252+dragonknightk@users.noreply.github.com\u003e"
    },
    {
      "commit": "b43a791c721b03c456d01b2c77df5fe029ac8992",
      "tree": "5ae975c953b998b85a5abdca8aab3cd04f09a60d",
      "parents": [
        "1c7623b898e57eb7901a4a738727aa68fb314a77"
      ],
      "author": {
        "name": "mchades",
        "email": "liminghuang@datastrato.com",
        "time": "Tue Nov 17 14:39:03 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 17 14:39:03 2026 +0800"
      },
      "message": "[#14996] docs(view): Use Iceberg to demonstrate creating and replacing views (#14998)\n\n### What changes were proposed in this pull request?\n\nUse one Iceberg view in the REST, Java and Python examples. Create it\nwith Spark and Trino SQL representations, then change its comment with\n`replaceView` while preserving its columns, SQL and defaults. Link to\nthe catalog setup and document the Hive restrictions on Spark views.\n\n### Why are the changes needed?\n\nThe linked setup creates a Hive catalog, which rejects the non-null\ndefaults in the Java and Python examples. The guide lists `replaceView`\nwithout showing how to use it.\n\nFixes #14996\n\n### Does this PR introduce _any_ user-facing change?\n\nDocumentation only.\n\n### How was this patch tested?\n\nRan all 15 guide snippets against a local Gravitino server backed by\nIceberg REST. Reloaded the view after each replacement to verify that\nonly the comment changed. The docs build, OpenAPI payload validation and\nthree Hive tests passed."
    },
    {
      "commit": "1c7623b898e57eb7901a4a738727aa68fb314a77",
      "tree": "497debf0fc7f958f46668a70d5653a7170137c21",
      "parents": [
        "21c942a2ef0a02410e775b3172f32b6d716e97b2"
      ],
      "author": {
        "name": "weijiajun",
        "email": "32029896+JoegenUSTC@users.noreply.github.com",
        "time": "Tue Nov 17 09:28:31 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 17 09:28:31 2026 +0800"
      },
      "message": "[#11726] fix(core): fix IsolatedClassLoader lifecycle race in CatalogWrapper (#11846)\n\n### What changes were proposed in this pull request?\n\nThis PR is now based on the catalog lease from #12404.\n\n- Replace `CapabilityHelpers.getCapability` with\n`CapabilityHelpers.withCapability(ident, catalogManager, fn)`. It runs\n`fn` on the catalog `Capability` while a catalog lease is held and the\ncatalog ClassLoader is the thread context ClassLoader. Only the computed\nvalue leaves the call. The capability object does not.\n- Migrate all callers: the Table, Partition, Fileset, View, Topic,\nModel, Function, Schema and Semantic Model normalize dispatchers, and\n`normalizeMetadataIdentifier` (used by tag and authorization lookups).\n`fn` only computes names and changes. Backend, physical-name and\nentity-store calls run after the lease is released.\n- Exceptions thrown by `fn`, such as an invalid name, reach the caller\nunchanged. Failures to load the catalog or its capability are still\nwrapped, as before.\n- Replace the enum `switch` in\n`HiveCatalogCapability.caseSensitiveOnName` and\n`GlueCatalogCapability.caseSensitiveOnName` with `if`/`else`, so javac\nemits no `$1` switch-map class. Both now reject a `null` scope.\n\nThe earlier `synchronized` `doWithCapabilityOps`/`close()` and the\nclosed-wrapper retry are removed. The lease already keeps the wrapper\nopen during a call, and it reloads a retired wrapper before `fn` runs,\nso `fn` runs at most once. List results are returned as the catalog\nreturns them.\n\n### Why are the changes needed?\n\n`getCapability` took a lease, read the capability and released the\nlease. The caller then used the capability. If the catalog was evicted\nin between, its ClassLoader could be closed. A capability method that\nloads a class on first use, such as an enum switch that loads\n`HiveCatalogCapability$1`, then fails with `NoClassDefFoundError`.\n\nFix: #11726\n\n### Does this PR introduce _any_ user-facing change?\n\nNo. There are no API, REST or configuration changes.\n`CapabilityHelpers.getCapability` is removed. It is an internal core\nhelper with no production callers outside core.\n\n### How was this patch tested?\n\n- `TestCatalogWrapperLease`: a catalog evicted while `withCapability`\nruns keeps its catalog until `fn` returns, and is cleaned up afterwards.\nA normalize dispatcher calls the backend with no lease held.\n- `TestCapabilityHelpers`: `fn` runs inside the catalog call; `fn`\nexceptions are not wrapped; `NoSuchCatalogException` and capability load\nfailures keep their behavior.\n- `TestHiveCatalogCapability`, `TestGlueCatalogCapability`: every scope,\n`null` scope, and no `$1` class.\n- Reverting `withCapability` to use the capability after the lease is\nreleased makes the new lease and helper tests fail.\n- Ran 29 core test classes that use the changed code (385 tests,\nincluding all normalize and hook dispatcher tests, `TestCatalogManager`,\n`TestTableOperationDispatcher` and `TestViewOperationDispatcher`),\n`TestNormalizedOwnerOperations` on H2,\n`TestJcasbinModelCacheInvalidation`, `TestMetadataIdConverter`,\n`TestJcasbinAuthorizationLookups`, and the Hive and Glue capability\ntests. All passed. The full core suite and integration tests were not\nrun.\n\n---------\n\nCo-authored-by: Qi Yu \u003cyuqi4733@gmail.com\u003e"
    },
    {
      "commit": "21c942a2ef0a02410e775b3172f32b6d716e97b2",
      "tree": "bd17d2ae3fd27df53bb526731b1dd66fa1d185b3",
      "parents": [
        "166db8b6dff9eb8f4527583d696efd383be65ecc"
      ],
      "author": {
        "name": "YangJie",
        "email": "yangjie01@baidu.com",
        "time": "Mon Nov 16 08:58:13 2026 -0500"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 16 21:58:13 2026 +0800"
      },
      "message": "[#14656] fix(flink-connector): Reject computed columns, metadata columns and watermarks instead of dropping them (#14658)\n\n### What changes were proposed in this pull request?\n\n- `BaseCatalog.createTable` throws `UnsupportedOperationException` when\nthe table has a computed column, a metadata column or a watermark. The\nadd-column path of `alterTable` does the same for computed and metadata\ncolumns; watermark changes in `ALTER TABLE` were already rejected.\n- In the Hive catalog, the error suggests creating the table as a Flink\ngeneric table, which keeps them in `flink.*` properties. Generic tables\ndon\u0027t go through this path and are unchanged.\n- The Flink connector docs list the limitation.\n\n### Why are the changes needed?\n\nGravitino columns have no expression or metadata key, so these columns\nwere stored as plain physical columns and the watermark was dropped,\nwith no error. The table then had a different schema from the one\ndeclared. For `t (a INT, b AS a + 1)`, `INSERT INTO t VALUES (1)` fails\nwith \"Different number of columns\", and after `INSERT INTO t (a) VALUES\n(1)` the value of `b` is NULL instead of 2.\n\nFixes #14656\n\n### Does this PR introduce _any_ user-facing change?\n\nYes. `CREATE TABLE` and `ALTER TABLE ... ADD` with these now fail in the\nPaimon, Iceberg and JDBC catalogs and for Hive tables with\n`\u0027connector\u0027\u003d\u0027hive\u0027`. `CREATE TABLE IF NOT EXISTS` with them also fails\nwhen the table already exists. Paimon\u0027s own Flink catalog keeps these in\ntable options, so the Gravitino Paimon catalog is now stricter than it;\nstoring them the same way would be a separate change.\n\n### How was this patch tested?\n\n- New `TestBaseCatalog` tests, run in each Flink version module:\n`createTable` rejects a computed column, a metadata column and a\nwatermark, and still creates a table with only physical columns;\n`alterTable` rejects adding a computed or a metadata column and still\nadds a physical one; the generic table advice appears only in catalogs\nthat support generic tables.\n- Reproduced the bug on main with the Flink 1.20 integration test\nenvironment for the Paimon, Iceberg and MySQL catalogs."
    },
    {
      "commit": "166db8b6dff9eb8f4527583d696efd383be65ecc",
      "tree": "6df6dddb352e352df3090db7fa95c88a77bd2c33",
      "parents": [
        "0f78b64fa791e76c596d6cfc718efdb073360c71"
      ],
      "author": {
        "name": "Qi Yu",
        "email": "yuqi4733@gmail.com",
        "time": "Mon Nov 16 21:56:50 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 16 21:56:50 2026 +0800"
      },
      "message": "[MINOR] test(iceberg): stabilize async purge file assertions (#14985)\n\n### What changes were proposed in this pull request?\n\nMake the async-purge integration test retry a complete file scan when\nconcurrent deletion interrupts it with `NoSuchFileException`. Other I/O\nfailures still fail immediately. Add deterministic regression coverage,\nrepeating the retry sequence 20 times and verifying that incomplete\nscans cannot be mistaken for an empty directory.\n\n### Why are the changes needed?\n\n[This CI\nrun](https://github.com/yuqi1129/gravitino/actions/runs/43838465137/job/133218383937)\nfailed because the cleanup worker removed a manifest while the test was\ntraversing its directory. The resulting `UncheckedIOException` aborted\nAwaitility instead of allowing another poll.\n\nThis fixes the observed traversal race. The existing poll-interval-based\nin-flight assertions remain unchanged.\n\n### Does this PR introduce _any_ user-facing change?\n\nNo. Test-only changes.\n\n### How was this patch tested?\n\n- 25 focused regression tests passed, including 20 repetitions of the\ninterrupted/nonempty/empty scan sequence.\n- `IcebergRESTAsyncPurgeIT` passed with Docker enabled, embedded mode\nand PostgreSQL; one test executed with no skips.\n- Removing the retry or treating an interrupted scan as empty each\nfailed all 20 regression repetitions.\n- Relevant Spotless checks passed."
    },
    {
      "commit": "0f78b64fa791e76c596d6cfc718efdb073360c71",
      "tree": "34f6145d9c4bb23a3c7b4304b65cb98b3bc1e1b3",
      "parents": [
        "803230f70656cd0eb14d6e80d211367dd777b694"
      ],
      "author": {
        "name": "Qi Yu",
        "email": "yuqi4733@gmail.com",
        "time": "Mon Nov 16 21:55:44 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 16 21:55:44 2026 +0800"
      },
      "message": "[MINOR] test: Avoid H2 async writer failures in embedded tests (#14981)\n\n### What changes were proposed in this pull request?\n\nSet `WRITE_DELAY\u003d0` for MiniGravitino\u0027s default H2 database, resolving\nits file URL through `H2Database.getConnectionUrl`. Resolve the\neffective URL and storage path with `ServerConfig`, using the same\nprecedence as server startup: test overrides, template properties, JVM\nproperties, then defaults. Preserve explicit JDBC URLs.\n\nWrite test configuration through `Properties.store(OutputStream, ...)`,\nmatching the startup reader. Both shared write helpers use this path,\npreserving Unicode, backslashes, special characters, and inherited\nproperty defaults through repeated rewrites.\n\nAdd tests that inspect a live H2 database\u0027s write-delay setting, verify\nassertions remain enabled, and cover explicit H2/MySQL/PostgreSQL URLs,\nJVM configuration, override precedence, and configuration round trips.\n\n### Why are the changes needed?\n\nThe [Spark embedded CI\nfailure](https://github.com/yuqi1129/gravitino/actions/runs/43796944853/job/133074732060)\nis caused by the H2 2.2.224 MVStore assertion described in [H2\n#4048](https://github.com/h2database/h2database/issues/4048). Its\nasynchronous writer can observe the chunk map and free-space bitmap\nbetween updates, panic, and close the metadata database.\n\nSynchronous writes avoid that asynchronous pipeline. This workaround\napplies to all default-H2 MiniGravitino suites and may add commit I/O.\nTests with explicit JDBC URLs retain their chosen behavior. The bundled\nH2 version and production defaults remain unchanged.\n\nThe derived H2 URL must also survive writing and reloading the generated\nfile, including later auxiliary-service rewrites. Standard properties\nserialization prevents non-ASCII paths from selecting a different\ndatabase. The shared writer correction also applies to deployment-mode\nand standalone Iceberg REST test configurations; it does not enable\nsynchronous H2 writes in those modes.\n\n### Does this PR introduce _any_ user-facing change?\n\nNo. Only integration-test configuration generation and tests change.\n\n### How was this patch tested?\n\n- `TestMiniGravitino` and `TestITUtils`: 29 tests passed, including 19\nnew cases.\n- Mutation check: restoring the previous 500 ms write delay makes both\ndefault-H2 cases fail (`expected 0, got 500`); restoring the fix passes.\n- Before the configuration-precedence fix, four regressions failed:\nJVM-provided H2/MySQL/PostgreSQL URLs and an H2 storage path were\nreplaced. All pass with the fix.\n- Before the serialization fix, seven regressions failed, covering\nnon-ASCII paths from JVM/template/test overrides, repeated property\nwrites, special characters, and inherited defaults. All pass with the\nfix.\n- A standalone probe against H2 2.2.224 confirms `WRITE_DELAY\u003d0` leaves\nboth serialization/save executors absent, while the default 500 ms\nsetting creates them.\n- Initial patch: Spark 3.5 embedded `SparkIcebergCatalogHiveBackendIT35`\nhad 47 cases, 45 passed and 2 skipped, with no failures. On the current\nhead, all 4 `testIcebergTableRowLevelOperations` parameterizations\npassed again.\n- On the current head, standalone\n`IcebergRESTJdbcCatalogIT.testCreateNamespace` and `testCreateTable`\nboth passed, covering another shared-writer consumer.\n- Scoped Spotless formatting/checks and `git diff --check` passed.\n\nLocal validation uses JDK 17 on macOS ARM64 with OrbStack; the full\nLinux Fork CI has not been run for this branch."
    },
    {
      "commit": "803230f70656cd0eb14d6e80d211367dd777b694",
      "tree": "a8f3ee9dfc3b9b277e37eed5781b5a95d296dcb5",
      "parents": [
        "e20a6b05588f8136ab5f4042326d1d86c578fb4a"
      ],
      "author": {
        "name": "Jerry Shao",
        "email": "jerryshao@datastrato.com",
        "time": "Mon Nov 16 21:25:40 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 16 21:25:40 2026 +0800"
      },
      "message": "[MINOR] ci: Support automatic cherry-picks to branch-2.0 (#14982)\n\n### What changes were proposed in this pull request?\n\nAdd automatic cherry-picks to `branch-2.0` and retire automatic\ncherry-picks to `branch-1.2`. The workflow supports the `branch-1.3` and\n`branch-2.0` targets.\n\n### Why are the changes needed?\n\nMaintainers are preparing the 2.0 release branch and expect no changes\nto the 1.2 branch in the near future.\n\n### Does this PR introduce _any_ user-facing change?\n\nMaintainers can label a PR with `branch-2.0` before merging it into\n`main` to request a backport. The workflow ignores the `branch-1.2`\nlabel.\n\n### How was this patch tested?\n\nVerified the workflow outputs and job targets locally. Ran the label\ndetection step with seven cases covering both active targets, the\nretired label alone and alongside an active label, both active labels\ntogether, an empty label list, and a similar label name."
    },
    {
      "commit": "e20a6b05588f8136ab5f4042326d1d86c578fb4a",
      "tree": "45294458061d133853f58491686eb5929c388076",
      "parents": [
        "1935075fe7cf6429d5996d9d5a8d90feca1c956b"
      ],
      "author": {
        "name": "MaSai",
        "email": "30949009+lasdf1234@users.noreply.github.com",
        "time": "Mon Nov 16 19:32:14 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 16 19:32:14 2026 +0800"
      },
      "message": "[#14978] fix(core): Mask sensitive local job command logs including --conf (#14979)\n\n### What changes were proposed in this pull request?\n\n- Mask `--updater-options` / `--spark-conf` JSON bags before INFO\nlogging in `SparkProcessBuilder` and `ShellProcessBuilder`;\n`ProcessBuilder` still gets the plaintext list.\n- Also mask `--conf key\u003dvalue` / `--conf\u003dkey\u003dvalue` in\n`maskSensitiveArguments` when the key matches\n`SecretPropertyUtils.isSensitivePropertyKey` (covers template `configs`\nemitted as `--conf`).\n- Keep malformed-JSON masking WARN messages as fixed text (no\n`e.toString()`), so Jackson exception text cannot re-leak credentials.\n- Add unit tests for sensitive `--conf` masking and a log-capture\nregression that asserts malformed credential input is absent from\nemitted log messages.\n\n### Why are the changes needed?\n\nLocal executor INFO logs previously joined the raw command and leaked\ncredential JSON that API/event paths already mask. Custom templates can\nalso put catalog credentials in `configs` (`--conf`). Separately, WARN\nlogs during malformed JSON masking could embed the original input via\nJackson exception text.\n\nFixes #14978\n\n### Does this PR introduce _any_ user-facing change?\n\nNo. Log/API display masking is stronger; job execution behavior is\nunchanged.\n\n### How was this patch tested?\n\n`./gradlew spotlessApply :core:test --tests\norg.apache.gravitino.job.TestJobRuntimeTemplateMaskUtils --tests\norg.apache.gravitino.connector.TestHiddenPropertyMaskUtils -PskipITs`\n\n---------\n\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e"
    },
    {
      "commit": "1935075fe7cf6429d5996d9d5a8d90feca1c956b",
      "tree": "61579adf8c7e0fdacba631a0b63c7d7e290b0683",
      "parents": [
        "44603e2da6af116f42d3a57af4500d747a66097f"
      ],
      "author": {
        "name": "jarred0214",
        "email": "jarred0214@gmail.com",
        "time": "Mon Nov 16 16:29:24 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 16 16:29:24 2026 +0800"
      },
      "message": "[#14754] feat(spark): Support automatic user authentication for Lance REST catalogs (#14755)\n\n### What changes were proposed in this pull request?\n\nGenerate a default Lance Authorization header from\nSparkContext.sparkUser() only when spark.sql.gravitino.authType is\nsimple.\n\nApply configured headers to discovery requests and propagate them to\nautomatically registered catalogs. Preserve explicit authentication\nheaders, including case-insensitive Authorization overrides.\n\n### Why are the changes needed?\n\nLance REST catalogs otherwise require manually encoded authentication\nheaders, and discovery requests ignore configured headers.\n\nFixes #14754\n\n### Does this PR introduce _any_ user-facing change?\n\nAutomatically discovered Lance catalogs reuse SparkContext.sparkUser(),\nmatching the existing Gravitino Spark connector, in simple\nauthentication mode. No new configuration keys are introduced.\n\nStandalone Lance REST deployments using a different authentication\nmechanism must configure their headers explicitly. Server-side\nauthentication and authorization are unchanged.\n\n### How was this patch tested?\n\nAll 84 targeted tests passed across Spark 3.5 and 4.0, covering\nauthentication type gating, header precedence, UTF-8 encoding, missing\nusernames, SparkContext user propagation, and paginated discovery\nrequests. Spark connector formatting completed successfully."
    },
    {
      "commit": "44603e2da6af116f42d3a57af4500d747a66097f",
      "tree": "074edcf012cbfeb5dfc58a92c1a7d412ee4a7436",
      "parents": [
        "fc70ede7a713173e8140f47a9300f8995cdb6325"
      ],
      "author": {
        "name": "Qi Yu",
        "email": "yuqi4733@gmail.com",
        "time": "Mon Nov 16 16:28:45 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 16 16:28:45 2026 +0800"
      },
      "message": "[#14238] docs: Add Glossary term design doc (#14239)\n\n### What changes were proposed in this pull request?\n\nDefine Step 1 of the Business Glossary: terms, explicit domain\nmembership, hierarchy, ID-based bindings, metalake privileges,\nREST/clients and approved-term MCP lookup. New terms default to\nAPPROVED; changes apply immediately without review.\n\nSpecify ownership-transfer visibility across servers,\nauthenticated-principal group membership freshness, authorized\ndomain-membership cleanup, bounded lookup work with definition-only\nfallback, bounded binding pages, optional conditional editing with term\nidentity/revision tokens, no-op revisions and URL/input bounds. UI,\nclients and MCP retain continuation and distinguish incomplete results\nfrom empty results. Document the per-metalake write-serialization\ntrade-off. Snapshot storage is defined and created in Step 2.\n\nLimit cleanup atomicity to local store state and retain existing\nexternal DDL response conventions. Document external failure/recovery\nlimits and the inherited concurrent column-rename identity issue #14279,\nwith separate acceptance cases.\n\nScope APPROVED-only lookup to the new glossary semantic tools. Generic\ntag metadata discovery follows ordinary authorization and is not a\npublication signal; glossary tools still reject unapproved roots.\n\nImplementation note for T16: bindings carry the identifier values needed\nby existing data tools. Tool descriptions/adapters map\ncatalog/schema/name to the declared catalog_name/schema_name/table_name\nor semantic_model_name arguments; returned binding JSON must not be\nblindly forwarded as tool kwargs. This requires no extra metadata lookup\nor public binding DTO change.\n\nStep 2 adds review, history, domain grants and CSV. Existing term\nstatuses are preserved; newly created terms default to DRAFT. This\nintended workflow change is documented for upgrades without an\nadditional compatibility protocol.\n\n### Why are the changes needed?\n\nDefine shared business terms and their links to data, with explicit API,\npermission, agent-use and delivery boundaries.\n\nRelated to #14238. Keep the broader issue open until remaining\nrequirements are accepted or split into linked follow-up issues. S2 IDs\nare local tracking IDs, not GitHub issue numbers.\n\n### Does this PR introduce _any_ user-facing change?\n\nNo. Documentation only; runtime functionality is delivered by the\nimplementation subtasks.\n\n### How was this patch tested?\n\nChecked all 19 Markdown source tables, JSON/code fences, relative links,\nacceptance IDs and cross-section consistency. All existing acceptance\nIDs remain. Design scenario probes covered more than 1,000 homogeneous\nbindings, empty hidden-only pages with continuation, and same-name\nreplacement with equal numeric revisions. A fresh-context review checked\nthe final committed design.\n\nThese are document/protocol checks, not runtime or database tests. The\nAPI implementation PR has not yet incorporated the new contracts. The\nearlier Gradle formatting attempt could not start because the\nenvironment prohibits writing its wrapper lock under ~/.gradle."
    },
    {
      "commit": "fc70ede7a713173e8140f47a9300f8995cdb6325",
      "tree": "a70cea668990b60f6e26a891064766220e490686",
      "parents": [
        "4f48f057c387b01bab0b250285fce222626d3652"
      ],
      "author": {
        "name": "YangJie",
        "email": "yangjie01@baidu.com",
        "time": "Mon Nov 16 03:19:03 2026 -0500"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 16 16:19:03 2026 +0800"
      },
      "message": "[#14655] improvement(flink-connector): Load the Gravitino catalog once per Flink catalog instance (#14657)\n\n### What changes were proposed in this pull request?\n\n- `BaseCatalog.catalog()` loads the Gravitino catalog on first use and\nkeeps it for the life of the Flink catalog instance. A failed load is\nnot kept, so the next call tries again.\n- It also loads the catalog again when the shared\n`GravitinoCatalogManager` has been closed and created again, because the\nkept handle uses the REST client of the manager that loaded it.\n- The Flink version modules add `mockito-inline` as a test dependency\nfor the new tests\u0027 static mock.\n\n### Why are the changes needed?\n\n`catalog()` sent a `loadCatalog` request every time, because the Java\nclient does not cache catalogs, and nearly every Flink catalog method\ncalls it before its own schema or table request. Flink resolves tables\nmore than once while planning and doesn\u0027t cache the lookups, so planning\n`SELECT * FROM cat.db.t` sent 8 requests to the Gravitino server where 4\nare enough, and `INSERT INTO cat.db.s SELECT * FROM cat.db.t` sent 10\ninstead of 5.\n\nFlink keeps each catalog instance for the whole session. Schema and\ntable calls made through the kept handle still go to the server every\ntime, by catalog name.\n\nFixes #14655\n\n### Does this PR introduce _any_ user-facing change?\n\nNo, apart from fewer requests to the Gravitino server.\n\n### How was this patch tested?\n\n- `TestBaseCatalog.testCatalogHandleFetchedOncePerInstance`: three\n`catalog()` calls load the catalog once.\n- `TestBaseCatalog.testCatalogHandleLoadFailureIsNotCached`: after a\nload fails with `NoSuchCatalogException`, the next call loads again.\n- `TestBaseCatalog.testCatalogHandleReloadedWhenManagerIsReplaced`: when\n`GravitinoCatalogManager.get()` starts returning a different manager,\nthe catalog is loaded again from that manager.\n- The request counts above come from counting the catalog methods Flink\ncalls while planning those queries on Flink 1.20 and 2.1."
    },
    {
      "commit": "4f48f057c387b01bab0b250285fce222626d3652",
      "tree": "e960491fd96915b261782d479199c5bc6377e504",
      "parents": [
        "038a5dd7e888aa37f283de2293ec12811b09c7cc"
      ],
      "author": {
        "name": "FANNG",
        "email": "fanng@apache.org",
        "time": "Mon Nov 16 16:03:00 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 16 16:03:00 2026 +0800"
      },
      "message": "[#13803] improvement(lance): Upgrade lance-core to 12.0.0 and lance-namespace to 0.11.1 (#13929)\n\n### What changes were proposed in this pull request?\n\nUpgrades the Lance dependencies to the pair current Lance clients ship\nwith:\n\n- `lance-core`: `6.0.0` -\u003e `12.0.0`\n- `lance-namespace-core` / `lance-namespace-apache-client`: `0.7.5` -\u003e\n`0.11.1`\n\n**One production Java change.** `LanceTableOperations` now rejects the\n`branch` and `tag` selectors that 0.11.1 adds to the describe and alter\nrequests. Gravitino keeps a single Lance history per table and\nimplements neither, so deserializing them and ignoring them would apply\na branch-scoped mutation to the table itself; a `drop_columns` naming\nbranch `dev` would drop the column from the table. They are refused with\n`400`.\n\nNothing else in the server needed changing. Gravitino does not implement\n`org.lance.namespace.LanceNamespace` — its REST layer is hand-written\nJAX-RS over its own `lance-common` ops interfaces — so 0.11.1\u0027s\ninterface break does not reach it; every generated-client method it\ncalls is signature-identical, no model class was removed, and its\n`lance-core` usage is all builder APIs that survived 6.0.0 -\u003e 12.0.0.\n\nSupporting changes:\n\n- **OpenTelemetry excluded.** `lance-core` 12.0.0 adds compile-scope\n`io.opentelemetry:opentelemetry-api`, used only by the opt-in\n`org.lance.otel.LanceMetrics` bridge Gravitino never enables. Excluding\nit keeps the distribution and the legal files unchanged. Both\n`testImplementation(libs.lance)` declarations exclude it too, so a test\nclasspath cannot hide a new reference to `org.lance.otel.*` that would\nthen fail in the distribution.\n- **Test matrices widened.** `lance-spark` goes from four bundles to six\n(adding 0.6.1 and 0.7.1), so the default list covers every\n`lance-namespace` generation a released bundle speaks — pre-0.7 (0.2.0,\n0.4.0), 0.7.5 (0.5.1), 0.8.6 (0.6.1, 0.7.1), 0.11.1 (0.8.0) — with 0.8.0\nas the primary bundle. `lance-ray` goes from two versions to four, with\nper-row `lance-namespace` pins: `lance-ray` never bounds\n`lance-namespace` while `pylance` does, so one shared pin cannot\ndescribe the matrix, and 0.5.0 paired with the previous global `0.7.5`\nis `ResolutionImpossible`. Both CI workflow defaults move with the\nlists.\n- **Blob file-format tests** no longer rely on Lance\u0027s default file\nformat version, which is now 2.2, and pin it explicitly instead.\n- Docs, the compatibility matrix, and stale version comments.\n\n### Why are the changes needed?\n\nTo keep the Lance REST service consistent with the Lance community.\n12.0.0 + 0.11.1 is the combination current Lance clients ship with —\n`lance-spark-bundle` 0.8.0 embeds exactly that pair.\n\nFix: #13803\n\n### Does this PR introduce _any_ user-facing change?\n\nYes, two:\n\n1. **Lance\u0027s default file format version is now 2.2** (it was 2.1 with\n`lance-core` 6.0.0). A table created without blob columns therefore\naccepts a later `External(\"lance.blob\")` column but rejects\n`External(\"lance.blob.legacy\")`; previously it was the other way round.\nExisting tables keep their stored version — an upgrade does not rewrite\nit.\n2. **A request that names a `branch` or a `tag` is rejected with\n`400`.** Against 1.3.0 the same payload already failed, as an unknown\nfield — a `400` carrying a raw Jackson message as `text/plain`, from\n`JacksonFeature`\u0027s own `JsonMappingExceptionMapper`. What changes is\nthat the refusal is deliberate and carries the Lance error envelope.\nResponses also carry an empty `context` map. Branch, materialized-view,\n`update_field_metadata` and `rename` endpoints remain unimplemented.\n\n**Not a change, though an earlier revision of this PR claimed it was:**\n`lance-spark` 0.2.0 cannot `INSERT` into a table created through\nGravitino\u0027s own table API. It passes no data storage version to Lance,\nand `FragmentCreateBuilder` resolves the version as\n`params.data_storage_version.unwrap_or_default()` without reading the\ndataset\u0027s manifest, so it always writes file format version 2.0 — while\nsuch a dataset is pinned at `DataStorageFormat::default()`, which is 2.1\non `lance-core` 6.0.0 and 2.2 on 12.0.0. `check_storage_version` refuses\nboth. Measured both ways: at 2.1 the `INSERT` fails with `The operation\nadded files with version 2.0. However, the data storage version is\n2.1.`, and once the dataset holds rows the mismatch surfaces earlier as\n`All data files must have the same version. Detected both 2.2 and 2.0`.\nThis upgrade changes only the number in the message, and the fix belongs\nto the client — `lance-spark` 0.4.0 reads the dataset\u0027s version in\n`LanceDataset#newWriteBuilder`. Reads are unaffected, as are tables a\nconnector created itself through `declare`.\n\nNo API or property-key changes.\n\n### How was this patch tested?\n\nAll of the following pass locally (macOS, JDK 17):\n\n- `:lance:lance-common:test` + `:lance:lance-rest-server:test -PskipITs`\n— 313 unit tests\n- `:lance:lance-rest-server:test -PskipTests` — 57 ITs across all 6 IT\nclasses\n- `:lance:lance-rest-server:lanceSparkMatrixTest` — 16 tests against\neach of `0.2.0`, `0.4.0`, `0.5.1`, `0.6.1`, `0.7.1`, `0.8.0`; 96 total,\n1 deliberate skip (`0.2.0`\u0027s write, per the note above)\n- `:clients:client-python:lanceRayMatrixTest` — all four rows pass\nagainst a freshly built distribution of this branch: `lance-ray` 0.5.0 /\n`lance-namespace` 0.11.1, 0.4.2 / 0.7.5, 0.3.0 / 0.7.5, 0.2.0 / 0.4.5\n- `:catalogs:catalog-lakehouse-generic:test` (including\n`CatalogGenericCatalogLanceIT`), `:core:coreUnitTest`,\n`:spark-connector:spark-3.5:test`, `spotlessCheck`\n- `compileDistribution` then `LanceRESTServiceIT -PtestMode\u003ddeploy` —\nthe deploy-mode run is what validates the OpenTelemetry exclusion\nagainst the packaged classpath\n\nEverything above was re-run on the branch as rebased onto current\n`main`. For the `lance-ray` rows I also checked each per-version venv\u0027s\ninstalled `lance-namespace` and `pylance` rather than trusting the exit\ncode: 0.2.0/0.4.5/pylance 2.0.1, 0.3.0/0.7.5/6.1.0, 0.4.2/0.7.5/6.1.0,\n0.5.0/0.11.1/13.0.0.\n\nNew tests:\n\n-\n`TestLanceNamespaceOperations#testDescribeTableRejectsBranchAndTagSelectors`\nand `#testAlterRequestsRejectBranchSelector` — assert the `400` and,\nwith `verify(..., never())` on the ops layer, that a refused mutation\nnever reaches the table. `#testBlankVersionSelectorsAreAccepted` pins\ndown that a present-but-blank selector is not a refusal.\n- `LanceSparkRESTServiceIT#testSparkReadsTableCreatedThroughGravitino` —\ncovers the one combination the matrix could not reach before: a dataset\nwritten by Gravitino itself, seeded with rows by the server\u0027s own\n`lance-core` 12.0.0, then read by each bundle\u0027s own Lance. It asserts\n`Dataset#getLanceFileFormatVersion` is `2.2`, so the matrix fails if the\nserver\u0027s `lance-core` is ever downgraded — without it every test in the\nfile passed against 6.0.0. `#testSparkWritesToGravitinoCreatedTable`\nholds the `INSERT` separately, so a bundle that cannot write no longer\nskips the reads with it.\n- Three rewritten blob file-format tests in `TestLanceTableOperations`,\nand `test_lance_ray_matrix_versions.py` for the `--versions` pairing\nparser (10 cases).\n\nWorth flagging in review: the distribution grows ~30 MB (lance-core 12\u0027s\njar is 201 MB vs 172 MB), and the weekly matrix job now covers six\n`lance-spark` bundles and four `lance-ray` venvs instead of four and\ntwo. The `lance-spark` half measured 1m59s locally for all six; the\n`lance-ray` half pays one `ray[data]` + `pylance` install per version,\nwhich is the bulk of its runtime.\n\n---------\n\nCo-authored-by: Qi Yu \u003cyuqi4733@gmail.com\u003e"
    },
    {
      "commit": "038a5dd7e888aa37f283de2293ec12811b09c7cc",
      "tree": "677b0122edac31484a73550e1482773c6126b4b5",
      "parents": [
        "43893ab6495d98cd7ae7edb1132aec636b377d1d"
      ],
      "author": {
        "name": "Jerry Shao",
        "email": "jerryshao@datastrato.com",
        "time": "Mon Nov 16 16:00:46 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 16 16:00:46 2026 +0800"
      },
      "message": "[#14966] feat(domain): List direct domain members by default (#14967)\n\n### What changes were proposed in this pull request?\n\n- `Domain#listMembers` / `GET /api/metalakes/{m}/domains/{d}/objects`\nnow return, by default, the objects that directly carry the backing tag\nof the domain or a visible subdomain: leaves, catalogs and schemas. A\ntagged catalog or schema is returned once; its type tells clients it\nincludes its children. Relations are `DIRECT` (own assignment) or\n`VIA_SUBDOMAIN` (a visible subdomain\u0027s assignment), with no per-leaf\neffective-tag resolution.\n- Add an `expand` option (REST `expand\u003dtrue`,\n`DomainMemberFilter.Builder#withExpand`, Python\n`DomainMemberFilter(expand\u003dTrue)`, MCP\n`list_domain_members(expand\u003d...)`) that keeps the previous behavior:\nexpand catalogs and schemas into recorded leaves with `DIRECT` /\n`INHERITED` / `VIA_SUBDOMAIN` relations.\n- Add `DomainMember.CONTAINER_TYPES` (`CATALOG`, `SCHEMA`). The `types`\nfilter accepts them without `expand` and rejects them with `expand`.\n`SUPPORTED_TYPES` and object-to-domain lookup stay leaf-only.\n- Update the docs and the OpenAPI spec.\n\n### Why are the changes needed?\n\nExpanding every tagged catalog and schema into leaves and resolving\neffective tags for each leaf is slow on large catalogs. Callers that\nonly need to know what is tagged into a domain now get the tagged\nobjects directly. Leaf expansion remains available with `expand\u003dtrue`.\n\nFix: #14966\n\n### Does this PR introduce _any_ user-facing change?\n\nYes. The default member listing returns direct assignments, including\ncatalogs and schemas, without `INHERITED` relations. Pass `expand\u003dtrue`\nfor the previous leaf expansion. New: REST `expand` query parameter,\n`DomainMemberFilter#expand`, `DomainMember.CONTAINER_TYPES`, Python\n`expand`, MCP `expand`.\n\n### How was this patch tested?\n\n- Unit tests for the resolver in both modes (tagged catalog, tagged\nschema, directly tagged leaf, subdomain assignment, valued binding,\nfilters), the filter, REST, authorization filtering of catalog and\nschema members (including a hidden subdomain), the Java and Python\nclients, and the MCP tool.\n- `TestDomainManager` covers both modes against the H2 store.\n- `DomainIT` and the Python integration test check the default mode and\nopt into `expand` for inheritance cases.\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\n---------\n\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e"
    },
    {
      "commit": "43893ab6495d98cd7ae7edb1132aec636b377d1d",
      "tree": "3f03249310b3f26e7a1db24ee1f49c734b7c09e6",
      "parents": [
        "527742baac1b63367dbf7e3436b13f1bd328a32d"
      ],
      "author": {
        "name": "Qian Xia",
        "email": "qian@datastrato.com",
        "time": "Mon Nov 16 15:32:35 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 16 15:32:35 2026 +0800"
      },
      "message": "[#14957] The /configs endpoint not requires authentication (#14958)\n\n### What changes were proposed in this pull request?\nThe /configs endpoint not requires authentication\n\n### Why are the changes needed?\nN/A\n\nFixes #14957\n\n### Does this PR introduce _any_ user-facing change?\nN/A\n\n### How was this patch tested?\n\n1. Start Gravitino with Basic Authentication enabled.\n2. Clear the browser’s local and session storage.\n3. Open the frontend and check the /configs request in the Network tab.\n4. Confirm that the request has no Authorization header."
    },
    {
      "commit": "527742baac1b63367dbf7e3436b13f1bd328a32d",
      "tree": "eed064e855889db7406b4275045aa30a356c6608",
      "parents": [
        "1dbd1d8b8b209edb6fc38a600845b4c7513f8cd2"
      ],
      "author": {
        "name": "kamisama0002",
        "email": "56805656+kamisama0002@users.noreply.github.com",
        "time": "Mon Nov 16 00:11:10 2026 -0700"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 16 15:11:10 2026 +0800"
      },
      "message": "[#14196] fix(spark-connector): Preserve Paimon primary keys and bucket distributions (#14197)\n\n### What changes were proposed in this pull request?\n\nUse the full create-table API in the Paimon Spark adapter: `primary-key`\nbecomes one ordered composite index, and `bucket` / `bucket-key` become\ndistribution metadata. Convert unsorted `CLUSTERED BY` through the same\npath, keeping bucket transforms separate from identity partitions.\nReturn the key and bucket properties when Spark creates or loads a\ntable.\n\nResolve column references to the schema\u0027s actual names according to\n`spark.sql.caseSensitive`, including ordinary partitioned tables. Reject\nambiguous references and check distribution expression types before\nreconstructing bucket properties. Keep conversion and\nconflicting-declaration checks in the adapter, and leave Paimon schema\nsemantics to the server. Bind the optional Iceberg adapter by name so\nPaimon-only Spark 3.5 startup does not link its runtime interfaces.\n\n### Why are the changes needed?\n\n`TBLPROPERTIES (\u0027primary-key\u0027\u003d\u0027id\u0027, \u0027bucket\u0027\u003d\u0027-1\u0027)` currently reaches\nGravitino as reserved properties without an index. Creation fails before\nreaching Paimon. `CLUSTERED BY` also fails because its bucket transform\nis treated as a partition.\n\nFixes #14196. Fixes #10367. Related to #10721, which added Flink bucket\nconversion and server-side support.\n\n### Does this PR introduce _any_ user-facing change?\n\nYes. Paimon primary-key and bucket options, including dynamic buckets\nwithout an explicit bucket key, work through the Gravitino catalog.\n`CLUSTERED BY ... INTO ... BUCKETS` is supported; `SORTED BY` remains\nunsupported. Column names follow Spark\u0027s case-sensitivity setting, and\ninvalid distribution expressions produce an explicit validation error.\nServer-side reserved-property and Paimon schema validation remain\nenabled.\n\n### How was this patch tested?\n\n- Windows / JDK 17: **307 Spark 3.5 module tests passed**, with 0\nfailures, errors or skipped tests, including **60 Paimon cases**.\nCommand: `./gradlew :spark-connector:spark-3.5:test -PskipITs\n--configure-on-demand --offline --max-workers\u003d4 --no-parallel`. Scoped\nSpotless checks and `git diff --check` passed.\n- The review regressions reproduced 17 failures before this update. An\nadditional regression reproduced the ordinary partition fallback\nretaining an unresolved name. Tests now cover case-sensitive and\ninsensitive resolution, ambiguous names, literal-dot columns,\nproperty/transform conflicts, and invalid distribution expression types.\nNative Paimon tests verify metadata round trips and that invalid\nbucket-key semantics are still rejected on table creation.\n- GitHub [Fork CI run\n#40671449996](https://github.com/kamisama0002/gravitino/actions/runs/40671449996)\npassed for `4c684f41` with the updated workflow, including the required\n`tms` caller. The full build, Spark connector build, both Spark\nintegration modes, frontend integration, core unit/MySQL/PostgreSQL/H2\ntests, and coverage all passed.\n- Earlier CentOS / JDK 17 testing passed the isolated filesystem SQL\ntests for dynamic-key replay and `CLUSTERED BY` reads/writes. Those\nintegration suites and the full-repository checks were not rerun locally\nfor this follow-up; the current CI result is reported in Checks.\n\nLatest locally tested commit:\n`4c684f4172bc9d1499ac5e8c192ff680c4130d70`.\n\n---------\n\nSigned-off-by: 付继发 \u003c56805656+kamisama0002@users.noreply.github.com\u003e\nCo-authored-by: Qi Yu \u003cyuqi@datastrato.com\u003e"
    },
    {
      "commit": "1dbd1d8b8b209edb6fc38a600845b4c7513f8cd2",
      "tree": "4f8af62b1426e9f15776a3053628cd86414aba8f",
      "parents": [
        "e23b85f9d8ee511eb7b5a7239ab837166a746d25"
      ],
      "author": {
        "name": "dengc367",
        "email": "dengc367@gmail.com",
        "time": "Mon Nov 16 15:10:04 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 16 15:10:04 2026 +0800"
      },
      "message": "[#14351] fix(flink-connector): Give Paimon\u0027s OSSFileIO its fs.oss.* options back (#14352)\n\n### What changes were proposed in this pull request?\n\n`GravitinoPaimonCatalog#open()` now copies the `fs.oss.*` entries of the\nHadoop `Configuration`\nback into the inner Paimon catalog\u0027s option map after\n`movePaimonStorageOptionsToConf` has moved\nthem out.\n\nPaimon\u0027s `OSSFileIO` builds its Hadoop configuration only from\n`CatalogContext#options()` and\nnever reads `CatalogContext#hadoopConf()`, so those entries have to be\nvisible in both places.\nOnly the `fs.oss.` prefix is copied, and only when the warehouse uses\nthe `oss://` scheme; every\nother filesystem keeps using the Hadoop configuration and the\nconnector\u0027s own option map does not\ngain the keys back.\n\n### Why are the changes needed?\n\nFixes #14351\n\nWithout this, a Paimon catalog backed by Aliyun OSS cannot be opened\nthrough the Flink connector:\n`OSSFileIO` reports `Aliyun OSS endpoint should not be null or empty`\nbecause the endpoint and\ncredentials were moved to a place it does not read.\n\n### Does this PR introduce _any_ user-facing change?\n\nNo API change and no new property key. Paimon catalogs on OSS start\nworking again; catalogs on\nHDFS, S3 and local storage are unaffected.\n\n### How was this patch tested?\n\n- Added assertions to `TestGravitinoPaimonCatalog` covering the OSS\noption hand-off; it runs for\n  every supported Flink version (1.19, 1.20, 2.1, 2.2).\n`./gradlew :flink-connector:flink-2.2:test --tests\n\"*TestGravitinoPaimonCatalog*\"`\n- `./gradlew :flink-connector:flink-common:spotlessCheck`\n- Manually against a real OSS warehouse on Flink 2.2.1: create catalog,\ncreate a primary-key\n  table, upsert, read back, drop.\n\n---------\n\nCo-authored-by: 刘存玉 \u003cliucunyu@admergex.com\u003e"
    },
    {
      "commit": "e23b85f9d8ee511eb7b5a7239ab837166a746d25",
      "tree": "665880b5714af223a8d12cbc344f5222a46033cc",
      "parents": [
        "c95592b9f204718ceb0eb75d53ccb23a6602e32c"
      ],
      "author": {
        "name": "Srihari Srithar",
        "email": "46975610+sshari94@users.noreply.github.com",
        "time": "Mon Nov 16 01:06:37 2026 -0600"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 16 15:06:37 2026 +0800"
      },
      "message": "[#14902] test(lance-rest): Cover overwrite authorization for create-table and register-table (#14933)\n\n### What changes were proposed in this pull request?\n\nKeeps overwrite authorization at the Lance REST boundary, as agreed in\n#14902 (review:\nhttps://github.com/apache/gravitino/pull/14933#discussion_r4581582727).\n\n- Revert the `lance.creation-mode` check in\n`TableOperations.createTable` and remove\n`TestTableOperationsOverwriteAuthorization`. The generic createTable\nendpoint is back to `main`: it passes connector properties through and\napplies no Lance-specific authorization.\n- Add regression tests for `OverwriteAuthzHandler` in\n`lance-rest-server` covering cases that were not tested yet:\n- Create-table (`mode` query parameter) and register-table (`mode` in\nthe body) reject spacing and case variants of the overwrite mode (`\noverwrite`, `overwrite `, ` OverWrite `, `\\toverwrite\\n`) when the\ncaller only has CREATE_TABLE, and the operation does not run. Until now\nonly namespaces had these cases.\n- A client-supplied `lance.creation-mode\u003dOVERWRITE` table property on\ncreate, declare or register cannot replace the authorized request mode.\nThe catalog always receives `CREATE`.\n\nNo production code changes.\n\n### Why are the changes needed?\n\nOverwrite is a Lance REST concept. The Lance REST service already\nrequires MODIFY_TABLE or ownership for an overwrite on both create-table\nand register-table, through `OverwriteAuthzHandler`. Making the generic\nendpoint read one connector\u0027s property would leak connector semantics\ninto the core API. The new tests pin down the two ways the existing\ncheck could be bypassed: an unnormalized mode and a smuggled property.\n\nFix: #14902\n\n### Does this PR introduce _any_ user-facing change?\n\nNo.\n\n### How was this patch tested?\n\n- `./gradlew :lance:lance-rest-server:test --tests\n\u0027*TestLanceMetadataAuthorizationMethodInterceptor\u0027 --tests\n\u0027*TestGravitinoLanceModeParsing\u0027 -PskipITs` passes: 38 tests, including\nthe new `testTableOverwriteIsRecognizedWhateverSpacingTheClientSends`\nand `testClientPropertyCannotOverrideAuthorizedMode`.\n- `./gradlew :lance:lance-rest-server:spotlessCheck\n:server:spotlessCheck` passes.\n\n---------\n\nSigned-off-by: Srihari Srithar \u003csshari94@gmail.com\u003e\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e"
    }
  ],
  "next": "c95592b9f204718ceb0eb75d53ccb23a6602e32c"
}
