instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
apache__gravitino__10619
apache/gravitino
10,619
defect
98c1e93a26fa059599526811a145816d2f2b0c9e
00c744fb9cf82fcae3a5568b884982fb62c5f896
[#10598] fix(core): close cached Lance datasets before closing Arrow allocator
<!-- 1. Title: [#<issue>] <type>(<scope>): <subject> Examples: - "[#123] feat(operator): Support xxx" - "[#233] fix: Check null before access result in xxx" - "[MINOR] refactor: Fix typo in variable name" - "[MINOR] docs: Fix typo in README" - "[#255] test: Fix flaky test NameOfTheTes...
diff --git a/core/src/main/java/org/apache/gravitino/stats/storage/LancePartitionStatisticStorage.java b/core/src/main/java/org/apache/gravitino/stats/storage/LancePartitionStatisticStorage.java index 918c94218c1..01ad69d5c26 100644 --- a/core/src/main/java/org/apache/gravitino/stats/storage/LancePartitionStatisticStor...
3
2
1
[{"id": "G0", "claim": "The close() resource cleanup using Optional.ifPresent, lambdas and forEach is harder to follow than a simple loop; for resource cleanup the reviewer suggests keeping it more straightforward.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":...
null
apache__gravitino__10627
apache/gravitino
10,627
defect
183bec9fcc58253c46774e59208943cb1a12dbe8
9992d16795fffa848c7e1d54e0203b7ef32945b9
[#10623] fix(core): reverse cleanup ordering in JobManager.cleanUpStagingDirs
### What changes were proposed in this pull request? Reversed the cleanup order in `JobManager.cleanUpStagingDirs()` so the staging directory is deleted before the job entity record. Added a unit test to verify that when directory deletion fails, the entity record is preserved. ### Why are the changes needed? ...
diff --git a/core/src/main/java/org/apache/gravitino/job/JobManager.java b/core/src/main/java/org/apache/gravitino/job/JobManager.java index 17246645c743..cac8c9bff1a6 100644 --- a/core/src/main/java/org/apache/gravitino/job/JobManager.java +++ b/core/src/main/java/org/apache/gravitino/job/JobManager.java @@ -645,9 +64...
2
1
0
[{"id": "G0", "claim": "The LOG.info statement needs to be moved down to after the entityStore.delete call so it only logs when both operations succeed.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "This pull request introduces a flaky test (tracke...
null
apache__gravitino__10641
apache/gravitino
10,641
defect
183bec9fcc58253c46774e59208943cb1a12dbe8
8de252bc1df03befe40858eccca0fbe29529d88b
[#9736][followup] feat(iceberg-rest): Add ETag header to registerTable response
### What changes were proposed in this pull request? Add ETag header to the `registerTable` response for consistency with `createTable` and `updateTable`, which already include ETags. This was identified by @roryqi in [#10536 (comment)](https://github.com/apache/gravitino/pull/10536#issuecomment-4168013863). ### Why ...
diff --git a/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/rest/IcebergNamespaceOperations.java b/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/rest/IcebergNamespaceOperations.java index 1c669b86b6b..ec8c086cb95 100644 --- a/iceberg/iceberg-rest-server/s...
2
2
1
[{"id": "G0", "claim": "Making buildResponseWithETag package-private so IcebergNamespaceOperations can call it is an anti-pattern; the response-building helper should live in IcebergRESTUtils and be shared by both operations classes.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced...
null
apache__gravitino__10661
apache/gravitino
10,661
defect
bb419f8d092dce23b7fc6732c25f63470ac19d4c
31a7afa7ccf65e9215e554db0f2f15fb0120e8d8
[#10659] fix(core): Correctly handle tag rename conflict in TagManager
<!-- Title: [#10659] fix(core): Correctly handle tag rename conflict in TagManager Reference: https://www.conventionalcommits.org/en/v1.0.0/ --> ### What changes were proposed in this pull request? This PR improves the error handling in `TagManager.alterTag` when a tag is renamed to a name that already exis...
diff --git a/core/src/main/java/org/apache/gravitino/tag/TagManager.java b/core/src/main/java/org/apache/gravitino/tag/TagManager.java index 38c3f5bab71..eb26cf37e93 100644 --- a/core/src/main/java/org/apache/gravitino/tag/TagManager.java +++ b/core/src/main/java/org/apache/gravitino/tag/TagManager.java @@ -173,10 +173...
3
3
2
[{"id": "G0", "claim": "Throwing TagAlreadyExistsException from TagManager.alterTag without defining it in the API signature is not acceptable; if the PR wants to throw this exception, the API signature must be updated (with the API/client implementation aligned) rather than simply throwing it from the core.", "categor...
null
apache__gravitino__10665
apache/gravitino
10,665
defect
3a793f26957a5e05d8409b2e42550545b8235bf1
f72e9952d79d12fa10feacccb41e48a503b1b39f
[#10658] Improvement(core) : preserve original exception when EventBus listener fails
## What changes were proposed in this pull request? Enhanced EventBus.dispatchEvent() to automatically detect and handle FailureEvent instances with safe exception swallowing. The method now uses type-based dispatch logic: 1. PreEvents: May throw ForbiddenException for authorization control 2. FailureEvents...
diff --git a/core/src/main/java/org/apache/gravitino/listener/AccessControlEventDispatcher.java b/core/src/main/java/org/apache/gravitino/listener/AccessControlEventDispatcher.java index 2234672875a3..2c801b639655 100644 --- a/core/src/main/java/org/apache/gravitino/listener/AccessControlEventDispatcher.java +++ b/core...
3
3
2
[{"id": "G0", "claim": "Some failure paths in AccessControlEventDispatcher (revokeRolesFromGroup, createRole, grantPrivilegeToRole, revokePrivilegesFromRole, overridePrivilegesInRole) still call eventBus.dispatchEvent(...), so listener exceptions there can still mask the original operation exception, inconsistent with ...
null
apache__gravitino__10668
apache/gravitino
10,668
defect
183bec9fcc58253c46774e59208943cb1a12dbe8
9a2ebfe7a7acae0495b52f120235c9616f920712
[#10667] fix(iceberg): Return JSON error body instead of HTML for pre-JAX-RS errors
### What changes were proposed in this pull request? Override authentication error handling in the Iceberg REST server to produce JSON error bodies conforming to the Iceberg REST API specification, instead of Jetty's default HTML error pages. Changes: - Added `sendAuthErrorResponse(HttpServletResponse, Exception)` ho...
diff --git a/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/RESTService.java b/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/RESTService.java index 23f1fcf042f..022d5b6e7e7 100644 --- a/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/RESTService.ja...
9
8
2
[{"id": "G0", "claim": "Error responses should follow the Iceberg REST spec's error model, using spec-matching exception type names (e.g., NotAuthorizedException for 401) instead of generic HTTP status text.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla...
null
apache__gravitino__10673
apache/gravitino
10,673
defect
3277e3549bbd28ed62063fdb5abd6442950bfaec
b96a109f82c245354a7b3491fea6ce13f4f47079
[#10672] improvement(auth): Return specific error message when authentication token is expired
### What changes were proposed in this pull request? Split the `ExpiredJwtException` / `BadJWTException` catch blocks in `StaticSignKeyValidator` and `JwksTokenValidator` to return the specific message `"Authentication token is expired"` instead of the generic `"JWT parse error"` / `"JWKS JWT validation error"`. Also...
diff --git a/api/src/main/java/org/apache/gravitino/exceptions/TokenExpiredException.java b/api/src/main/java/org/apache/gravitino/exceptions/TokenExpiredException.java new file mode 100644 index 000000000000..a9b72a160b6d --- /dev/null +++ b/api/src/main/java/org/apache/gravitino/exceptions/TokenExpiredException.java ...
3
3
2
[{"id": "G0", "claim": "The pull request should return the Iceberg REST spec's AuthenticationTimeoutResponse for expired tokens, as M001 points to in the rest-catalog-open-api.yaml, instead of the response it currently produces.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced...
null
apache__gravitino__10704
apache/gravitino
10,704
defect
58f065aa745b66af56ffc127b53f8ade97129312
243fbfc3c54d24298151e3facde11242639be073
[#10570][followup] feat(iceberg): Skip the authorization for the remote REST catalog
### What changes were proposed in this pull request? Skip the authorization for the remote REST catalog ### Why are the changes needed? This is #10570 follow-up PR. ### Does this PR introduce _any_ user-facing change? Yes, added the new config options. ### How was this patch tested? Add UTs.
diff --git a/docs/iceberg-rest-service.md b/docs/iceberg-rest-service.md index 59ac6529c46..92de9f8614b 100644 --- a/docs/iceberg-rest-service.md +++ b/docs/iceberg-rest-service.md @@ -129,6 +129,7 @@ If you are using multiple JDBC catalog backends, setting `jdbc-initialize` to tr #### REST backend configuration Us...
8
7
3
[{"id": "G0", "claim": "Fix the REST-backend doc sentence (capitalise the 'f' in 'for' and reword it) to something like 'When IRC2 is another Gravitino server, IRC1 acts as a proxy and does not perform authorization. IRC2 handles authorization.'", "category": "documentation", "verdict": "supported", "priority": "P3", "...
null
apache__gravitino__10726
apache/gravitino
10,726
defect
3277e3549bbd28ed62063fdb5abd6442950bfaec
479f95871afebddb114bc770f1d320b9182a3655
[#10725] feat(catalog-glue): Add GlueClientProvider and configuration properties metadata
### What changes were proposed in this pull request? Add GlueClientProvider, configuration properties metadata, and capability declarations for the catalog-glue module. ### Why are the changes needed? AWS connection layer and property definitions are prerequisites for Schema/Table CRUD PRs. Fix: #10725 ### Does th...
diff --git a/catalogs/catalog-glue/src/main/java/org/apache/gravitino/catalog/glue/GlueCatalogCapability.java b/catalogs/catalog-glue/src/main/java/org/apache/gravitino/catalog/glue/GlueCatalogCapability.java index 9a17cf6a4d6..8a613f9018a 100644 --- a/catalogs/catalog-glue/src/main/java/org/apache/gravitino/catalog/gl...
12
11
3
[{"id": "G0", "claim": "The test's credential literals look like real AWS example credentials and may trigger secret scanners in CI/security tooling; replace them with obviously fake test-only values.", "category": "security", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null
apache__gravitino__10730
apache/gravitino
10,730
defect
5b3b27f02c52067ea5f65fbc3bdc20ac671eb163
a78b58ecc68f36f2b1564729078223b2ec2091bf
[#10559] feat(trino-connector): Forward Trino session credentials to Gravitino server
### What changes were proposed in this pull request? Add per-query credential forwarding from Trino to Gravitino via a new `gravitino.client.session.forwardUser` option. When enabled, the connector forwards the Trino session identity (username or Bearer token) to Gravitino on every request instead of using static cr...
diff --git a/clients/client-java/src/main/java/org/apache/gravitino/client/ExtraHeadersProvider.java b/clients/client-java/src/main/java/org/apache/gravitino/client/ExtraHeadersProvider.java new file mode 100644 index 00000000000..77f52826085 --- /dev/null +++ b/clients/client-java/src/main/java/org/apache/gravitino/cl...
10
9
6
[{"id": "G0", "claim": "Making TOKEN_HOLDER a static ThreadLocal makes the token state global across all TrinoSessionAuthProvider instances in the JVM, so one provider can overwrite or clear another provider's token on the same thread; make it an instance field.", "category": "correctness", "verdict": "supported", "pri...
null
apache__gravitino__10738
apache/gravitino
10,738
defect
3277e3549bbd28ed62063fdb5abd6442950bfaec
3af686d3566cced96a955746e8ed138d300e86f1
[#10737] fix(core): Avoid blocking dropCatalog on imported schemas
### What changes were proposed in this pull request? Fix schema classification in `dropCatalog(force = false)` so imported schemas do not block catalog deletion. ### Why are the changes needed? Imported schemas can be written into the entity store during metadata synchronization and later be misclassified as user-cr...
diff --git a/core/src/main/java/org/apache/gravitino/catalog/CatalogManager.java b/core/src/main/java/org/apache/gravitino/catalog/CatalogManager.java index 7ccbd3cb3d7..59ebe392d74 100644 --- a/core/src/main/java/org/apache/gravitino/catalog/CatalogManager.java +++ b/core/src/main/java/org/apache/gravitino/catalog/Cat...
5
4
1
[{"id": "G0", "claim": "containsUserCreatedSchemas performs per-schema loadSchema calls inside a stream lambda and wraps checked exceptions in a RuntimeException; rewrite the block as an explicit loop that lets checked exceptions propagate and short-circuits on the first user-created schema.", "category": "maintainabil...
null
apache__gravitino__10742
apache/gravitino
10,742
defect
3277e3549bbd28ed62063fdb5abd6442950bfaec
f70ecf3934277751b2f92099e4edfcf7b7272884
[#10741] fix(hive): Fix keytab symlink TOCTOU race in FetchFileUtils
### What changes were proposed in this pull request? Fix the `file:` scheme handler in `FetchFileUtils` to synchronize symlink creation and avoid concurrent races. Replace the non-atomic `exists() + delete()` in `KerberosClient` with `Files.deleteIfExists()`. Remove the unused duplicate `FetchFileUtils` in `catalog-hi...
diff --git a/catalogs/catalog-hive/src/main/java/org/apache/gravitino/catalog/hive/FetchFileUtils.java b/catalogs/catalog-hive/src/main/java/org/apache/gravitino/catalog/hive/FetchFileUtils.java deleted file mode 100644 index 527a3af0436..00000000000 --- a/catalogs/catalog-hive/src/main/java/org/apache/gravitino/catalo...
7
7
3
[{"id": "G0", "claim": "The code synchronizes on destFile.getAbsolutePath().intern() while the comment says 'canonical' path, so the same file reached via different absolute spellings can bypass the lock and String.intern() can retain lock strings for the JVM's lifetime; prefer a dedicated lock map keyed by a normalize...
null
apache__gravitino__10767
apache/gravitino
10,767
defect
fed9b1b25c5f5202706876187614a8ff1b6fb8b9
2c0d95280418cdc0a3b99e2bcd3c49e09ea4f44a
[#10766] fix(iceberg): skip table import for staged creates in IcebergTableHookDispatcher
<!-- 1. Title: [#<issue>] <type>(<scope>): <subject> Examples: - "[#123] feat(operator): Support xxx" - "[#233] fix: Check null before access result in xxx" - "[MINOR] refactor: Fix typo in variable name" - "[MINOR] docs: Fix typo in README" - "[#255] test: Fix flaky test NameOfTheTes...
diff --git a/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/dispatcher/IcebergTableHookDispatcher.java b/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/dispatcher/IcebergTableHookDispatcher.java index 9775b36b5c9..fff35d8c656 100644 --- a/iceberg/iceberg-r...
2
2
1
[{"id": "G0", "claim": "updateTable is not only used for committing a staged table create (it also serves regular updates such as property changes), so it is not reasonable to unconditionally import the table and set the table owner there.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": ...
null
apache__gravitino__10787
apache/gravitino
10,787
defect
2f5332801d2afe595fb5d50132e1289cfb93dd01
601bc9ff657fec3a337ca05d8f488bab7dc4ab09
[#10570] improvement(iceberg): lazy initialize catalog resources in wrapper
### What changes were proposed in this pull request? Delay catalog, namespace adapter, and metadata cache initialization in IcebergCatalogWrapper to avoid eager loading during construction, and add tests that verify the lazy lifecycle and close behavior. If remote REST catalog is temporary down, we can create the...
diff --git a/iceberg/iceberg-common/src/main/java/org/apache/gravitino/iceberg/common/ops/IcebergCatalogWrapper.java b/iceberg/iceberg-common/src/main/java/org/apache/gravitino/iceberg/common/ops/IcebergCatalogWrapper.java index 43295d02978..b3528706d99 100644 --- a/iceberg/iceberg-common/src/main/java/org/apache/gravi...
7
6
2
[{"id": "G0", "claim": "The UnsupportedOperationException message in getViewCatalog() is grammatically incorrect and unclear (\"is not support view\"); since the line was modified, update it to a clearer message like \"does not support view operations\".", "category": "documentation", "verdict": "supported", "priority"...
null
apache__gravitino__10831
apache/gravitino
10,831
defect
24d40ee041ec35221abdc62b696db209270c495d
7b909ce356bd469ad85c404a38f3c3111baba877
[#10830] feat(api): add View, ViewCatalog, ViewChange and SQLRepresentation APIs
### What changes were proposed in this pull request? This PR introduces the first batch of logical view support, focused on API surface plus the `loadView` read path. Changes included: 1. API additions in `api/`: - `View` - `ViewCatalog` - `ViewChange` - `Representation` / `SQLRepresentation` - `Diale...
diff --git a/api/src/main/java/org/apache/gravitino/exceptions/ViewAlreadyExistsException.java b/api/src/main/java/org/apache/gravitino/exceptions/ViewAlreadyExistsException.java new file mode 100644 index 00000000000..81e674c2924 --- /dev/null +++ b/api/src/main/java/org/apache/gravitino/exceptions/ViewAlreadyExistsEx...
14
11
8
[{"id": "G0", "claim": "Dialects should be an enum instead of string constants.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Representation#type should likewise be an enum instead of a string constant.", "category": "design", "verdict": "opposed", "prior...
null
apache__gravitino__10842
apache/gravitino
10,842
defect
aa1586b422730aaf9d28265fff62d31f0c1ee29b
a6b0eed8d9ab31a298bbad0c2b926d6ffcad6c3d
[#10841] fix(iceberg): Fix the issues of the table plan endpoint
### What changes were proposed in this pull request? Fix the issues of the table plan endpoint ### Why are the changes needed? Fix: #10841 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Add UT.
diff --git a/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/rest/IcebergConfigOperations.java b/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/rest/IcebergConfigOperations.java index 719d75ce931..498f9cdad51 100644 --- a/iceberg/iceberg-rest-server/src/mai...
2
1
0
[{"id": "G0", "claim": "The author should add a comment explaining why the endpoint path was renamed from `scan` to `plan`.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The inline explanation of the overridden Iceberg endpoint should be marked a...
null
apache__gravitino__10847
apache/gravitino
10,847
defect
614302ceca037cd2afef921e8b55a9f8d3470a71
373da66466265bebf5a763af8c4f5969b2ed70a3
[#10846] fix(server): Add /health.html alias for legacy GTM standards
Follow-up to #10839. #10840 added /health, /health/live, /health/ready root-level aliases but dropped /health.html during the merge refactor. This restores /health.html and maps it to the canonical /api/health aggregate endpoint — legacy GTM onboarding standards commonly hardcode the .html extension as a well-known pro...
diff --git a/server-common/src/main/java/org/apache/gravitino/server/authentication/AuthenticationFilter.java b/server-common/src/main/java/org/apache/gravitino/server/authentication/AuthenticationFilter.java index 66a05bd4854..f91a55607a9 100644 --- a/server-common/src/main/java/org/apache/gravitino/server/authenticat...
4
3
0
[{"id": "G0", "claim": "The GravitinoServer/Jetty routing for /health.html is untested, so the original regression could recur unnoticed; a server-level/integration test should be added.", "category": "testing", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The inline comment in...
null
apache__gravitino__10852
apache/gravitino
10,852
defect
aa1586b422730aaf9d28265fff62d31f0c1ee29b
1b0daf9b850201b0fdb6f478e279f529cff4f1f5
[#10851] improvement(iceberg): Change default Iceberg JDBC schema version to v1
### What changes were proposed in this pull request? Change default Iceberg JDBC schema version to v1 ### Why are the changes needed? Fix: #10851 ### Does this PR introduce _any_ user-facing change? Modified the document ### How was this patch tested? Added the UT.
diff --git a/docs/iceberg-rest-service.md b/docs/iceberg-rest-service.md index 9405823a4679..d1da579c27b1 100644 --- a/docs/iceberg-rest-service.md +++ b/docs/iceberg-rest-service.md @@ -107,17 +107,17 @@ The Gravitino Iceberg REST catalog service uses the memory catalog backend by de #### JDBC backend configuration...
2
1
1
[{"id": "G0", "claim": "The CI test TestIcebergCatalogWrapper.metadataConfig() fails and the test's metadataConfig() should set jdbc-initialize=true (as the other test does) or explicitly set jdbc.schema-version=V0 to opt out of the new V1 default.", "category": "testing", "verdict": "supported", "priority": "P0", "sco...
null
apache__gravitino__10854
apache/gravitino
10,854
defect
aa1586b422730aaf9d28265fff62d31f0c1ee29b
5e253760c948f8a7a4a077d32d3c94cf412ce6d2
[#10844] fix(hive): close HiveClientFactory on pool shutdown
### What changes were proposed in this pull request? This PR makes Hive client classloader cleanup deterministic when Hive client pools are closed. - Override `HiveClientPool#close()` to call `super.close()` and then always close `HiveClientFactory` in `finally`. - Add `TestHiveClientPool` assertion to verify factory-...
diff --git a/catalogs/hive-metastore-common/src/main/java/org/apache/gravitino/hive/HiveClientPool.java b/catalogs/hive-metastore-common/src/main/java/org/apache/gravitino/hive/HiveClientPool.java index e4d78e58c76..e2c982b8a32 100644 --- a/catalogs/hive-metastore-common/src/main/java/org/apache/gravitino/hive/HiveClie...
3
3
1
[{"id": "G0", "claim": "In dev/ci/hive_catalog_oom_repro.sh, `curl --fail-with-body` is pointless because stdout is redirected to /dev/null, so the response body is discarded and errors lose the server-provided body for debugging; capture the response or send it to stderr and only silence output on success.", "category...
null
apache__gravitino__10867
apache/gravitino
10,867
defect
2646f8da7a2e08165042856ce2495bdb06c7a161
c7c1ac15141ef3f9caf4208d68c395009bb27e5a
[#10412] feat(server-common): Support group ownership in JcasbinAuthorizer
### What changes were proposed in this pull request? Extend `JcasbinAuthorizer` to recognize group-based ownership. When a metadata object is owned by a group, all members of that group are now treated as owners and granted owner privileges. Key changes: - **`OwnerInfo` inner class**: Replaces the raw `Long` owner ID...
diff --git a/docs/security/access-control.md b/docs/security/access-control.md index 4e023c5164d..76858304c75 100644 --- a/docs/security/access-control.md +++ b/docs/security/access-control.md @@ -132,10 +132,7 @@ Every securable object in Gravitino has an owner - the user with administrative - **Automatic assignment*...
2
1
1
[{"id": "G0", "claim": "The user-branch ownership check performs an extra IO (getUserEntity) on every check, and the reviewer asks whether the user name and owner name could be compared directly to avoid it.", "category": "performance", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim...
null
apache__gravitino__6751
apache/gravitino
6,751
defect
44d55effba1782e73985bf1b4261c8017e508848
597e34ed6e0427cea729e18325010176732fda77
[#6750] improvement(core): property framework supports prefix
### What changes were proposed in this pull request? property framework supports prefix ### Why are the changes needed? some properties with fixed prefixes maybe immutable or required and need to be verified. Fix: #6750 ### Does this PR introduce _any_ user-facing change? no ### How was this patch...
diff --git a/catalogs/catalog-hadoop/src/main/java/org/apache/gravitino/catalog/hadoop/HadoopFilesetPropertiesMetadata.java b/catalogs/catalog-hadoop/src/main/java/org/apache/gravitino/catalog/hadoop/HadoopFilesetPropertiesMetadata.java index 1bdf22467174..2a43de62e15a 100644 --- a/catalogs/catalog-hadoop/src/main/java...
4
3
0
[{"id": "G0", "claim": "The validation error message 'Properties or properties with a fixed prefix are required and must be set' is hard to parse and should be reworded to read clearly (e.g. 'Properties or property prefixes are required and must be set').", "category": "documentation", "verdict": "supported", "priority...
null
apache__gravitino__6976
apache/gravitino
6,976
defect
076bc77ffa0900cb2c0b417fbf75363bdd61573b
2f8ea9c988e26e58e4787e3d13417ff463c15a70
[#6942] feat(clients): clients and gvfs support config request headers
### What changes were proposed in this pull request? clients and gvfs support config request headers ### Why are the changes needed? Fix: #6942 ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? tests added
diff --git a/clients/client-python/gravitino/client/gravitino_client.py b/clients/client-python/gravitino/client/gravitino_client.py index e182f5a200e..a8c3cd85354 100644 --- a/clients/client-python/gravitino/client/gravitino_client.py +++ b/clients/client-python/gravitino/client/gravitino_client.py @@ -39,6 +39,7 @@ d...
1
1
0
[{"id": "G0", "claim": "The new `client_request_header_` configuration prefix should also be documented in the python gvfs configuration table of docs/how-to-use-gvfs.md, not only in the Java one.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__gravitino__7625
apache/gravitino
7,625
defect
f06649a359a8e3bda30f68c571b01cc6374db504
98385034b00d0b5f8c51ded8dabe04de047cb150
[#7623] feat(policy): Add core logic implementation for policy management (part-1)
### What changes were proposed in this pull request? Add core logic implementation for policy management ### Why are the changes needed? Fix: #7623 ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? tests added
diff --git a/core/src/main/java/org/apache/gravitino/policy/PolicyManager.java b/core/src/main/java/org/apache/gravitino/policy/PolicyManager.java index cf3c97df0a9..1121c12696e 100644 --- a/core/src/main/java/org/apache/gravitino/policy/PolicyManager.java +++ b/core/src/main/java/org/apache/gravitino/policy/PolicyMana...
6
5
5
[{"id": "G0", "claim": "Move the checkMetalake call in listPolicyInfos out of the tree lock, since it is a low probability that the metalake will not exist or not be in use, and moving it out improves performance.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"...
null
apache__gravitino__8115
apache/gravitino
8,115
defect
9149fe5e178165dca2fda8c1d7f3a993a6b7defb
9b393bbab1e4b475ac21cdc41a6bfd4445c93e62
[#8086] improvement(spark): prevent NPE in SparkPartitionUtils
### What changes were proposed in this pull request? Checks for null values in toGravitinoLiteral before proceeding to prevent NPE ### Why are the changes needed? Improvement to prevent NPE in SparkPartitionUtils. Fix: #8086 ### Does this PR introduce _any_ user-facing change? no ### How was this pat...
diff --git a/spark-connector/spark-common/src/main/java/org/apache/gravitino/spark/connector/utils/SparkPartitionUtils.java b/spark-connector/spark-common/src/main/java/org/apache/gravitino/spark/connector/utils/SparkPartitionUtils.java index a8e88b6b188c..2ce09861b51c 100644 --- a/spark-connector/spark-common/src/main...
3
3
1
[{"id": "G0", "claim": "The added comment '// Check for null values first to prevent NPE' is unnecessary because it is fairly obvious what the code is doing, and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request ...
null
apache__gravitino__8189
apache/gravitino
8,189
defect
b37a236637058ec50ca05582f347363f132c2357
e74828f5348a7d9cde1b4a154ce2b6c2a6b536f6
[#8177] fix(iceberg-common): Fix the impersonation problem in creating iceberg table
### What changes were proposed in this pull request? Handle impersonation problem for Iceberg table using Hive backend. ### Why are the changes needed? Impersonation does not work for iceberg catalog with Hive backend Fix: #8177 ### Does this PR introduce _any_ user-facing change? N/A. ### How was ...
diff --git a/catalogs/catalog-lakehouse-iceberg/src/test/java/org/apache/gravitino/catalog/lakehouse/iceberg/integration/test/CatalogIcebergKerberosHiveIT.java b/catalogs/catalog-lakehouse-iceberg/src/test/java/org/apache/gravitino/catalog/lakehouse/iceberg/integration/test/CatalogIcebergKerberosHiveIT.java index 1017c...
1
1
1
[{"id": "G0", "claim": "Fixing impersonation only for createTable does not scale (updateTable and create/updateView share the problem), and the solution should be made more general and extensible — moving the impersonation up to the catalog wrapper level instead of only handling Kerberized HiveCatalog.", "category": "d...
null
apache__gravitino__8191
apache/gravitino
8,191
defect
b37a236637058ec50ca05582f347363f132c2357
b2ed87365fa8be040b2acce6bf50e847aed37f5e
[#8157]Improvement: exception handling in RoleDetails for Unknown Role
<!-- 1. Title: [#<issue>] <type>(<scope>): <subject> Examples: - "[#123] feat(operator): support xxx" - "[#233] fix: check null before access result in xxx" - "[MINOR] refactor: fix typo in variable name" - "[MINOR] docs: fix typo in README" - "[#255] test: fix flaky test NameOfTheTes...
diff --git a/clients/cli/src/main/java/org/apache/gravitino/cli/commands/RoleDetails.java b/clients/cli/src/main/java/org/apache/gravitino/cli/commands/RoleDetails.java index 1ab9ec854b0..62f97299146 100644 --- a/clients/cli/src/main/java/org/apache/gravitino/cli/commands/RoleDetails.java +++ b/clients/cli/src/main/jav...
1
1
0
[{"id": "G0", "claim": "The NoSuchUserException catch in RoleDetails is unnecessary and incorrect — the unknown-role case should be handled by catching NoSuchRoleException instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
apache__gravitino__8702
apache/gravitino
8,702
defect
d4ba733b558b52b56c6cb3184da8a9f12a8c12f5
30f77b0d7f5e72459f46c06e920725292a7e9205
[#8659] fix(core): Fix parameter mismatch in UserRoleRelBaseSQLProvider and Test
### What changes were proposed in this pull request? This PR renames the `userRoleRelList` parameter to `userRoleRels` in the `batchInsertUserRoleRel` method of `UserRoleRelBaseSQLProvider.java`. This change applies to both the Java method parameter and its `@Param` annotation to match the collection name used withi...
diff --git a/core/src/main/java/org/apache/gravitino/storage/relational/mapper/provider/base/UserRoleRelBaseSQLProvider.java b/core/src/main/java/org/apache/gravitino/storage/relational/mapper/provider/base/UserRoleRelBaseSQLProvider.java index a7d3964ac7b..250a9623320 100644 --- a/core/src/main/java/org/apache/graviti...
3
3
1
[{"id": "G0", "claim": "At the time of the comment the pull request contained only the added test class and did not include the actual fix for the parameter mismatch.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "claim": "The Java parameter `userRoleRelList` s...
null
apache__gravitino__8712
apache/gravitino
8,712
defect
23bd99d0cbfe353a8134f677fed407d840f25eda
fbc0147bd0e52c8e10698b527636e77ab5653581
[#8710] feat(core): Support cache entities in relation operations.
### What changes were proposed in this pull request? Cache entities in relation operations. ### Why are the changes needed? It's a big improvement. Fix: #8710 ### Does this PR introduce _any_ user-facing change? N/A ### How was this patch tested? UTs and ITs.
diff --git a/core/src/main/java/org/apache/gravitino/cache/CaffeineEntityCache.java b/core/src/main/java/org/apache/gravitino/cache/CaffeineEntityCache.java index 8abde5117f3..025998fe6c4 100644 --- a/core/src/main/java/org/apache/gravitino/cache/CaffeineEntityCache.java +++ b/core/src/main/java/org/apache/gravitino/ca...
8
7
3
[{"id": "G0", "claim": "More work is needed to support get and list operations for relation operations at the same time, because the current change only supports list operations.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The hand-built relation...
null
apache__gravitino__8975
apache/gravitino
8,975
defect
f313b70f9c59969a7d95d99b72a02d23c17bee05
a8b3d11d74551414c050cf0218b0f772348fce7f
[#8940] improvement(core): Support serialize/deserialize for distributionImpl and sortOrderImpl
### What changes were proposed in this pull request? - Add serializer and deserializer for class `DistributionImpl` and `SortOrderImpl` - Optimize sortOrderImpl serialization. ### Why are the changes needed? It's a improvment. Fix: #8940 ### Does this PR introduce _any_ user-facing change? N/A. ...
diff --git a/api/src/main/java/org/apache/gravitino/rel/expressions/distributions/Distributions.java b/api/src/main/java/org/apache/gravitino/rel/expressions/distributions/Distributions.java index c7aeb621891..2c5fb768f21 100644 --- a/api/src/main/java/org/apache/gravitino/rel/expressions/distributions/Distributions.ja...
2
2
1
[{"id": "G0", "claim": "Reuse the existing xxxDTO serde instead of adding new serde implementations for the xxxImpl classes — by converting the Impl objects to DTOs before serialization/storage — so the serde logic does not have to be maintained twice.", "category": "design", "verdict": "supported", "priority": "P2", "...
null
apache__gravitino__9008
apache/gravitino
9,008
defect
97e1ccb0476a81ef1fa58d4c531064cb741092bf
657bb493584ce53867265e30907bd65d0786c4a4
[#9009]improvement(lance-rest-server): add ITs for LRS namespace operations
### What changes were proposed in this pull request? add ITs for LRS namespace operations ### Why are the changes needed? Fix: #9009 ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? CI pass
diff --git a/catalogs/catalog-lakehouse-iceberg/src/test/java/org/apache/gravitino/catalog/lakehouse/iceberg/integration/test/CatalogIcebergBaseIT.java b/catalogs/catalog-lakehouse-iceberg/src/test/java/org/apache/gravitino/catalog/lakehouse/iceberg/integration/test/CatalogIcebergBaseIT.java index b0d4f3b5eb2..82aedaff...
9
6
0
[{"id": "G0", "claim": "Asks whether the COMMA splitter used on the aux-service list also trims whitespace so invisible characters cannot break service-name parsing.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "When removing a service leaves updated...
null
apache__gravitino__9035
apache/gravitino
9,035
defect
903f7c81ca15b01c16d4bac39c9dda23da2cc142
01608e023645a772851f4b96f00681e86a940c14
[#9036] feat(authz): add document and api for tag access control
### What changes were proposed in this pull request? add document for tag access control ### Why are the changes needed? Fix: #9036 ### Does this PR introduce _any_ user-facing change? None ### How was this patch tested? org.apache.gravitino.authorization.TestSecurableObjects
diff --git a/api/src/main/java/org/apache/gravitino/MetadataObject.java b/api/src/main/java/org/apache/gravitino/MetadataObject.java index 05beafe9d9e..09824eaefe2 100644 --- a/api/src/main/java/org/apache/gravitino/MetadataObject.java +++ b/api/src/main/java/org/apache/gravitino/MetadataObject.java @@ -61,7 +61,9 @@ e...
6
3
1
[{"id": "G0", "claim": "A `BROWSE` privilege may be needed so that users can see tags (e.g. governance tags) without holding `APPLY_TAG`.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Tags invisible to a regular user when listing tags could become visible...
null
apache__gravitino__9050
apache/gravitino
9,050
defect
536eb6fb514029c79dab397297ee1a15682b114e
1dc678a2fe29c4be83d67c6dea00920ede5bb525
[ #9047] feat(iceberg):Support submit table scan plan
<!-- 1. Title: [#<issue>] <type>(<scope>): <subject> Examples: - "[#123] feat(operator): support xxx" - "[#233] fix: check null before access result in xxx" - "[MINOR] refactor: fix typo in variable name" - "[MINOR] docs: fix typo in README" - "[#255] test: fix flaky test NameOfTheTes...
diff --git a/core/src/main/java/org/apache/gravitino/listener/api/event/OperationType.java b/core/src/main/java/org/apache/gravitino/listener/api/event/OperationType.java index ea19ccaffc81..dd1fa67e3c11 100644 --- a/core/src/main/java/org/apache/gravitino/listener/api/event/OperationType.java +++ b/core/src/main/java/...
11
10
3
[{"id": "G0", "claim": "The null check for `table` after `catalog.loadTable()` is unnecessary because the Iceberg API throws NoSuchTableException instead of returning null, and the check can be removed to simplify the code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
apache__gravitino__9128
apache/gravitino
9,128
defect
ddcdd8ee836e212107e53a5406ff08211a4ede8d
93e818974ccf943e57b960e7a2a30138bb83f492
[#9124] Handle negative partNo safely and fix test file typo
Fixed #9124 - Negative partNo values can now be safely handled. - Added unit test cases to verify this behavior. - Renamed the test file from TestFulllName to TestFullName to fix a minor typo.
diff --git a/clients/cli/src/main/java/org/apache/gravitino/cli/FullName.java b/clients/cli/src/main/java/org/apache/gravitino/cli/FullName.java index 8b435856a7b..a47437e3332 100644 --- a/clients/cli/src/main/java/org/apache/gravitino/cli/FullName.java +++ b/clients/cli/src/main/java/org/apache/gravitino/cli/FullName....
1
1
1
[{"id": "G0", "claim": "The guard in hasNamePart could be changed to position > 0, since 0 is not a valid option either.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__gravitino__9162
apache/gravitino
9,162
defect
b6a3c69cefb99c512354d67dd458311806a895a4
f6f4181cc822fb476e6a27076673aad0301b97af
[#9148] improvement(core): Clear useless data in the reversed index for entity cache.
### What changes were proposed in this pull request? Clear the entry in the reverse index that has been removed from cache data. ### Why are the changes needed? We need to clear all out-of-date data in the cache. Fix: #9148 ### Does this PR introduce _any_ user-facing change? N/A. ### How was th...
diff --git a/core/src/main/java/org/apache/gravitino/cache/CaffeineEntityCache.java b/core/src/main/java/org/apache/gravitino/cache/CaffeineEntityCache.java index ceb1a3ef29a..6238a125be4 100644 --- a/core/src/main/java/org/apache/gravitino/cache/CaffeineEntityCache.java +++ b/core/src/main/java/org/apache/gravitino/ca...
10
8
2
[{"id": "G0", "claim": "The dataToReverseIndexMap (later entityToReverseIndexMap) field should be a thread-safe map instead of a HashMap, since it is accessed and mutated in put() and remove() and different threads may operate on different lock segments of CaffeineEntityCache, risking race conditions and data corruptio...
null
apache__gravitino__9177
apache/gravitino
9,177
defect
af79aef70d0ab53d231f39029f19746216e3edec
1d0318ad2b0d11f1edca7c774dc0b93b3e38fa5a
[#9071] feat(authz): Add job and job template privileges interfaces and documents
### What changes were proposed in this pull request? Add job and job template privileges interfaces and documents ### Why are the changes needed? Fix: #9071 ### Does this PR introduce _any_ user-facing change? Added the documents. ### How was this patch tested? Added unit tests.
diff --git a/api/src/main/java/org/apache/gravitino/MetadataObject.java b/api/src/main/java/org/apache/gravitino/MetadataObject.java index 09824eaefe21..105e50af9fec 100644 --- a/api/src/main/java/org/apache/gravitino/MetadataObject.java +++ b/api/src/main/java/org/apache/gravitino/MetadataObject.java @@ -63,7 +63,11 @...
15
13
0
[{"id": "G0", "claim": "The new job privilege should be named to align with the job system, e.g. \"RUN_JOB\" instead of \"CREATE_JOB\".", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR should consider adding separate job privileges such as \"get\" o...
null
apache__gravitino__9271
apache/gravitino
9,271
defect
1be3aee8462b9de0070f9e7b22526d7c2469333d
e4cabf865036893c962b0c182422a10b5d2b924a
[#9239] fix(authz): Return 403 instead of 404 for list operations when metalake doesn't exist
### What changes were proposed in this pull request? This PR fixes the inconsistent HTTP response codes for tag list operations when the metalake doesn't exist or is not in use. Previously, `listTags()` and `listMetadataObjectsForTag()` returned 404 (Not Found) while other tag operations like `createTag()`, `getTag(...
diff --git a/clients/client-java/src/test/java/org/apache/gravitino/client/integration/test/authorization/TagOperationsAuthorizationIT.java b/clients/client-java/src/test/java/org/apache/gravitino/client/integration/test/authorization/TagOperationsAuthorizationIT.java index 3d7d5eb96155..247adb5a007f 100644 --- a/clien...
4
1
1
[{"id": "G0", "claim": "Using `accessMetadataType = MetadataObject.Type.TAG` on `listMetadataObjectsForTag()` may produce a confusing error message naming the tag when the real problem is that the metalake doesn't exist; consider using `MetadataObject.Type.METALAKE` instead so the error identifies the metalake.", "cate...
null
apache__gravitino__9290
apache/gravitino
9,290
defect
d059a81933d34237156436b704c1c3c428cfa28f
0e184f95ccdeb3a950444a3450e6edb62d9dd53a
[#9266] feat(authz): Support filter MetadataObject
### What changes were proposed in this pull request? Support filter MetadataObject ### Why are the changes needed? Fix: #9266 ### Does this PR introduce _any_ user-facing change? None ### How was this patch tested?
diff --git a/clients/client-java/src/test/java/org/apache/gravitino/client/integration/test/authorization/PolicyAuthorizationIT.java b/clients/client-java/src/test/java/org/apache/gravitino/client/integration/test/authorization/PolicyAuthorizationIT.java index 211137b4934..5776ce1b9f2 100644 --- a/clients/client-java/s...
6
3
1
[{"id": "G0", "claim": "Add unit tests covering the new metadata object filtering in listMetadataObjectsForTag in isolation, including edge cases like empty arrays and null handling.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add unit tests verifyin...
null
apache__gravitino__9318
apache/gravitino
9,318
defect
fa5297f51e4722d2a7a13cf824f60c33d113bdf6
2b6bfcf8deaf8db8d23e1da922a7875794529bdb
[#9308] improvement(catalog-starrocks): Correct logic in generateAlterTableSql in StarRocksTableOperations when setProperty
### What changes were proposed in this pull request? Throws an exception when the property does not match the expected value ### Why are the changes needed? Fix: #9308 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? test by UT
diff --git a/catalogs/catalog-jdbc-starrocks/src/main/java/org/apache/gravitino/catalog/starrocks/operations/StarRocksTableOperations.java b/catalogs/catalog-jdbc-starrocks/src/main/java/org/apache/gravitino/catalog/starrocks/operations/StarRocksTableOperations.java index 17825aefe742..9e6ac7473667 100644 --- a/catalog...
3
3
3
[{"id": "G0", "claim": "The test should also cover properties with the dynamic_partition.* and binlog.* prefixes, which the fixed validation logic allows.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test should set replication_num to 1 instead of...
null
apache__gravitino__9319
apache/gravitino
9,319
defect
88b5d6a57cb6662283dcdc4d3035fc2fc2e1987c
42e24a1c74d155aadf30c80ad13cf2f91116cf73
[8769] fix(flink): return empty views to keep compatibility with Flink SQL gataway
### What changes were proposed in this pull request? return empty views to keep compatibility with Flink SQL gataway ### Why are the changes needed? Fix: #8769 ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? add existing tests
diff --git a/flink-connector/flink/src/main/java/org/apache/gravitino/flink/connector/catalog/BaseCatalog.java b/flink-connector/flink/src/main/java/org/apache/gravitino/flink/connector/catalog/BaseCatalog.java index 69950966462..a6daac46c21 100644 --- a/flink-connector/flink/src/main/java/org/apache/gravitino/flink/co...
2
1
0
[{"id": "G0", "claim": "The listViews parameter `s` is not descriptive and should be renamed to `databaseName` to match the convention of methods like listTables.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "listViews() should validate that ...
null
apache__gravitino__9338
apache/gravitino
9,338
defect
067ca0c4bcee18fa15e5757118c6075ed1d5e715
b7945e3f1ba92d361c4641de83a356d74340001b
[#7915] feat(authz): Get credentials API supports access control
### What changes were proposed in this pull request? Get credentials API supports access control ### Why are the changes needed? Fix: #7915 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Added an IT, run it locally.
diff --git a/clients/filesystem-hadoop3/src/test/java/org/apache/gravitino/filesystem/hadoop/integration/test/FilesetCatalogAuthorizationCredentialIT.java b/clients/filesystem-hadoop3/src/test/java/org/apache/gravitino/filesystem/hadoop/integration/test/FilesetCatalogAuthorizationCredentialIT.java new file mode 100644 ...
3
2
0
[{"id": "G0", "claim": "The empty startIntegrationTest() override is unnecessary; if it intentionally blocks the parent method from executing, add a comment explaining that design choice.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The @Order...
null
apache__gravitino__9372
apache/gravitino
9,372
defect
0dbbd7a14105be397c9f1e9bd89c8383af472e13
7427fd47d9acaca70ee30733f090ce64bbbdf30d
[#9356] improvement(authz): Improve the permission control of the `CAN_ACCESS_METADATA` expression.
### What changes were proposed in this pull request? Improve the permission control of the CAN_ACCESS_METADATA expression ### Why are the changes needed? Fix: #9356 ### Does this PR introduce _any_ user-facing change? None ### How was this patch tested? org.apache.gravitino.client.integration.test....
diff --git a/clients/client-java/src/test/java/org/apache/gravitino/client/integration/test/authorization/BaseRestApiAuthorizationIT.java b/clients/client-java/src/test/java/org/apache/gravitino/client/integration/test/authorization/BaseRestApiAuthorizationIT.java index 0616ce8d36c..f20e4e83d2e 100644 --- a/clients/cli...
4
3
0
[{"id": "G0", "claim": "The constant `loadMetalakeAuthorizationExpression`'s value \"METALAKE_USER\" breaks the naming pattern of the other expression constants in the file; rename the value or add a comment explaining why this special case exists.", "category": "maintainability", "verdict": "supported", "priority": "P...
null
apache__gravitino__9413
apache/gravitino
9,413
defect
5af9f93c13bd6c525e45f13b8a43895377b06165
7ebd9c2c186261b7aa2ae700d3f1df64cfb3670e
[#9468] improvement(client): Add configurable HTTP connection pool settings
### What changes were proposed in this pull request? Added configurable HTTP connection pool settings for Gravitino Java client: - New configs: gravitino.client.maxConnections (default: 25) and gravitino.client.maxConnectionsPerRoute (default: 5) - Updated HTTPClient to configure connection manager with these se...
diff --git a/clients/client-java/src/main/java/org/apache/gravitino/client/GravitinoClientConfiguration.java b/clients/client-java/src/main/java/org/apache/gravitino/client/GravitinoClientConfiguration.java index 4de877c108c7..c4e725d81d89 100644 --- a/clients/client-java/src/main/java/org/apache/gravitino/client/Gravi...
1
1
1
[{"id": "G0", "claim": "A check should be added that MaxConnTotal is equal to or greater than MaxConnectionsPerRoute.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__gravitino__9465
apache/gravitino
9,465
defect
8ae03fda93dddfcd671bbb9a547d57e3797ce832
bd03833e4d2e250514d27ece39e67a8577e044ce
[#9078] Improvement(core):In SchemaMetaService.java block non-cascading schema deletions when topics still exist
## What changes were proposed in this pull request? This PR implements a check to prevent the deletion of non-cascading schemas that still contain topic metadata. ## Why are the changes needed? Currently, schema deletion checks for dependant tables, filesets and models. If the schema contains topics, the dele...
diff --git a/core/src/main/java/org/apache/gravitino/storage/relational/mapper/TopicMetaMapper.java b/core/src/main/java/org/apache/gravitino/storage/relational/mapper/TopicMetaMapper.java index 014ef229ee6..998cdc8a7f4 100644 --- a/core/src/main/java/org/apache/gravitino/storage/relational/mapper/TopicMetaMapper.java ...
1
1
0
[{"id": "G0", "claim": "The reviewer recommends keeping the same style as the surrounding code, using the existing listTopicsByNamespace instead of adding a new topicsExistInSchema method.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__gravitino__9493
apache/gravitino
9,493
defect
0cb2f6db5d9e8727f608e1d4146d3ac9b8d1c16e
6c01bca2f626b033c3d6262d0571709b5e4f137f
[#9492] improvement(trino-connector): Add support skip catalog
### What changes were proposed in this pull request? Add config `gravitino.trino.skip-catalog-patterns` which defines a comma-separated list of catalog name regex patterns that should be excluded from loading. ### Why are the changes needed? Fix: #9492 ### Does this PR introduce _any_ user-facing change? No ...
diff --git a/docs/trino-connector/configuration.md b/docs/trino-connector/configuration.md index 19a5051033b9..acba0753a7ba 100644 --- a/docs/trino-connector/configuration.md +++ b/docs/trino-connector/configuration.md @@ -15,6 +15,7 @@ license: "This software is licensed under the Apache License version 2." | graviti...
8
8
3
[{"id": "G0", "claim": "Store the skip-catalog state in memory instead of reading it from the configuration on every load, and implement skipCatalog somewhere other than the Config class.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The documentation f...
null
apache__gravitino__9513
apache/gravitino
9,513
defect
531c0b5488f9d8bb294cde3358c92b9016b190b4
03f1b68fa85488e28496b355225e5c267284c37f
[#9512] fix(lance-rest): Handle null mode in registerTableRequest and add test case for verification
### What changes were proposed in this pull request? Try to fix a possible bug if the mode in `RegisterTableRequest` is null. ### Why are the changes needed? It's a bug. Fix: #9512 ### Does this PR introduce _any_ user-facing change? N/A. ### How was this patch tested? Add ITs
diff --git a/lance/lance-rest-server/src/main/java/org/apache/gravitino/lance/service/rest/LanceTableOperations.java b/lance/lance-rest-server/src/main/java/org/apache/gravitino/lance/service/rest/LanceTableOperations.java index e01eca59d9d..26f6e6cc908 100644 --- a/lance/lance-rest-server/src/main/java/org/apache/grav...
4
1
0
[{"id": "G0", "claim": "The default value for a null mode should not be CREATE — per the API documentation in LanceTableOperations the mode for registerTable can only be REGISTER or OVERWRITE — so use ModeEnum.REGISTER as the default or validate that the mode is not null and return an appropriate error, since CREATE as...
null
apache__gravitino__9534
apache/gravitino
9,534
defect
d9dc007c086a0c465e62a707257533fba5393bc0
7e59d030f5887d84eed8daf4e637f8d66d9dbc28
[#9506] feat(authz): Fileset supports credential vending with correct privileges
### What changes were proposed in this pull request? `Fileset` supports credential vending with correct privileges ### Why are the changes needed? Fix: #9506 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Add a new IT.
diff --git a/clients/filesystem-hadoop3/src/test/java/org/apache/gravitino/filesystem/hadoop/integration/test/GravitinoVirtualFileSystemS3CredentialAuthorizationIT.java b/clients/filesystem-hadoop3/src/test/java/org/apache/gravitino/filesystem/hadoop/integration/test/GravitinoVirtualFileSystemS3CredentialAuthorizationI...
11
4
0
[{"id": "G0", "claim": "The privilege determination logic should be extracted out of the REST endpoint into a separate method or utility class to improve testability and separation of concerns.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ne...
null
apache__gravitino__9559
apache/gravitino
9,559
defect
ab732667b59649627dcd5083661abc22601d2d2a
da3c1f0c38263d445c2d5c3f3c8f1e43b2f794dd
[#9554] fix(test): Adjust `TestJobManager` to fix flaky test in CI pipeline
### What changes were proposed in this pull request? This pull request refactors the `TestJobManager` test class to improve test isolation and reliability by converting static fields and lifecycle methods to instance-level, ensuring a fresh test environment for each test case. Additionally, it addresses potential in...
diff --git a/core/src/test/java/org/apache/gravitino/job/TestJobManager.java b/core/src/test/java/org/apache/gravitino/job/TestJobManager.java index 674e68cf9a8..59a08b9ae6a 100644 --- a/core/src/test/java/org/apache/gravitino/job/TestJobManager.java +++ b/core/src/test/java/org/apache/gravitino/job/TestJobManager.java...
4
3
0
[{"id": "G0", "claim": "Removing the reset() method that called mockedMetalake.reset(), Mockito.reset(entityStore) and Mockito.reset(jobManager) means mock state is no longer cleared between tests, so mocks set up in setUp may retain state; consider adding mock resets in tearDown to keep tests isolated.", "category": "...
null
apache__gravitino__9560
apache/gravitino
9,560
defect
46ae50ddbebc263fba83acbe1f2b92548699ac7e
8015f2a77e88ec07a869d84f654ed754ee590f20
[#9561] feat(core): Add UDF management core operations and validations
### What changes were proposed in this pull request? This PR implements the core operations for UDF (User-Defined Function) management in Gravitino, including: **ManagedFunctionOperations implementation:** - `registerFunction`: Register scalar, aggregate, and table functions with multi-definition support - `getFuncti...
diff --git a/core/src/main/java/org/apache/gravitino/Entity.java b/core/src/main/java/org/apache/gravitino/Entity.java index fc575b72b12..2df8e7a8da6 100644 --- a/core/src/main/java/org/apache/gravitino/Entity.java +++ b/core/src/main/java/org/apache/gravitino/Entity.java @@ -80,7 +80,8 @@ enum EntityType { TABLE_...
13
12
2
[{"id": "G0", "claim": "toVersionedIdent hardcodes namespace level(0), level(1), level(2), which could cause ArrayIndexOutOfBoundsException for a namespace with fewer than 3 levels; it should use namespace.levels() or add a precondition check on the namespace length.", "category": "correctness", "verdict": "supported",...
null
apache__gravitino__9565
apache/gravitino
9,565
defect
87d9b3552aeb720c46959d8458f351da2d816267
1e81f3c390d70ce5402bf76feec1db6c534d5182
[#9564] feat(flink): Flink connector supports user authentication
### What changes were proposed in this pull request? Flink connector supports user authentication. ### Why are the changes needed? Fix: #9564 ### Does this PR introduce _any_ user-facing change? Add the documents. ### How was this patch tested? Add integration tests.
diff --git a/clients/client-java/src/main/java/org/apache/gravitino/client/KerberosTokenProvider.java b/clients/client-java/src/main/java/org/apache/gravitino/client/KerberosTokenProvider.java index 849c13b282a..2f4f7750f77 100644 --- a/clients/client-java/src/main/java/org/apache/gravitino/client/KerberosTokenProvider...
10
8
2
[{"id": "G0", "claim": "extractPrincipalFromSubject can return null, which is assigned to provider.clientPrincipal without validation and later split in getTokenInternal without a null check, which could lead to a NullPointerException; add validation that a principal was found before using ExistingSubjectProvider.", "c...
null
apache__gravitino__9580
apache/gravitino
9,580
defect
ba97d63e7427c6da2240cadf5e669f5a204f1e39
f15c8ca7865c952670d73f916653402bcb4f0339
[#9532] feat(spark-connector): Add FunctionCatalog support for Gravitino UDFs
### What changes were proposed in this pull request? This PR enables Spark V2 connector FunctionCatalog to load/list UDFs stored in Gravitino. ### Why are the changes needed? To support loading and listing User-Defined Functions (UDFs) from Gravitino in Spark connector, which is part of the broader UDF support initi...
diff --git a/spark-connector/spark-common/src/main/java/org/apache/gravitino/spark/connector/catalog/BaseCatalog.java b/spark-connector/spark-common/src/main/java/org/apache/gravitino/spark/connector/catalog/BaseCatalog.java index 4ec2652cd2b9..62ef5ca20e73 100644 --- a/spark-connector/spark-common/src/main/java/org/ap...
16
13
2
[{"id": "G0", "claim": "In GravitinoIcebergCatalog, loadFunction special-cases the empty namespace in listFunctions but may still call super.loadFunction for unqualified identifiers depending on defaultNamespace(), making unqualified function resolution inconsistent with listing and the stated Iceberg-compatibility com...
null
apache__gravitino__9589
apache/gravitino
9,589
defect
7a84c4c17d71dbf5b58b4b9bcb42054dfe3fb20e
3aeeba86ffe6a2c06b01ca086e96f10f724aa297
[#9520] improvement(lance): Refine the concept of createEmptyTable in Lance REST
### What changes were proposed in this pull request? This pull request introduces support for creating "empty" tables in the Lance-backed catalog, where only metadata is stored without creating any underlying storage or dataset. The implementation includes changes to the REST API, backend logic, constants, and i...
diff --git a/catalogs/catalog-lakehouse-generic/src/main/java/org/apache/gravitino/catalog/lakehouse/lance/LanceTableOperations.java b/catalogs/catalog-lakehouse-generic/src/main/java/org/apache/gravitino/catalog/lakehouse/lance/LanceTableOperations.java index 529c798c1e7..e9863d5f63f 100644 --- a/catalogs/catalog-lake...
9
6
1
[{"id": "G0", "claim": "The constant name LANCE_TABLE_CREATE_EMTPY misspells EMPTY and should be renamed to LANCE_TABLE_CREATE_EMPTY at its definition and at every use.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The rewritten testDropTable a...
null
apache__gravitino__9617
apache/gravitino
9,617
defect
60de61930b1761f01a8aa98e65554d06f761147a
4cbc390b3eadef011e347b06cc61a5c9a814d8e0
[#9581] fix(hive): Perform resource cleanup in HiveClientPool close
<!-- 1. Title: [#<issue>] <type>(<scope>): <subject> Examples: - "[#123] feat(operator): support xxx" - "[#233] fix: check null before access result in xxx" - "[MINOR] refactor: fix typo in variable name" - "[MINOR] docs: fix typo in README" - "[#255] test: fix flaky test NameOfTheTes...
diff --git a/catalogs/hive-metastore-common/build.gradle.kts b/catalogs/hive-metastore-common/build.gradle.kts index 406b0fd31cf..de365651891 100644 --- a/catalogs/hive-metastore-common/build.gradle.kts +++ b/catalogs/hive-metastore-common/build.gradle.kts @@ -120,6 +120,7 @@ dependencies { exclude("org.slf4j") ...
5
3
0
[{"id": "G0", "claim": "The comment added above reconnect() reads like a leftover TODO that may need to be removed.", "category": "documentation", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test should use static imports for Mockito methods (e.g. mock, spy) instead of the...
null
apache__gravitino__9752
apache/gravitino
9,752
defect
7f9e6528970132e3603a32ca3a3aff1c8d75aaab
4b2c4b4a1e25157ec62e0e2a2348f01852f7c647
[#9720] feat(trino-connector): Trino integration tests support specifying the version of the testing Trino environment
### What changes were proposed in this pull request? `--trino_version` specify the trino version. `--trino_connector_dir` specify the trino connector JAR files path. ### Why are the changes needed? Fix: #9720 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? local te...
diff --git a/docs/how-to-test.md b/docs/how-to-test.md index dfaf63fb621b..2877b6916d28 100644 --- a/docs/how-to-test.md +++ b/docs/how-to-test.md @@ -66,6 +66,7 @@ To deploy the Gravitino server locally to run the integration tests, follow thes 4. Use the `bash trino-connector/integration-test/trino-test-tools/trino_...
11
11
5
[{"id": "G0", "claim": "The reviewer questions the need for multi-version support inside the tool: it was designed to test one Trino version, and multiple versions can be covered by running the tool multiple times.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
apache__gravitino__9753
apache/gravitino
9,753
defect
6de1a0b1f1cadf049639da5eb33c878737113ca4
9da73e2702b8385b72d20092e978cd2f189816e8
[#9731] feat(paimon): support hash distribution in Paimon catalog
### What changes were proposed in this pull request? Support hash distribution in Paimon catalog ### Why are the changes needed? Fix: #9731 ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? existing tests
diff --git a/catalogs/catalog-common/src/main/java/org/apache/gravitino/catalog/lakehouse/paimon/PaimonConstants.java b/catalogs/catalog-common/src/main/java/org/apache/gravitino/catalog/lakehouse/paimon/PaimonConstants.java index 291a7ea9694..3ba2e352a28 100644 --- a/catalogs/catalog-common/src/main/java/org/apache/gr...
8
7
2
[{"id": "G0", "claim": "There is no test coverage for the other invalid distribution scenarios the validation checks for, such as negative bucket numbers, non-existent distribution columns, non-HASH distribution strategy, or empty bucket keys array.", "category": "testing", "verdict": "uncertain", "priority": "P2", "sc...
null
apache__gravitino__9761
apache/gravitino
9,761
defect
7f9e6528970132e3603a32ca3a3aff1c8d75aaab
0fab6056697dfe20426a0c19425f7b6c1dbe3c8d
[#9754] feat(clickhouse): Add schema operations for ClickHouse catalog
### What changes were proposed in this pull request? This PR adds support for schema operations. ### Why are the changes needed? It's a need from the user community. Fix: #9754 ### Does this PR introduce _any_ user-facing change? N/A ### How was this patch tested? UTs
diff --git a/build.gradle.kts b/build.gradle.kts index ee123d68c73..bb0520cc519 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1076,6 +1076,7 @@ tasks { ":catalogs:catalog-jdbc-oceanbase:copyLibAndConfig", ":catalogs:catalog-jdbc-postgresql:copyLibAndConfig", ":catalogs:catalog-jdbc-starr...
20
12
2
[{"id": "G0", "claim": "StringUtils.isNoneBlank() is misused with a single argument in initialize(); use StringUtils.isNotBlank(cn) instead.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The override of create() only calls super.create() with the s...
null
apache__gravitino__9763
apache/gravitino
9,763
defect
daf5f26f66e33ec42d6dca1e40407dff36d4db2a
76ed7c0f9f56c25c034201a0419c005bf2a72553
[#9760] feat(client): disable version check by enviroment varibles
### What changes were proposed in this pull request? disable version check by enviroment varibles ### Why are the changes needed? Fix: #9760 ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? existsing tests
diff --git a/clients/client-java/src/main/java/org/apache/gravitino/client/GravitinoAdminClient.java b/clients/client-java/src/main/java/org/apache/gravitino/client/GravitinoAdminClient.java index ae89408d279..9272e19c86d 100644 --- a/clients/client-java/src/main/java/org/apache/gravitino/client/GravitinoAdminClient.ja...
4
3
1
[{"id": "G0", "claim": "The user documentation should be updated to describe the new GRAVITINO_VERSION_CHECK_DISABLED environment variable.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new version-check tests should not live in a separate Te...
null
apache__gravitino__9773
apache/gravitino
9,773
defect
daf5f26f66e33ec42d6dca1e40407dff36d4db2a
6a8fdebade23cf147395eb890dc04d3ae58333f3
[#9586][followup] improvement(authz): Move check metalake in use to server module
### What changes were proposed in this pull request? Move check metalake in use to server module ### Why are the changes needed? This is a follow up PR to optimize the code to avoid redundant check ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing test...
diff --git a/core/src/main/java/org/apache/gravitino/authorization/AuthorizationUtils.java b/core/src/main/java/org/apache/gravitino/authorization/AuthorizationUtils.java index 387a618165b..0cd7db7d5ed 100644 --- a/core/src/main/java/org/apache/gravitino/authorization/AuthorizationUtils.java +++ b/core/src/main/java/or...
3
1
0
[{"id": "G0", "claim": "The segment lock with write permission seems not to work in a concurrent environment — it only guarantees that threads using the same key do not access the cache at the same time and does not prevent multiple threads with different keys from accessing it — so we may need to check whether this is...
null
apache__gravitino__9781
apache/gravitino
9,781
defect
daf5f26f66e33ec42d6dca1e40407dff36d4db2a
364d69349f97d4e7de7f8ba5ad883a94f1aa110c
[#9775] improvement(catalogs): Reorg catalogs structure
### What changes were proposed in this pull request? This pull request reorganizes the OceanBase JDBC catalog by moving it from the main `catalogs` directory to a new `catalogs-contrib` module, and updates build and documentation files to reflect this change. It also clarifies the differences between the standard an...
diff --git a/.github/workflows/backend-integration-test-action.yml b/.github/workflows/backend-integration-test-action.yml index 266e2a81468..7af351caba6 100644 --- a/.github/workflows/backend-integration-test-action.yml +++ b/.github/workflows/backend-integration-test-action.yml @@ -67,6 +67,7 @@ jobs: -x :...
4
2
0
[{"id": "G0", "claim": "Add a comment to catalogs-contrib/build.gradle.kts explaining why all tasks are disabled by default and how to enable them when needed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new documentation lines 22 and 24 in...
null
apache__gravitino__9787
apache/gravitino
9,787
defect
209001cfbeee48b8ef4d8734540aa898556a0ea7
62a56d3b403b5844d3b500937d3111bed6a8f033
[#9745]feat(core,IRC): Add view entity and management layer
<!-- 1. Title: [#<issue>] <type>(<scope>): <subject> Examples: - "[#123] feat(operator): support xxx" - "[#233] fix: check null before access result in xxx" - "[MINOR] refactor: fix typo in variable name" - "[MINOR] docs: fix typo in README" - "[#255] test: fix flaky test NameOfTheTes...
diff --git a/api/src/main/java/org/apache/gravitino/Catalog.java b/api/src/main/java/org/apache/gravitino/Catalog.java index ed63285e95c8..2354b8d8e086 100644 --- a/api/src/main/java/org/apache/gravitino/Catalog.java +++ b/api/src/main/java/org/apache/gravitino/Catalog.java @@ -246,6 +246,16 @@ default FunctionCatalog ...
6
5
1
[{"id": "G0", "claim": "The new View and ViewCatalog interfaces should be annotated with @Unstable instead of @Evolving.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Catalog.asViewCatalog() should use the imported simple name ViewCatalog instead of the...
null
apache__gravitino__9794
apache/gravitino
9,794
defect
904fd7f9bd7d3ef3137ba62451c8465bf013c315
f95aba7b96c6470d31289d449e86472192f7dff7
[#9529] feat(server): Add server-side REST interface for UDFs (part-2)
### What changes were proposed in this pull request? Changes include: - Add FunctionOperations REST endpoint with register, get, update, delete operations - Add exception handlers for function-related errors - Add comprehensive unit tests for all new components ### Why are the changes needed? Fix: #9529...
diff --git a/core/src/main/java/org/apache/gravitino/utils/NameIdentifierUtil.java b/core/src/main/java/org/apache/gravitino/utils/NameIdentifierUtil.java index 02a6761fe7b..32523b9725d 100644 --- a/core/src/main/java/org/apache/gravitino/utils/NameIdentifierUtil.java +++ b/core/src/main/java/org/apache/gravitino/utils...
2
2
2
[{"id": "G0", "claim": "The function REST endpoints lack @AuthorizationExpression (or related authorization) annotations, so GravitinoInterceptionService will skip all metadata authorization checks for them, exposing list/get/register/alter/drop of functions without the access control applied to tables, models and sche...
null
apache__gravitino__9800
apache/gravitino
9,800
defect
155ad3d857cc823274a5fabbb650950ee123c468
1032932304eadbb4b00ba0bbcd8c2992991c8c40
[#9799] improvement(core): Cache non-existence relational data for next access
### What changes were proposed in this pull request? This pull request improves the handling of empty entity lists in the caching logic and adds comprehensive tests to verify cache behavior when entity relations change. The changes ensure that empty lists are now cached, and that cache invalidation works correctly...
diff --git a/core/src/main/java/org/apache/gravitino/cache/CaffeineEntityCache.java b/core/src/main/java/org/apache/gravitino/cache/CaffeineEntityCache.java index 316d4a3e01c..40036e1bc7b 100644 --- a/core/src/main/java/org/apache/gravitino/cache/CaffeineEntityCache.java +++ b/core/src/main/java/org/apache/gravitino/ca...
2
1
1
[{"id": "G0", "claim": "The new reverse-relation test may fail because RelationalEntityStore.updateEntityRelations invalidates destination entities using the source entity type (CATALOG) instead of the destination entity type (TAG), so the empty list cached at (tag1, TAG, TAG_METADATA_OBJECT_REL) is not invalidated and...
null
apache__gravitino__9806
apache/gravitino
9,806
defect
e2d08470890e417ce62fce1cd169de9b73d163d5
f7241a769696fe6269f1a74275b5dcafbd9cbb40
[#9528] feat(storage): support function management (PO) (part-1)
### What changes were proposed in this pull request? Introduce PO (Persistent Object) classes for Function management in relational storage. - Added FunctionPO: Represents the base function metadata. - Added FunctionVersionPO: Represents specific versions of a function. - Added FunctionMaxVersionPO: Used for trac...
diff --git a/core/src/main/java/org/apache/gravitino/storage/relational/po/FunctionMaxVersionPO.java b/core/src/main/java/org/apache/gravitino/storage/relational/po/FunctionMaxVersionPO.java new file mode 100644 index 00000000000..df7bea4aa8c --- /dev/null +++ b/core/src/main/java/org/apache/gravitino/storage/relationa...
1
1
0
[{"id": "G0", "claim": "The hand-written Builder class in FunctionPO should be replaced by a Lombok-generated builder instead of maintained by hand.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__gravitino__9812
apache/gravitino
9,812
defect
daf5f26f66e33ec42d6dca1e40407dff36d4db2a
aa0bae06684589a61c433a48b0ad3594ac23f816
[#9770] improvement(authz): Convert Jcasbin internal map to the cache
### What changes were proposed in this pull request? Convert Jcasbin internal map to the cache ### Why are the changes needed? Fix: #9770 ### Does this PR introduce _any_ user-facing change? Add documents. ### How was this patch tested? Add UTs.
diff --git a/core/src/main/java/org/apache/gravitino/Configs.java b/core/src/main/java/org/apache/gravitino/Configs.java index 9f04aa931803..bdf604770b9d 100644 --- a/core/src/main/java/org/apache/gravitino/Configs.java +++ b/core/src/main/java/org/apache/gravitino/Configs.java @@ -302,6 +302,33 @@ private Configs() {}...
6
4
2
[{"id": "G0", "claim": "With expireAfterWrite, a cache entry close to expiry could be seen as present (skipping the reload) yet expire before it is actually used, so authorization checks could run on stale/missing role or owner data, and the expiration policy should refresh the expiry on access (e.g. expireAfterAccess)...
null
apache__gravitino__9826
apache/gravitino
9,826
defect
43ac3742a0991e5b12a7ee9d94be6bb9443401a3
fe200bdacf9a6ae3fcf1307dca5370b38400430c
[#9756] feat(catalogs): Support alternation operations for ClickHouse tables
### What changes were proposed in this pull request? Support alternation operations for ClickHouse tables. ### Why are the changes needed? It's a feature. Fix: #9756 ### Does this PR introduce _any_ user-facing change? N/A ### How was this patch tested? UTs
diff --git a/api/src/main/java/org/apache/gravitino/rel/indexes/Indexes.java b/api/src/main/java/org/apache/gravitino/rel/indexes/Indexes.java index c6303e7938b..ca09c366d9f 100644 --- a/api/src/main/java/org/apache/gravitino/rel/indexes/Indexes.java +++ b/api/src/main/java/org/apache/gravitino/rel/indexes/Indexes.java...
30
20
8
[{"id": "G0", "claim": "The database and table names are concatenated directly into the listIndexes SQL without prepared-statement parameters, which could allow SQL injection; use bound parameters instead.", "category": "security", "verdict": "uncertain", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": ...
null
apache__gravitino__9839
apache/gravitino
9,839
defect
dd45b15b677943bab8d6988bfd79c300eca99380
c9bc59957dd64042824862cce8f412d413db3916
[#9837] feat(iceberg): skip credential vending for local or hdfs
### What changes were proposed in this pull request? skip credential vending for local or hdfs ### Why are the changes needed? Fix: #9837 ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? 1. using local fs as warehouse 2. set credential vending request by using sp...
diff --git a/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/CatalogWrapperForREST.java b/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/CatalogWrapperForREST.java index b77b16e8554..1e6c956e04e 100644 --- a/iceberg/iceberg-rest-server/src/main/java/org/apa...
6
3
2
[{"id": "G0", "claim": "shouldGenerateCredential decides only on tableMetadata.location(), but getCredential() builds the credential context from location, WRITE_DATA_LOCATION and WRITE_METADATA_LOCATION, so a table whose location is local/HDFS while a write location is non-local would incorrectly skip credential vendi...
null
apache__gravitino__9854
apache/gravitino
9,854
defect
dd45b15b677943bab8d6988bfd79c300eca99380
a1e3d0bf595fea797ec57a5fc4fddcaff86a9cc0
[#8507] Add null check for namespace in ListTopicFailureEvent
### What changes were proposed in this pull request? Added a precondition check to ensure the namespace parameter is not null in `ListTopicFailureEvent` constructor using `Preconditions.checkNotNull()`. ### Why are the changes needed? To prevent NullPointerException and fail fast with a clear error message whe...
diff --git a/core/src/main/java/org/apache/gravitino/listener/api/event/ListTopicFailureEvent.java b/core/src/main/java/org/apache/gravitino/listener/api/event/ListTopicFailureEvent.java index beb574c8b8a..e8e1a210956 100644 --- a/core/src/main/java/org/apache/gravitino/listener/api/event/ListTopicFailureEvent.java +++...
2
2
1
[{"id": "G0", "claim": "Move the namespace null check above super(...) and use Preconditions.checkArgument instead of checkNotNull, because checkNotNull throws an NPE, which is not the wanted behaviour.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": ...
null
apache__gravitino__9856
apache/gravitino
9,856
defect
4fe9d847ecfd57e3f552b9bf37cad5fd09a0cd76
fa74214d7cd0108ce058c7fa74d521b08a761d02
[#9528] feat(storage): support function management (Service) (part-3)
### What changes were proposed in this pull request? Implement FunctionMetaService and expose function management capabilities (Create, Get, List). - Added FunctionMetaService with create, get, and list operations. - Added TestFunctionMetaService to verify the functionality. - Registered service in JDBCBackend. ...
diff --git a/AGENTS.md b/AGENTS.md index ce35d9b614b..b28d6329dc5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -39,6 +39,10 @@ 4. Constructors. 5. Methods (Group by visibility, putting `private` methods at the end). +## Issue and PR Guidelines +- **Issue Templates**: Use the appropriate template from `.github/ISSU...
2
2
0
[{"id": "G0", "claim": "The PO converter code should be moved out of FunctionMetaService into the related PO classes so that other meta services can also benefit from it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The code that deletes funct...
null
apache__gravitino__9861
apache/gravitino
9,861
defect
fb88c95ccb3083663a35f6d1a3c8a570f327b12a
1473b175291df68699349e96435a30bd2b520e02
[#9719] feat (trino-connector): Add the version segment module to support Trino-435 to Trino–439
### What changes were proposed in this pull request? Add the version segment module for 435–439 to support Trino 345 through Trino 439 ### Why are the changes needed? Fix: #9719 ### Does this PR introduce _any_ user-facing change? NO ### How was this patch tested? UT and IT
diff --git a/.github/workflows/frontend-integration-test.yml b/.github/workflows/frontend-integration-test.yml index 71f788371cd..bb6555b6958 100644 --- a/.github/workflows/frontend-integration-test.yml +++ b/.github/workflows/frontend-integration-test.yml @@ -1,8 +1,11 @@ name: Frontend Integration Test # Controls...
6
4
0
[{"id": "G0", "claim": "The workflow's Gravitino packaging step should either keep `compileDistribution` with `compileTrinoConnector` or, if the change to `./gradlew build -x test` was needed, at least be renamed from 'Package Gravitino' to reflect what it now does.", "category": "maintainability", "verdict": "supporte...
null
apache__gravitino__9895
apache/gravitino
9,895
defect
41fbf422dbcd55b2d17bd232200980f0d7449342
10dc4cf6e1715d3ee5ceddd729affaf33139660a
[#9894] feat (trino-connector): Add the version segment module to support Trino 440-445
### What changes were proposed in this pull request? Add the version segment module for 440-445 to support Trino 440 through Trino 445 ### Why are the changes needed? Fix: #9894 ### Does this PR introduce _any_ user-facing change? NO ### How was this patch tested? UT and IT
diff --git a/integration-test-common/docker-script/docker-compose.yaml b/integration-test-common/docker-script/docker-compose.yaml index 2641e539924..e37eda30a8f 100644 --- a/integration-test-common/docker-script/docker-compose.yaml +++ b/integration-test-common/docker-script/docker-compose.yaml @@ -19,7 +19,7 @@ serv...
3
2
1
[{"id": "G0", "claim": "The new throws clause `throws TrinoException{` on GravitinoMockServer.addColumn is missing a space before the opening brace, contrary to the Google Java Style Guide.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Bumping ...
null
apache__gravitino__9914
apache/gravitino
9,914
defect
40007c804c21572b9ec015e5e3c1b04665d4dcce
44c1a7bb93aa5b50b33fb3314af520391269972c
[#9518] improvement(authz): support batch get owner
### What changes were proposed in this pull request? support batch get owner ### Why are the changes needed? Fix: #9518 ### Does this PR introduce _any_ user-facing change? None ### How was this patch tested? Existing IT
diff --git a/core/src/main/java/org/apache/gravitino/SupportsRelationOperations.java b/core/src/main/java/org/apache/gravitino/SupportsRelationOperations.java index 7d8aca914e4..6d4770888c7 100644 --- a/core/src/main/java/org/apache/gravitino/SupportsRelationOperations.java +++ b/core/src/main/java/org/apache/gravitino...
4
3
1
[{"id": "G0", "claim": "The batch relation API should return a list of relations tying each source to its targets instead of a flat list of entities, otherwise callers cannot know the relation between entities.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G6", "claim...
null
apache__gravitino__9962
apache/gravitino
9,962
defect
f4dbbe5aa188cd63c5b1fad070aa5270e2323242
47c5cf74a46e48190c4f02334712a21a3113af51
[#9961] feat (trino-connector): Add the version segment module to support Trino 452-468
### What changes were proposed in this pull request? Add the version segment module for 452-468 to support Trino 452 through Trino 468 ### Why are the changes needed? Fix: #9961 ### Does this PR introduce _any_ user-facing change? NO ### How was this patch tested? UT and IT
diff --git a/.claude/skills/trino-test/SKILL.md b/.claude/skills/trino-test/SKILL.md new file mode 100644 index 00000000000..f6787f53ae5 --- /dev/null +++ b/.claude/skills/trino-test/SKILL.md @@ -0,0 +1,97 @@ +--- +name: trino-test +description: Run, debug, and manage Trino integration tests for the Gravitino project. ...
7
4
2
[{"id": "G0", "claim": "Fix the grammar in the exception message: replace \"is not exist\" with \"does not exist\" (and \"does not exist or is empty\").", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The -XX:G1NumCollectionsKeepPinned flag added t...
null
apache__gravitino__9969
apache/gravitino
9,969
defect
cc039f855e9ad4215e16eebe62409d143084510c
e439893a25e8e7a2a3e8a812b80bb363a5ee406a
[#9966] improvement(iceberg): IRC should expire the catalog wrapper cache timely
### What changes were proposed in this pull request? RC should expire the catalog wrapper tmely ### Why are the changes needed? Fix: #9966 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Add a UT.
diff --git a/core/src/main/java/org/apache/gravitino/catalog/CatalogDispatcher.java b/core/src/main/java/org/apache/gravitino/catalog/CatalogDispatcher.java index 5796921d660..6b07a2854e6 100644 --- a/core/src/main/java/org/apache/gravitino/catalog/CatalogDispatcher.java +++ b/core/src/main/java/org/apache/gravitino/ca...
5
3
1
[{"id": "G0", "claim": "The new override added to CatalogHookDispatcher spells out java.util.function.Consumer fully qualified instead of importing it (or needing this method here at all).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The cache...
null
apache__gravitino__9991
apache/gravitino
9,991
defect
52eea1a49601657ff371ca176ce37dfde715186e
c2609a272deb7e3e5279a3395d40654a84d73613
[#9990] fix(CI): Fix fails to start docker container due to Github CI runner image upgrade.
### What changes were proposed in this pull request? This pull request makes a minor dependency update, upgrading the `testcontainers` library version in the `gradle/libs.versions.toml` file. This brings in the latest features and bug fixes from the `testcontainers` library. ### Why are the changes needed? To ...
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 43cfd73d8db..651f8d4e39b 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -72,7 +72,7 @@ trino = '435' scala-collection-compat = "2.7.0" scala-java-compat = "1.0.2" sqlite-jdbc = "3.42.0.0" -testcontainers = "1.20.6" +t...
3
2
2
[{"id": "G0", "claim": "The major version upgrade from testcontainers 1.20.6 to 2.0.3 removes the shaded awaitility library, so the `org.testcontainers.shaded.org.awaitility.Awaitility.await` imports in at least nine files will break; the shaded imports must be replaced with direct `org.awaitility.Awaitility` imports a...
null
apache__groovy__1706
apache/groovy
1,706
defect
a2b1157dd1c22fc5fb1cea97fa76a77cba6d51f8
44f2bfab0e2ca77fa2b5f7e216129c049d276619
GROOVY-10540: add `GroovyObject` interface before STC and classgen
Adding `GroovyObject` at the start of `INSTRUCTION_SELECTION` will impact the abstract methods of a class for that phase. Not many transforms run there besides STC. I think the risk is low. I left `Verifier` alone because `JavaStubGenerator` runs it to get `GroovyObject` add-ons, etc. And in rare cases if a class...
diff --git a/src/main/java/groovy/transform/stc/FromAbstractTypeMethods.java b/src/main/java/groovy/transform/stc/FromAbstractTypeMethods.java index b00544b3341..948a71fe240 100644 --- a/src/main/java/groovy/transform/stc/FromAbstractTypeMethods.java +++ b/src/main/java/groovy/transform/stc/FromAbstractTypeMethods.java...
2
2
0
[{"id": "G0", "claim": "Use ArrayList instead of LinkedList for the signatures list, as LinkedList rarely out-performs it.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Avoid reference equality when comparing the class with the method declaring cla...
null
apache__groovy__2228
apache/groovy
2,228
defect
2f6f0dd51eedd8267b3a5a2a358caf3f7c5c2915
8b2bf34425b9b8fc4fef34b48412d7a92432d4ee
GROOVY-11668: Support specifying the Java source file version for groovydoc
See https://lists.apache.org/thread/gvjw8rnnw3ntd9v8gh0h3xsn85qfbt3x for context
diff --git a/src/bin/groovydoc_completion b/src/bin/groovydoc_completion index afcdfc3e3dce..28d8edf08437 100644 --- a/src/bin/groovydoc_completion +++ b/src/bin/groovydoc_completion @@ -91,7 +91,7 @@ function _picocli_groovydoc() { COMMANDS="" FLAG_OPTS="-h -help --help --version -verbose -quiet --debug -class...
10
7
2
[{"id": "G0", "claim": "The PR-created JavaLanguageLevel enum duplicates what JavaParser already provides and will have to be updated over time (preview versions excluded), so the author asks whether to use JavaParser's enum instead and offers to update the implementation if someone has a strong opinion.", "category": ...
null
apache__groovy__2492
apache/groovy
2,492
defect
ac71deb69d3193d07052fcaa57e3a442baf4e244
e8bbc97b86f2ea40efdffcb03f3c07e23e0c6754
GROOVY-11966: AnnotationNode.isTargetAllowed introduces concurrent wr…
…ite to shared ListHashMap https://issues.apache.org/jira/browse/GROOVY-11966 ## Background `NodeMetaDataHandler` stores per-`ASTNode` metadata in a `ListHashMap` — a small-N optimised map that promotes its internal storage from arrays to a `HashMap` once it grows past three entries. This map is **not thread-s...
diff --git a/src/main/java/org/codehaus/groovy/ast/NodeMetaDataHandler.java b/src/main/java/org/codehaus/groovy/ast/NodeMetaDataHandler.java index ddb485d4f16c..a696aef8394c 100644 --- a/src/main/java/org/codehaus/groovy/ast/NodeMetaDataHandler.java +++ b/src/main/java/org/codehaus/groovy/ast/NodeMetaDataHandler.java @...
2
2
1
[{"id": "G0", "claim": "The stress test never inspects the Futures returned by submit(...), so any exception escaping the inner try/catch (e.g. from ThreadUtils.await(start) before the try block) is captured by the Future and the test can pass silently; the reviewer asks to move the barrier await inside the try/catch t...
null
apache__groovy__679
apache/groovy
679
defect
7e7b508c02bf35e72fca1efcb7cc0d8a4f25038a
78dc3c8d6111ab6365f1da519bf027d634803cce
GROOVY-8525: Binary compatibility issue for GroovyClassLoader between…
… 2.4 vs later branches (alternative to PR#678) What I haven't yet checked is whether we need to make some of the delegated method calls just throw UnsupportedOperationException in order to keep the claims like @Threadsafe.
diff --git a/src/main/groovy/groovy/lang/GroovyClassLoader.java b/src/main/groovy/groovy/lang/GroovyClassLoader.java index 23c63b21070f..626ffb04b28f 100644 --- a/src/main/groovy/groovy/lang/GroovyClassLoader.java +++ b/src/main/groovy/groovy/lang/GroovyClassLoader.java @@ -90,13 +90,13 @@ public class GroovyClassLoade...
3
3
2
[{"id": "G0", "claim": "The newly added entrySet() (and likewise isEmpty() and containsValue()) read commonCache without a lock and should be protected by doWithReadLock like the other accessors.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ad...
null
apache__guacamole-client__1075
apache/guacamole-client
1,075
defect
7d4009f91bf8e26d22a98a6acb401cf7434625f2
e7587cbc2ce5d3591db119f95af3e2c6cdbd5d58
GUACAMOLE-2052: Maintain independent copy of request details in Credentials.
We cannot rely on referencing the `HttpServletRequest` outside the scope of that request. To fix this behavior, this change: * Refactors away reliance on continued references to `HttpServletRequest` within `Credentials`, replacing them with a `RequestDetails` copy of the request. * Deprecates: * `getRequest()` i...
diff --git a/extensions/guacamole-auth-duo/src/main/java/org/apache/guacamole/auth/duo/DuoAuthenticationProvider.java b/extensions/guacamole-auth-duo/src/main/java/org/apache/guacamole/auth/duo/DuoAuthenticationProvider.java index ff3555ca58..580dbf9350 100644 --- a/extensions/guacamole-auth-duo/src/main/java/org/apach...
2
1
1
[{"id": "G0", "claim": "Someone could call the new Credentials(username, password, request) constructor and then use getSession(), getHeader() or getParameter() without requestDetails having been generated and set, and get a null pointer dereference exception.", "category": "correctness", "verdict": "opposed", "priorit...
null
apache__guacamole-client__303
apache/guacamole-client
303
defect
fd2198d62bd5181c6a193dbcedc401823e0fbabe
a4ccfcab5fdad4c1081b5acd5232323b618c0043
GUACAMOLE-579: Get user attributes from CAS ticket
This PR merges the support for retrieving user attributes from CAS.
diff --git a/extensions/guacamole-auth-cas/pom.xml b/extensions/guacamole-auth-cas/pom.xml index ae8bd6739f..ca6b8828e1 100644 --- a/extensions/guacamole-auth-cas/pom.xml +++ b/extensions/guacamole-auth-cas/pom.xml @@ -254,6 +254,14 @@ <version>2.5</version> <scope>provided</scope> </...
14
14
3
[{"id": "G0", "claim": "The pull request's changes to the `AuthenticatedUser` class may violate the specifications of the `Attributes` interfaces with regard to setting attributes.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "claim": "Add a `fromAttribute(fin...
null
apache__guacamole-client__460
apache/guacamole-client
460
defect
a0bac666dbd1e979e67133c5bf6f1bfcd96c59d3
b9850fc36eac391b9966b3acc892999108d9ab79
GUACAMOLE-760: Add support for configuring server timezone.
This adds support for the various JDBC modules for configuring the database server timezone.
diff --git a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/JDBCEnvironment.java b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/JDBCEnvironment.java index 9158afb853..8c3bf76a0d 100644 --- a/ext...
5
5
5
[{"id": "G0", "claim": "The new PostgreSQL and SQL Server implementations should be dropped unless those drivers are actually affected by the serverTimezone JDBC parameter.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "JDBC.serverTimezone did not appear...
null
apache__guacamole-client__511
apache/guacamole-client
511
defect
9e8f3ebb78eb961bfe5cd88faeea8119f4381ec4
e91285ad2b0247a23de7303eac4511dff39beb6f
GUACAMOLE-1025: Allow QuickConnect module to configure allowed and/or denied parameters
This implements the necessary bits to allow someone to specify in the guacamole.properties file a list of either explicitly allowed parameters or a list of explicitly denied parameters for the QuickConnect module. In specifying either or both of these options, an administrator can control what functionality or access ...
diff --git a/extensions/guacamole-auth-quickconnect/pom.xml b/extensions/guacamole-auth-quickconnect/pom.xml index e989430aa0..c7509fab47 100644 --- a/extensions/guacamole-auth-quickconnect/pom.xml +++ b/extensions/guacamole-auth-quickconnect/pom.xml @@ -191,6 +191,18 @@ <version>1.2.0</version> ...
9
9
3
[{"id": "G0", "claim": "The indentation in QCParser.parseUserInfo became wonky, misaligning the newly added try/catch blocks.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new conf/StringListProperty class duplicates a StringListProperty th...
null
apache__guacamole-client__519
apache/guacamole-client
519
defect
4e4b6f24f2d34a91f5381da955680f85c2ce56c3
7c44ee2a6772c13418fd5393ffba12f7dd75b678
GUACAMOLE-728: Implement EnumGuacamoleProperty.
This change implements a new property type, `EnumGuacamoleProperty`, intended to ease creation of properties that are driven by `enum` constants. Such properties formerly required defining a custom `GuacamoleProperty` subclass. `EnumGuacamoleProperty` allows string/enum mapping through either of the following: * ...
diff --git a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/MySQLDriver.java b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/MySQLDriver.java index 32bf6722b1..ea74f99376 100644 --- a/extensi...
3
1
1
[{"id": "G0", "claim": "M001 asks whether deleting the string value (strValue) from RadiusAuthenticationProtocol breaks RADIUS, since that value was used to pass the protocol to JRadius, and requests that some of it be put back if so.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intr...
null
apache__guacamole-client__579
apache/guacamole-client
579
defect
ecd385b0f82fd4d8e2a871195e73df21067bc8fd
1303dabbb1353bd2049b5e8d36c54ed76ca8b33b
GUACAMOLE-793: Add support for retrieving effective groups from CAS.
This PR builds upon the changes proposed by @doctorfree via #563 (which itself built upon #454 from @siacali), aiming to clean up the LDAP parsing logic such that things are actually LDAP-aware. I did this by: 1. Pulling the changes from #563. 2. Squashing those changes down to a single commit, preserving authorshi...
diff --git a/extensions/guacamole-auth-cas/pom.xml b/extensions/guacamole-auth-cas/pom.xml index f4b30e4b4b..2ffe8182ea 100644 --- a/extensions/guacamole-auth-cas/pom.xml +++ b/extensions/guacamole-auth-cas/pom.xml @@ -183,6 +183,26 @@ <scope>provided</scope> </dependency> + <!-- JUnit --...
3
2
1
[{"id": "G0", "claim": "The four new CAS group properties (cas-group-attribute, cas-group-format, cas-group-ldap-base-dn, cas-group-ldap-attribute) should be added to guacamole-docker/bin/start.sh so Docker environments can set them.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced...
null
apache__guacamole-client__611
apache/guacamole-client
611
defect
6644955fff07db7844f0b495b4abfabf2b700e21
33ac90ed795491410d3256ccd5609ef57cfc566e
GUACAMOLE-1048: Support server control commands during handshake
This change builds off #500, contributed by @holograph, refactoring the additional "error" and "disconnect" instruction handling to: * Leverage a new `toException()` function on `GuacamoleStatus` that converts a status code into its corresponding exception. * Throw `GuacamoleConnectionClosedException` for disconnec...
diff --git a/guacamole-common/src/main/java/org/apache/guacamole/protocol/ConfiguredGuacamoleSocket.java b/guacamole-common/src/main/java/org/apache/guacamole/protocol/ConfiguredGuacamoleSocket.java index 6cf3d7b3cb..8ba6d4dd86 100644 --- a/guacamole-common/src/main/java/org/apache/guacamole/protocol/ConfiguredGuacamol...
3
2
1
[{"id": "G0", "claim": "An \"error\" instruction with a non-numeric status code is silently ignored via an early return, whereas it arguably represents a completely corrupt connection that should be aborted outright.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "...
null
apache__guacamole-client__736
apache/guacamole-client
736
defect
8822db781efe74c91231dd4475260b7e319c6958
c3181430f313c1db9ae1a4e5a995db9fb82350f9
GUACAMOLE-1623: Extract domain field directly from the vault, or split out of username.
As discussed in https://issues.apache.org/jira/browse/GUACAMOLE-1623, this allows the KSM vault extension to * read a domain token out of records in the vault directly, * or to split the username field into domain and username tokens if no domain is directly defined, if the username matches the expected formats...
diff --git a/extensions/guacamole-vault/modules/guacamole-vault-base/pom.xml b/extensions/guacamole-vault/modules/guacamole-vault-base/pom.xml index 96fe1180a5..a8137b52f0 100644 --- a/extensions/guacamole-vault/modules/guacamole-vault-base/pom.xml +++ b/extensions/guacamole-vault/modules/guacamole-vault-base/pom.xml @...
3
3
1
[{"id": "G0", "claim": "The splitting logic should live in DomainAndUsername itself (DomainAndUsername.split(...)) rather than in a general-purpose FieldParsingUtil utility class, and once DomainAndUsername exists on its own the FieldParsingUtil class should be deleted.", "category": "design", "verdict": "supported", "...
null
apache__guacamole-client__885
apache/guacamole-client
885
defect
846c507ba7a80f1be15e310b3f06a91720dd2a3c
53c5e1655b7950b8a4d12ccb62bdde19021f9e6a
GUACAMOLE-1809: Replace library used for IP address matching
Newer versions of Spring Security lack support of Java 8.
diff --git a/doc/licenses/ipaddress-5.4.0/README b/doc/licenses/ipaddress-5.4.0/README new file mode 100644 index 0000000000..48580a5e9f --- /dev/null +++ b/doc/licenses/ipaddress-5.4.0/README @@ -0,0 +1,8 @@ +IPAddress (https://seancfoley.github.io/IPAddress/) +--------------------------------------------------- + + ...
6
4
1
[{"id": "G0", "claim": "The RequestValidationService constructor added by this pull request must be documented, since all functions must have corresponding JavaDoc.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test class must be document...
null
apache__guacamole-server__156
apache/guacamole-server
156
defect
bc5b01d4d8ab0c3c89a08007316d33012261f6b3
8427b9dfea89ba72eb7e422870a8d6893aa0e7f6
GUACAMOLE-269: Allow backspace key behavior to be configured
Server-side changes that allow the backspace key to be configured, and, for the SSH protocol, also pass through that behavior to the SSH server via the TTY Mode Encoding options. This replaces #153.
diff --git a/src/protocols/ssh/Makefile.am b/src/protocols/ssh/Makefile.am index 3a5c7f7335..6a6de0341f 100644 --- a/src/protocols/ssh/Makefile.am +++ b/src/protocols/ssh/Makefile.am @@ -29,6 +29,7 @@ libguac_client_ssh_la_SOURCES = \ settings.c \ sftp.c \ ssh.c ...
9
8
1
[{"id": "G0", "claim": "guac_terminal_send_string() requires a null-terminated string, and passing &term->backspace (a pointer to a single character) provides no null terminator, so it may read without bound, closing the connection or dumping memory contents to the remote terminal.", "category": "correctness", "verdict...
null
apache__guacamole-server__167
apache/guacamole-server
167
defect
b61a6ab758177b4d4cec4a3a0a2f51a3e76c3772
9d8edddc65cba0312b901d5c0f62a9b3d037efb0
GUACAMOLE-565: Add terminal-type parameter for SSH and Telnet.
Add a terminal-type parameter for SSH and Telnet connections, to specify the terminal emulator type that is passed to programs. If not specified, the default type of "linux" is used in keep with existing behavior. Some programs make use of the terminal type to determine some of the terminal's capabilities. For examp...
diff --git a/src/protocols/ssh/settings.c b/src/protocols/ssh/settings.c index 983f7f0843..d8b4dce36c 100644 --- a/src/protocols/ssh/settings.c +++ b/src/protocols/ssh/settings.c @@ -57,6 +57,7 @@ const char* GUAC_SSH_CLIENT_ARGS[] = { "read-only", "server-alive-interval", "backspace", + "terminal-typ...
4
4
0
[{"id": "G0", "claim": "The new SSH settings comment should say the terminal type is passed to the remote system rather than to particular programs.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new SSH settings header comment should say the ...
null
apache__guacamole-server__17
apache/guacamole-server
17
defect
425f7baa2b4c532086c5e418148a2d99a6912cd3
9eafcfd0ffba00a1233fddb95e916fdba8ab510c
GUACAMOLE-5: Add per-user "read-only" parameter to all protocols.
Previously, the only protocol providing a "read-only" parameter was VNC, as VNC servers inherently support screen sharing. Now that Guacamole supports screen sharing regardless of underlying protocol, such parameters should be provided across the board. This change adds a "read-only" parameter to the RDP, SSH, and tel...
diff --git a/src/protocols/rdp/rdp_settings.c b/src/protocols/rdp/rdp_settings.c index 82af859b03..fd77e92aff 100644 --- a/src/protocols/rdp/rdp_settings.c +++ b/src/protocols/rdp/rdp_settings.c @@ -91,6 +91,7 @@ const char* GUAC_RDP_CLIENT_ARGS[] = { "create-recording-path", "resize-method", "enable-aud...
1
1
0
[{"id": "G0", "claim": "The read-only check `if (settings->read_only == 0)` is a weird way to test for false and should be written more idiomatically.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__guacamole-server__173
apache/guacamole-server
173
defect
21f54b9e1283a2ccc03795b0e8bb46e1dd9128c3
c5d29a6884c6b65225aeebb3a3fbb8f52a3d65d5
GUACAMOLE-574: Allow input for SSH/telnet to come from "STDIN" pipe.
This change adds support to SSH and telnet for reading user input from a pipe stream named "STDIN". When the client side opens this pipe stream, user input through keyboard, clipboard, etc. is blocked, and data from the pipe stream is sent directly over the SSH/telnet connection. User input is unblocked once the "STDIN...
diff --git a/src/protocols/ssh/Makefile.am b/src/protocols/ssh/Makefile.am index 6a6de0341f..87d4a7284e 100644 --- a/src/protocols/ssh/Makefile.am +++ b/src/protocols/ssh/Makefile.am @@ -26,6 +26,7 @@ libguac_client_ssh_la_SOURCES = \ client.c \ clipboard.c \ input.c ...
1
1
0
[{"id": "G0", "claim": "The doc comments this PR adds for guac_terminal_send_key and guac_terminal_send_mouse in src/terminal/terminal/terminal.h do not match the actual signatures: the key-event comment documents a @param user that the function stub does not have, and the mouse-event comment names the last parameter b...
null
apache__guacamole-server__187
apache/guacamole-server
187
defect
332e187813595fc2e769f3e29c0582b7ec726ea1
55ac0c5b323d8c36d6b09bd99c2d5bc2cd0d043b
GUACAMOLE-622: Withhold first SSH/telnet frame until connection is verified
These changes add a new function, `guac_terminal_start()`, which must be called before the terminal emulator will send the `sync` messages which define frame boundaries. SSH and telnet have been modified to call this function only when the connection has actually been successful. By withholding frames until the unde...
diff --git a/src/protocols/ssh/ssh.c b/src/protocols/ssh/ssh.c index 59554fb7ab..cddb2fedba 100644 --- a/src/protocols/ssh/ssh.c +++ b/src/protocols/ssh/ssh.c @@ -233,6 +233,9 @@ void* ssh_client_thread(void* data) { return NULL; } + /* Ensure connection is kept alive during lengthy connects */ + ...
3
2
0
[{"id": "G0", "claim": "The doc comment for IDX_LOGIN_FAILURE_REGEX wrongly says the \"login-failure-regex\" parameter must also be specified; it should say \"login-success-regex\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The doc comment fo...
null
apache__guacamole-server__209
apache/guacamole-server
209
defect
aba7b987d388c71d3dd6bb63d22d6e01995d317d
8732ee0668a2102c4c6fb9a7875892273d9067c0
GUACAMOLE-637: Migrate strncpy(), strcat(), etc. to safer libguac implementations.
This change adds platform-independent libguac implementations of the `strlcpy()` and `strlcat()` functions, `guac_strlcpy()` and `guac_strlcat()`, provided via a new `guacamole/string.h` header. These functions will use the versions provided by the platform's libc, if available. Unlike `strncpy()` and `strncat()`, t...
diff --git a/configure.ac b/configure.ac index b63ed690ed..19396204bc 100644 --- a/configure.ac +++ b/configure.ac @@ -120,6 +120,16 @@ AC_CHECK_DECL([poll], [Whether poll() is defined])],, [#include <poll.h>]) +AC_CHECK_DECL([strlcpy], + [AC_DEFINE([HAVE_STRLCPY],, + [Whether strlcpy(...
7
6
2
[{"id": "G0", "claim": "The doc comment above the strlcat unit tests is missing a word or two from its sentence.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "\"contatenation\" in the strlcat unit-test doc comment is a misspelling of \"concatenat...
null
apache__guacamole-server__219
apache/guacamole-server
219
defect
67a2b75fe609a0c6ccfee2abef3c56ebbede21ba
2b98be3367af278dc48ed660c6fb6d1007967aa6
GUACAMOLE-422: Add timezone to client handshake
This adds remaining pieces of the server code needed to make the timezone part of the client handshake.
diff --git a/src/libguac/guacamole/user.h b/src/libguac/guacamole/user.h index 792c742157..adc4c4e9e6 100644 --- a/src/libguac/guacamole/user.h +++ b/src/libguac/guacamole/user.h @@ -88,6 +88,13 @@ struct guac_user_info { * stated resolution of the display size request is recommended. */ int optimal_re...
3
3
2
[{"id": "G0", "claim": "As written, user->info.timezone will hold the empty string when the client provides no timezone, although the added documentation states it will be NULL in that case.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new com...
null
apache__guacamole-server__234
apache/guacamole-server
234
defect
e25f83d629e355a3c1e9972427f8bef682766d6d
f56df8b8be9ca0f8afd4bec74f9040e03b4eea95
GUACAMOLE-630: Expose terminal color/font changes.
This change modifies the SSH, telnet, and Kubernetes support to automatically send `argv` streams containing the current values of `font-name`, `font-size`, and `color-scheme`. The current values are sent whenever the relevant parameters are changed or whenever a user joins the connection.
diff --git a/src/protocols/kubernetes/argv.c b/src/protocols/kubernetes/argv.c index 0bff3149ca..c37595de51 100644 --- a/src/protocols/kubernetes/argv.c +++ b/src/protocols/kubernetes/argv.c @@ -125,11 +125,15 @@ static int guac_kubernetes_argv_end_handler(guac_user* user, /* Update color scheme */ ca...
1
1
0
[{"id": "G0", "claim": "The doc-comment sentence \"This function is provided for convenience, as it is can be used as the callback for ...\" is awkwardly worded (\"it is can be used\" is garbled) and should be reworded, in each of the kubernetes, ssh, and telnet argv.h headers.", "category": "documentation", "verdict":...
null
apache__guacamole-server__267
apache/guacamole-server
267
defect
e4407167ab57b633a9076d0f3787c4a6b177637e
3d4a27607d89288e20dadfb106583f4c7333173a
GUACAMOLE-513: Implement Wake-on-LAN support in libguac
Okay, rough start, here, I'm sure, but hopefully not too bad :-). I used a couple of examples I found online to guide me in writing my code, so hopefully it makes sense. Let me know what needs to be fixed.
diff --git a/src/libguac/Makefile.am b/src/libguac/Makefile.am index a62408027f..68d8027807 100644 --- a/src/libguac/Makefile.am +++ b/src/libguac/Makefile.am @@ -69,7 +69,9 @@ libguacinc_HEADERS = \ guacamole/user.h \ guacamole/user-constants.h \ guacamole/user-f...
8
7
2
[{"id": "G0", "claim": "guac_wol_wake() should not sleep internally; the caller (each protocol implementation) should decide whether and how to wait, using libguac's guac_timestamp_sleep() with millisecond granularity.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1"...
null
apache__guacamole-server__282
apache/guacamole-server
282
defect
9ca382e2aa119e59d425de9c3ae6246c2c49c0b2
30bbb892db2335062b877426b295eff1e14669b2
GUACAMOLE-513: Several updates to Wake-on-LAN functionality
In addition to the issues identified by Coverity for socket open failures, this pull request enhances error logging and also changes the default boot time to zero in the recently-merged Wake-on-LAN functionality.
diff --git a/src/libguac/wol.c b/src/libguac/wol.c index b8e5e68784..5d8d798217 100644 --- a/src/libguac/wol.c +++ b/src/libguac/wol.c @@ -93,6 +93,12 @@ static ssize_t __guac_wol_send_packet(const char* broadcast_addr, if (wol_dest.sin_family == AF_INET) { int wol_bcast = 1; wol_socket = socket(...
3
3
1
[{"id": "G0", "claim": "The new socket-open failure paths call close() on wol_socket even when it is negative, though there is nothing to close.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The WoL functions should use guac_error and guac_error_me...
null
apache__guacamole-server__297
apache/guacamole-server
297
defect
c10ceab7e80f9d6eae9ad98254bf97f41a0de112
ae3a35155130c4e9c8bd7f0d06b48db5c96675f8
GUACAMOLE-221: Add convenience API for automatically handling received "argv" streams.
This change adds a new header to libguac, `argv.h`, which provides a series of convenience functions for automatically handling "argv" streams: * `guac_argv_register()` - Registers a callback which should be invoked when the full, updated value of an argument has been received via an "argv" stream. Option flags can ...
diff --git a/src/libguac/Makefile.am b/src/libguac/Makefile.am index 9d120e32e6..50d78a5568 100644 --- a/src/libguac/Makefile.am +++ b/src/libguac/Makefile.am @@ -32,6 +32,9 @@ SUBDIRS = . tests libguacincdir = $(includedir)/guacamole libguacinc_HEADERS = \ + guacamole/argv.h \ ...
5
1
0
[{"id": "G0", "claim": "The comment in guac_argv_handler() contains an extra \"not\" (\"if not argument is not registered\").", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Given the new echo/once options implemented in libguac/argv.c, the pre-exi...
null
apache__guacamole-server__336
apache/guacamole-server
336
defect
b2ae2fdf003a6854ac42877ce0fce8e88ceb038a
27e762d06f6b40fc0e7e958513db2af330161947
GUACAMOLE-1283: Add synchronization around absolutely all outbound RDP messages.
The FreeRDP library is intended to be threadsafe, but is not reliably so with respect to legacy RDP encryption and outbound messages. When outbound messages are sent by multiple threads, the encryption key used for legacy RDP encryption may not be updated correctly, resulting in a fatal connection error like: > "ERR...
diff --git a/src/protocols/rdp/channels/audio-input/audio-buffer.c b/src/protocols/rdp/channels/audio-input/audio-buffer.c index 30513419dd..e7ecf3ecbe 100644 --- a/src/protocols/rdp/channels/audio-input/audio-buffer.c +++ b/src/protocols/rdp/channels/audio-input/audio-buffer.c @@ -31,9 +31,10 @@ #include <stdint.h> ...
2
1
0
[{"id": "G0", "claim": "The flush handler callback receives buffer (and data) as separate parameters even though both are part of the audio_buffer structure it already receives, so they could simply be retrieved from audio_buffer instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "intro...
null
apache__guacamole-server__337
apache/guacamole-server
337
defect
bf6922b31ef8869d3a73fb5a37d2caa839e4f729
72812ce73f594278acc70356f6f757ef02ae2242
GUACAMOLE-1201: Throttle outbound audio data to avoid overflowing RDP server audio input buffer.
These changes are a fresh attempt at addressing the issue with audio input packet timing originally identified by @myjimmy. They take a similar approach to his proposed changes (#312), and are intended to achieve the same fix in principle (throttling audio data) while addressing the issues noted in code review of the o...
diff --git a/src/protocols/rdp/channels/audio-input/audio-buffer.c b/src/protocols/rdp/channels/audio-input/audio-buffer.c index 5e5a725990..617cb2c822 100644 --- a/src/protocols/rdp/channels/audio-input/audio-buffer.c +++ b/src/protocols/rdp/channels/audio-input/audio-buffer.c @@ -24,17 +24,253 @@ #include <guacamole...
2
1
0
[{"id": "G0", "claim": "The comment on the audio-buffer flush thread has a typo: \"might result dropped samples\" should read \"might result in dropped samples\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Microphone audio over RDP still stutt...
null
apache__guacamole-server__358
apache/guacamole-server
358
defect
27db57f704579dbc8e4a84cd869fbb55868720ed
1124b795b59fe71e6461abab58eccda306412beb
GUACAMOLE-1293: Add support for notifying that a user has joined an existing connection.
This pull request adds support for notifying the connection owner that another user has joined their connection. This is broken up into three commits - the first adds the underlying support for the "msg" instruction and updates the protocol accordingly, the second adds support for the "name" handshake instruction, allo...
diff --git a/src/libguac/client.c b/src/libguac/client.c index 9738c0c228..3f3075792d 100644 --- a/src/libguac/client.c +++ b/src/libguac/client.c @@ -302,6 +302,10 @@ int guac_client_add_user(guac_client* client, guac_user* user, int argc, char** /* Update owner pointer if user is owner */ if (user->...
9
9
3
[{"id": "G0", "claim": "The new name handshake handler would benefit from a comment describing what it is for, and possibly more descriptive names.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The notify callbacks unconditionally free the name...
null