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__paimon-webui__142
apache/paimon-webui
142
defect
9c0ebdc2b90d439781a381dd8f444f78cec90d39
8b60930a571fb712dea68416f77c05708ea65df5
[Feature] Introduce paimon-web-engine module
### Purpose Introduce `paimon-web-engine` module to provide the backend engine support of Paimon Web. Meanwhile, support the baseline implementation of Flink engine for `paimon-web-engine` module. ### Tests - `StatementParserTest` ### API and Format ``` /** * The Executor interface provides methods to...
diff --git a/paimon-web-engine/paimon-web-engine-flink/paimon-web-engine-flink-common/pom.xml b/paimon-web-engine/paimon-web-engine-flink/paimon-web-engine-flink-common/pom.xml new file mode 100644 index 000000000..87fd5f819 --- /dev/null +++ b/paimon-web-engine/paimon-web-engine-flink/paimon-web-engine-flink-common/po...
9
9
1
[{"id": "G0", "claim": "The Executor interface's executeSql and fetchResults should return ExecutionResult rather than SubmissionResult.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The unsupported SQL case should not be represented as a NO_SUPPORTED c...
null
apache__paimon-webui__148
apache/paimon-webui
148
defect
5980db4d5df92de01b1fc9e75d80ae2bd7ae9328
99bc09f22eb5f0bcac0b5a57f9457652151cb0b2
[Improvement] Improves the user management interface
### Purpose close: https://github.com/apache/incubator-paimon-webui/issues/79 This PR improves the user management interface and fixes some problems. ### Tests - `UserControllerTest` - `PermissionTest` ### API and Format ``` @RestController @RequestMapping("/api/user") public class UserController ...
diff --git a/paimon-web-server/src/main/java/org/apache/paimon/web/server/controller/UserController.java b/paimon-web-server/src/main/java/org/apache/paimon/web/server/controller/UserController.java index 6cb1ceb2f..40a3052ea 100644 --- a/paimon-web-server/src/main/java/org/apache/paimon/web/server/controller/UserContr...
4
4
2
[{"id": "G0", "claim": "The user listing endpoints should be consolidated: `selectUserList` (paginated, excludes deleted) and `all`/`listUsers` (all users) should be merged into a single interface named `listUsers`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "...
null
apache__paimon-webui__153
apache/paimon-webui
153
defect
50605db795a012356c8e97d35358d7581de28c8a
fd0ab76e06b7a9056fbbceb2db9a6ad4d982e0ee
[Feature] Introduce Flink SQL gateway baseline implementation of job submission
### Purpose Close: #23 Introduce the implementation of job submission baseline based on flink sql gateway. Completed submitting sql statement based on flink sql gateway. ### Tests - `SqlGatewayClientTest` - `FlinkSqlGatewayExecutorTest` ### API and Format ``` /** * The Executor interface provides...
diff --git a/paimon-web-engine/paimon-web-engine-flink/paimon-web-engine-flink-common/src/main/java/org/apache/paimon/web/engine/flink/common/executor/Executor.java b/paimon-web-engine/paimon-web-engine-flink/paimon-web-engine-flink-common/src/main/java/org/apache/paimon/web/engine/flink/common/executor/Executor.java i...
2
2
0
[{"id": "G0", "claim": "The hand-written builder in SessionEntity should be replaced with Lombok's @Builder annotation.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Null field values in collected results are mapped to an empty string via NULL_...
null
apache__paimon-webui__155
apache/paimon-webui
155
defect
671f26224cb1ccaec8df3cd2dc98b9180e6633a3
01c07dfe2b9987b2de96148469e3c539cb1e80cd
[Bugfix] Introduce getting table options interface
### Purpose close: #158 add `/api/metadata/query/options` api for getting table options. ### Tests `MetadataControllerTest#testGetOptionInfo`
diff --git a/paimon-web-server/src/main/java/org/apache/paimon/web/server/controller/MetadataController.java b/paimon-web-server/src/main/java/org/apache/paimon/web/server/controller/MetadataController.java index 566a0af77..21b7d4a6a 100644 --- a/paimon-web-server/src/main/java/org/apache/paimon/web/server/controller/M...
2
1
1
[{"id": "G0", "claim": "The new testGetOptionInfo test should assert the data of the returned result instead of only asserting the response code.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new getOption code may throw a NullPointerException when...
null
apache__paimon-webui__160
apache/paimon-webui
160
defect
7093cb2f0f54d863864f1092cd5e51c26a5b80ce
f362cf012bee346e7f0decd86cec6a56501090c1
[Improvement] Unify builder of VOs via lombok.Builder
### Purpose The builder of VOs could be unified via lombok.Builder. Meanwhile fix the problems of `MetadataControllerTest`. ### Tests - `MetadataControllerTest` ### API and Format No. ### Documentation No.
diff --git a/paimon-web-server/src/main/java/org/apache/paimon/web/server/data/vo/DataFileVO.java b/paimon-web-server/src/main/java/org/apache/paimon/web/server/data/vo/DataFileVO.java index 33387eb6b..5017325c0 100644 --- a/paimon-web-server/src/main/java/org/apache/paimon/web/server/data/vo/DataFileVO.java +++ b/paim...
1
1
1
[{"id": "G0", "claim": "The assertions added to testGetSchemaInfo (and the other metadata tests) should verify the actual field values, not just whether they are non-null.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__paimon-webui__167
apache/paimon-webui
167
defect
cd30c979ee0ee754202152ce84fad0afa0b2eb84
e05739672bab37d2d98ac8646bfc60077a69cf36
[Improvement] Align entries of i18n localization properties files
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose close: https://github.com/apache/incubator-paimon-webui/issues/166 Synchronize Missing Entries in i18n Localization Properties Files.
diff --git a/paimon-web-server/src/main/resources/i18n/messages_en_US.properties b/paimon-web-server/src/main/resources/i18n/messages_en_US.properties index 6c247c1b3..0ca9822d1 100644 --- a/paimon-web-server/src/main/resources/i18n/messages_en_US.properties +++ b/paimon-web-server/src/main/resources/i18n/messages_en_U...
10
10
0
[{"id": "G0", "claim": "Change 'Catalog' to lowercase 'catalog' in the catalog.create.error message.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Change 'Catalog' to lowercase 'catalog' in the catalog.remove.error message.", "category": "correctne...
null
apache__paimon-webui__200
apache/paimon-webui
200
defect
24264b6744387a35909aba44f5a4cc8b1156f2b8
b0e41a524ca8dad999ed709efdfb28559465f9d7
[Feature] Introduce cluster management interface
close: https://github.com/apache/paimon-webui/issues/199 ### Purpose Introduce a cluster management interface to facilitate the creation of cluster configurations for the computing engine on the system management page. ### Tests ClusterControllerTest. ### API and Format ``` @RestController @RequestM...
diff --git a/paimon-web-server/src/main/java/org/apache/paimon/web/server/controller/ClusterController.java b/paimon-web-server/src/main/java/org/apache/paimon/web/server/controller/ClusterController.java new file mode 100644 index 000000000..60c79186a --- /dev/null +++ b/paimon-web-server/src/main/java/org/apache/paim...
2
2
0
[{"id": "G0", "claim": "Reword the new cluster.name.exist message to \"This cluster name {0} already exists.\" (and ditto for the zh_CN message) to align with the naming style of the other messages.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "I...
null
apache__paimon-webui__209
apache/paimon-webui
209
defect
46c88c8114e8fd75fdebd98fe2e9bb14e895a73e
99ee6a23984c1d063e2f1c7c6a94e00d056e59ab
[Feature] Introduce Session Interface
Relates to: #195 ### Purpose This pull request is a subtask implementation of #195, which introduces a session interface that creates a session or triggers a heartbeat of session. ### Tests `SessionControllerTest` ### API and Format ``` @PostMapping("/check") public R<Void> checkAndRenewSession(...
diff --git a/paimon-web-server/pom.xml b/paimon-web-server/pom.xml index 5aee2a663..c10a3ec77 100644 --- a/paimon-web-server/pom.xml +++ b/paimon-web-server/pom.xml @@ -36,6 +36,7 @@ under the License. <properties> <hadoop.version>2.8.5</hadoop.version> + <flink.version>1.18.0</flink.version> ...
6
5
1
[{"id": "G0", "claim": "The Flink version property should be 1.18.1 rather than 1.18.0.", "category": "dependency", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The session-creation endpoint should be mapped to /create instead of /check.", "category": "design", "verdict": "su...
null
apache__paimon-webui__222
apache/paimon-webui
222
defect
098e6f3421556b7f5f6f9236300cdbbc7804a17a
b9e250ad1d4b2b6308fa6cb6bd97e886ba0e03b6
[Feature] Introduce job submission interface
close: https://github.com/apache/paimon-webui/issues/195 ### Purpose Introduce job submission interface.The job submission interface is introduced to submit FlinkSQL query jobs. Currently, only the Flink SQL Gateway method is supported. ### Tests JobControllerTest. ### API and Format ``` @Slf4j @Res...
diff --git a/paimon-web-server/src/main/java/org/apache/paimon/web/server/controller/JobController.java b/paimon-web-server/src/main/java/org/apache/paimon/web/server/controller/JobController.java new file mode 100644 index 000000000..3f5ffde2f --- /dev/null +++ b/paimon-web-server/src/main/java/org/apache/paimon/web/s...
9
8
2
[{"id": "G0", "claim": "The refresh endpoint should not follow the Flink engine implementation and should be changed to `refreshJob`, since JobService cannot distinguish engine jobs.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The StopJobDTO class jav...
null
apache__paimon-webui__237
apache/paimon-webui
237
defect
06c53e885367a780146ff845b1fa2bfec50109a1
0ced5890daf331b29b412c67b40016db99cdd9a7
[Feature] Introduce CDC job submission interface
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose Add a new API for submitting Cdc action jobs to the Flink session cluster. <img width="932" alt="image" src="https://github.com/apache/paimon-webui/assets/35210666/a3642ab7-8b3c-4de9-b270-16e999e71017"> ![image](https:/...
diff --git a/paimon-web-api/src/main/java/org/apache/paimon/web/api/action/context/ActionContextUtil.java b/paimon-web-api/src/main/java/org/apache/paimon/web/api/action/context/ActionContextUtil.java index bf06e949e..f18482311 100644 --- a/paimon-web-api/src/main/java/org/apache/paimon/web/api/action/context/ActionCon...
8
7
1
[{"id": "G0", "claim": "The exception message in ActionContextFactoryServiceLoadUtil should say 'Could not find suitable FlinkCdcActionContextFactory.' instead of 'Could not find suitable ActionContextFactory.'.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G...
null
apache__paimon-webui__242
apache/paimon-webui
242
defect
b362505ca4fba45b000ae0e9e97966d7832c0f5b
377874dd6667c3acaf8a5b237a3ac4c750d4d7f4
[Bugfix] Fix displaying snapshots of Paimon tables
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose Fixed the issue with displaying snapshots of Paimon tables. close #245 <img width="1480" alt="image" src="https://github.com/apache/paimon-webui/assets/35210666/96c5a7e2-fe5a-4561-84d1-d59e6075fdbc">
diff --git a/paimon-web-server/src/main/java/org/apache/paimon/web/server/data/vo/SnapshotVO.java b/paimon-web-server/src/main/java/org/apache/paimon/web/server/data/vo/SnapshotVO.java index 38d2ff16a..9691fe3ab 100644 --- a/paimon-web-server/src/main/java/org/apache/paimon/web/server/data/vo/SnapshotVO.java +++ b/paim...
2
1
0
[{"id": "G0", "claim": "The change should not remove the setting of addedFileCount and deletedFileCount when building SnapshotVO (why were they removed?).", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The addedFileCount and deletedFileCount fields shoul...
null
apache__paimon-webui__256
apache/paimon-webui
256
defect
8a37af0c34685a98e85a416c32565113b5e7030a
40eba4e49a7742c85de65f45a3ff81b1ebf22747
[Bugfix] Fix condition of listClusters in ClusterMapper.xml
close: https://github.com/apache/paimon-webui/issues/255 ### Purpose When adding filter conditions when calling the listClusters interface of Cluster, an error will be reported because the query in ClusterMapper.xml does not add where conditions.This PR fixes the problem. ### Tests ClusterControllerTest#tes...
diff --git a/paimon-web-server/src/main/resources/mapper/ClusterMapper.xml b/paimon-web-server/src/main/resources/mapper/ClusterMapper.xml index 3f4c9cae0..65f5c21a5 100644 --- a/paimon-web-server/src/main/resources/mapper/ClusterMapper.xml +++ b/paimon-web-server/src/main/resources/mapper/ClusterMapper.xml @@ -39,29 +...
1
1
1
[{"id": "G0", "claim": "The testListClusters test case does not verify the pull request's change to the listClusters query in ClusterMapper.xml (the added <where> tag), so the mapper fix is untested.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__paimon-webui__348
apache/paimon-webui
348
defect
5e8cfdc419f3f14e38f4c65b599888770b8730a3
a731c67ed2751a93e8ca4c82c8fbbbf2bb06c87e
[Bugfix] Unify user query list interface
Issue: #347 ### Purpose Unified user query list with input and return parameters. ### Tests - `UserControllerTest#testAddUser` - `UserControllerTest#testUpdateUser` - `UserControllerTest#testAllocateRole` - `UserControllerTest#testListUsers` <!-- List UT and IT cases to verify this change --> ##...
diff --git a/paimon-web-server/src/main/java/org/apache/paimon/web/server/data/vo/UserVO.java b/paimon-web-server/src/main/java/org/apache/paimon/web/server/data/vo/UserVO.java index 3f59429fa..c9fa68884 100644 --- a/paimon-web-server/src/main/java/org/apache/paimon/web/server/data/vo/UserVO.java +++ b/paimon-web-serve...
2
2
1
[{"id": "G0", "claim": "The userType field added to UserVO should be a dedicated UserType enum rather than a raw Integer.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The UserType enum javadoc should read 'User type.' instead of 'user type.'.", "catego...
null
apache__paimon-webui__386
apache/paimon-webui
386
defect
1a4654067acb13989421499997f75bb9a38f0c2c
c33550774ade578ab4c37a4c5218a6e6b7ba8fec
[Improvement] Optimize forward to index interface
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose Close #387. Optimize forward index interface as follows: ```java @GetMapping(value = "/ui/{[path:[^\\.]*}") public ModelAndView forwardToIndex() { ModelAndView modelAndView = new ModelAndView(); ...
diff --git a/paimon-web-server/src/main/java/org/apache/paimon/web/server/controller/PaimonWebErrorController.java b/paimon-web-server/src/main/java/org/apache/paimon/web/server/controller/PaimonWebUiForwardController.java similarity index 55% rename from paimon-web-server/src/main/java/org/apache/paimon/web/server/con...
3
3
1
[{"id": "G0", "claim": "The controller class should be renamed from PaimonWebUiForwardController to ForwardController.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test method should be renamed from testUiForward to testForwardIndex.", "ca...
null
apache__paimon-webui__440
apache/paimon-webui
440
defect
9869f05b1a9bd67cdc1274f53c5c73f35aab8792
e8128eeaded4ff5b5e6c3a60a831df5dfeccf012
[Feature] Introduce web socket for job submission
close: https://github.com/apache/paimon-webui/issues/439 ### Purpose Introduce websocket for job submission. ### Tests JobControllerTest#testGetJobStatistics
diff --git a/paimon-web-server/pom.xml b/paimon-web-server/pom.xml index 72c092dd3..ac3523777 100644 --- a/paimon-web-server/pom.xml +++ b/paimon-web-server/pom.xml @@ -157,6 +157,11 @@ under the License. <artifactId>spring-boot-starter-data-ldap</artifactId> </dependency> + <dependency> ...
2
2
0
[{"id": "G0", "claim": "The WebSocket task scheduler pool size should be configurable rather than hardcoded to 1.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The hardcoded broker heartbeat values should likewise be configurable, as noted in reply to t...
null
apache__paimon-webui__45
apache/paimon-webui
45
defect
d30d357399aec74e0544674c8550a93f83dbb087
7497c86e36deb8fa6fa02c9b4856931900d8ef7e
[Improvement] Refactor api module
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose [API] Refactor api module ### Tests PaimonCatalogTest ### API and Format <!-- Does this change affect API or storage format --> ### Documentation <!-- Does this change introduce a new feature -->
diff --git a/paimon-web-api/src/main/java/org/apache/paimon/web/api/catalog/PaimonCatalog.java b/paimon-web-api/src/main/java/org/apache/paimon/web/api/catalog/PaimonCatalog.java new file mode 100644 index 000000000..60d9a2716 --- /dev/null +++ b/paimon-web-api/src/main/java/org/apache/paimon/web/api/catalog/PaimonCata...
15
14
3
[{"id": "G0", "claim": "The PR should not introduce its own PaimonCatalog/PaimonCatalogFactory but should directly reuse the existing catalog classes of Paimon.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The TableChange javadoc should state that the ...
null
apache__paimon-webui__502
apache/paimon-webui
502
defect
1d4e874cee4647b48b4a870e1ca4ff2bcc1764c7
39f3a6cf772d50502010f5b09c16b7c6d37992c7
[Improvement] Support query limit
close: https://github.com/apache/paimon-webui/issues/501 ### Purpose Apache Calcite is introduced in the backend to support query limits. ### Tests - `CustomSqlParserTest`. - `FlinkSqlGatewayExecutorTest` ### API and Format ``` /** * Executes an SQL statement. * * @param statement...
diff --git a/paimon-web-engine/paimon-web-engine-flink/paimon-web-engine-flink-common/src/main/java/org/apache/paimon/web/engine/flink/common/executor/Executor.java b/paimon-web-engine/paimon-web-engine-flink/paimon-web-engine-flink-common/src/main/java/org/apache/paimon/web/engine/flink/common/executor/Executor.java i...
2
2
1
[{"id": "G0", "claim": "The backend should not hardcode a default query limit (DEFAULT_LIMIT = 500 via the no-arg CustomSqlParser constructor); the limit should be controlled by the frontend, with the backend returning all results by default.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "i...
null
apache__paimon-webui__85
apache/paimon-webui
85
defect
10f01c606bdade2c512296cefb028390a8d646e6
3336317f67940f403464d388926ac255c1e467a4
[Feature] Improve the implementation of catalog, table and database service
Improve get catalog database table interface re #83
diff --git a/paimon-web-server/src/main/java/org/apache/paimon/web/server/controller/DatabaseController.java b/paimon-web-server/src/main/java/org/apache/paimon/web/server/controller/DatabaseController.java index 395417e4e..9998c91ac 100644 --- a/paimon-web-server/src/main/java/org/apache/paimon/web/server/controller/D...
20
20
0
[{"id": "G0", "claim": "The createDatabase javadoc should read \"Creates a new database given {@link DatabaseInfo}\" instead of \"based on the provided DatabaseInfo\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The createDatabase @param javado...
null
apache__paimon-webui__99
apache/paimon-webui
99
defect
99a617cb377e4155701344d90e43fb9202bf4b88
cfd2489f7870f815a52709dfce166727a047f7e9
[Feature] Suport CDC job definition persistence
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose Completed CRUD for CDC job definition ![截屏2023-11-27 22 28 53](https://github.com/apache/incubator-paimon-webui/assets/35210666/b9d9893c-d6fa-4301-a977-a5dd6038bd25) ![截屏2023-11-27 22 28 58](https://github.com/apache/in...
diff --git a/paimon-web-server/src/main/java/org/apache/paimon/web/server/controller/CatalogController.java b/paimon-web-server/src/main/java/org/apache/paimon/web/server/controller/CatalogController.java index 561b86316..79a54a5e3 100644 --- a/paimon-web-server/src/main/java/org/apache/paimon/web/server/controller/Cat...
8
8
0
[{"id": "G0", "claim": "The CdcJobDefinitionController class should have a java doc.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CdcJobDefinitionDTO class header should have a java doc.", "category": "documentation", "verdict": "supported",...
null
apache__paimon__5695
apache/paimon
5,695
defect
b4be1f1bacf7af5c2111008cbfbacf439df0214e
ac5c760f3ac22029fee78def428e2bab74885e17
[core]fix: rest catalog options uri schema could be empty
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose <!-- Linking this pull request to the issue --> Fix: when users use the rest catalog URI, it must be with schema <!-- What is the purpose of the change --> ### Tests - HttpClientTest.testServerUriSchema <!-- L...
diff --git a/paimon-api/src/main/java/org/apache/paimon/rest/HttpClient.java b/paimon-api/src/main/java/org/apache/paimon/rest/HttpClient.java index f3b6c6a68522..e0d256a8f759 100644 --- a/paimon-api/src/main/java/org/apache/paimon/rest/HttpClient.java +++ b/paimon-api/src/main/java/org/apache/paimon/rest/HttpClient.ja...
2
2
0
[{"id": "G0", "claim": "The http:// / https:// scheme check added in getRequestUrl is unnecessary and should be dropped.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The exception message 'uri is empty which must be define' should be worded 'm...
null
apache__paimon__6145
apache/paimon
6,145
defect
af6ac7bb7ab8c75383c25d196f7e27599e63fcf4
1a3a2a184b68414a0879bc7f4396c9496059318d
[core] test: add tests for compression
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose Add tests for compression ### Tests - HadoopCompressionUtilsTest - TextCompressionTest.testWriteFileWithCompressionExtensionButCompressionNotFound <!-- List UT and IT cases to verify this change --> ### API and Forma...
diff --git a/paimon-format/src/main/java/org/apache/paimon/format/text/HadoopCompressionUtils.java b/paimon-format/src/main/java/org/apache/paimon/format/text/HadoopCompressionUtils.java index 1ff11bcc22f2..ed9f07b67b50 100644 --- a/paimon-format/src/main/java/org/apache/paimon/format/text/HadoopCompressionUtils.java +...
2
2
1
[{"id": "G0", "claim": "The new tests should use assertThrows/assertThatThrownBy instead of try/catch to handle and validate expected exceptions.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request needlessly modifies HadoopCompressionUtils ...
null
apache__paimon__6213
apache/paimon
6,213
defect
45b2182901d5079b3d1feed5280d81aa35f16ca1
f3c9b1b4b052b5980a35fa9aed29e28930604997
[format] Format writer check null value for non-null field and throw useful message
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose <!-- Linking this pull request to the issue --> A brief case is: ``` CREATE TABLE test (a INT PRIMARY KEY NOT ENFORCED, b INT NOT NULL) WITH ('merge-engine' = 'aggregation', 'changelog-producer' = 'lookup'); INSERT ...
diff --git a/paimon-arrow/src/main/java/org/apache/paimon/arrow/writer/ArrowFieldWriter.java b/paimon-arrow/src/main/java/org/apache/paimon/arrow/writer/ArrowFieldWriter.java index 77c66cc2b75a..9a8e4ebab5ba 100644 --- a/paimon-arrow/src/main/java/org/apache/paimon/arrow/writer/ArrowFieldWriter.java +++ b/paimon-arrow/...
2
2
0
[{"id": "G0", "claim": "In the Avro RowWriter.writeRow, the try block should wrap the whole for loop instead of sitting inside it around each write, for better performance.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The null check in RowDataVect...
null
apache__paimon__6232
apache/paimon
6,232
defect
42a6d33a0496208b2f5fed0211989315a466b057
922065913033647014a799ff23395a5978d7c9b6
[core] RESTCatalog: add DLF OSS endpoint support and improve configuration merge
### Purpose When using Paimon with DLF (Data Lake Formation) server, the server passes default OSS endpoint values (e.g., fs.oss.endpoint=oss-cn-hangzhou-internal.aliyuncs.com) through tokens. However, these default internal endpoints are not accessible in all client environments, causing connectivity issues. The cl...
diff --git a/paimon-api/src/main/java/org/apache/paimon/rest/RESTCatalogOptions.java b/paimon-api/src/main/java/org/apache/paimon/rest/RESTCatalogOptions.java index deb3be5d3a64..d1a88ef4f839 100644 --- a/paimon-api/src/main/java/org/apache/paimon/rest/RESTCatalogOptions.java +++ b/paimon-api/src/main/java/org/apache/p...
1
1
1
[{"id": "G0", "claim": "RESTUtil.merge should stay a very simple method that just merges updates into targets, with the DLF OSS endpoint special-case handling moved into RESTTokenFileIO instead of living in RESTUtil.merge.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__paimon__6340
apache/paimon
6,340
defect
1f937bef7106af81ac7e58bd9878f5020aa30949
4b4cb701e9ecbdfa030c2bfa1243ec67cb24f88a
[core] Support writing blob file for rolling.
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose Related to PIP: https://cwiki.apache.org/confluence/display/PAIMON/PIP-35:+Introduce+Blob+to+store+multimodal+data <!-- What is the purpose of the change --> ### Tests <!-- List UT and IT cases to verify this cha...
diff --git a/paimon-api/src/main/java/org/apache/paimon/types/RowType.java b/paimon-api/src/main/java/org/apache/paimon/types/RowType.java index 014f85a17cb0..b930bd4a7f0b 100644 --- a/paimon-api/src/main/java/org/apache/paimon/types/RowType.java +++ b/paimon-api/src/main/java/org/apache/paimon/types/RowType.java @@ -2...
4
4
1
[{"id": "G0", "claim": "Don't add the blob-splitting helpers (splitBlob, containsBlobType) to RowType; put this logic elsewhere.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new delegating writer class MappedWriter should be named ProjectedFileWrit...
null
apache__paimon__6556
apache/paimon
6,556
defect
f371835e361ae07608626b5ea2588dda88b4417f
315b1c6ddbf8426b11697d99a33040b214e12717
[core] format table: support file split
### Purpose Format table: support file split if format is csv or json and no compress and no define line delimiter. Use `source.split.target-size` to define the max split size and default value is 128Mi <!-- What is the purpose of the change --> ### Tests - FormatTableScanTest#testCreateSplitsWithMultipleFiles ...
diff --git a/docs/layouts/shortcodes/generated/core_configuration.html b/docs/layouts/shortcodes/generated/core_configuration.html index 3e2b78d3fbf4..df4df353ffab 100644 --- a/docs/layouts/shortcodes/generated/core_configuration.html +++ b/docs/layouts/shortcodes/generated/core_configuration.html @@ -560,6 +560,12 @@ ...
6
6
3
[{"id": "G0", "claim": "The new option should be named `format-table.split.target-size` instead of `format-table.split-max-bytes`, and should resolve as: use `format-table.split.target-size` when configured, otherwise use `source.split.target-size` when configured, otherwise the option's default.", "category": "design"...
null
apache__paimon__6590
apache/paimon
6,590
defect
3c3ba1c52253d887017e84e79c10c060938c2c84
986a9abd224307d0bd89cc87b5aa978238f4daf8
[flink] Limiting Memory Usage of OrcBulkWriter When Writing VectorizedRowBatch
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose <!-- Linking this pull request to the issue --> Linked issue: close #xxx <!-- What is the purpose of the change --> ### Tests <!-- List UT and IT cases to verify this change --> ### API and Format <!-- Doe...
diff --git a/paimon-format/src/main/java/org/apache/paimon/format/orc/OrcFileFormat.java b/paimon-format/src/main/java/org/apache/paimon/format/orc/OrcFileFormat.java index 76286b8cce726..1072f036d02ae 100644 --- a/paimon-format/src/main/java/org/apache/paimon/format/orc/OrcFileFormat.java +++ b/paimon-format/src/main/...
2
2
1
[{"id": "G0", "claim": "The default write(int, ColumnVector, DataGetters, int) convenience method on FieldWriter is unnecessary and should just be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The decimal field writer should avoid estimating th...
null
apache__paimon__6596
apache/paimon
6,596
defect
516d8dd42919b7ccc4dfe865f69bd26937a36b23
5264dd27133faecfb1120c02b6a690e70a8f2be4
[flink] Don't reopen the dim table if the scanned partitions are not overwritten
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose <!-- Linking this pull request to the issue --> For example, lookup with scan MAX_PT(), and the current MAX_PT is 20251111. If overwrite pt 20241110, we don't need to reopen the dim table. <!-- What is the purpose of ...
diff --git a/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/lookup/FileStoreLookupFunction.java b/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/lookup/FileStoreLookupFunction.java index 829209dbb65c..7df47421010d 100644 --- a/paimon-flink/paimon-flink-common/src/main/jav...
1
1
0
[{"id": "G0", "claim": "The scanPartitions field defaults to an empty list instead of null, and shouldReopen guards with isEmpty() rather than handling a null scanPartitions.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__paimon__6621
apache/paimon
6,621
defect
785e4c77f06706cd918690e7d45c712af1d5d979
8434acbf5bc10df91f01bc9093058d50ce743004
[core][spark] Introduce lastScannedSnapshotId in ScanMetrics
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose The description method is invoked heavily during Spark execution, and calling latestSnapshot or currentSnapshot inside it would cause severe performance degradation. Introduce lastScannedSnapshotId in ScanMetrics <i...
diff --git a/paimon-spark/paimon-spark-common/src/main/scala/org/apache/paimon/spark/PaimonBaseScan.scala b/paimon-spark/paimon-spark-common/src/main/scala/org/apache/paimon/spark/PaimonBaseScan.scala index f2a12f1b413d..d2204bed3b64 100644 --- a/paimon-spark/paimon-spark-common/src/main/scala/org/apache/paimon/spark/P...
2
2
0
[{"id": "G0", "claim": "The current snapshot should instead be obtained from getOriginSplits, which the reviewer reads as pointing to surfacing it through scan metrics rather than fetching it in PaimonBaseScan.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim...
null
apache__paimon__6670
apache/paimon
6,670
defect
7461e3b1b1eecddeb3462252eb3787424036728d
5e5f9f0a97cae8c55aead758435242ac9feabee3
[core] strict-mode check APPEND snapshot with fixed bucket files
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose <!-- Linking this pull request to the issue --> For example, to avoid rescale job overwrite fixed bucket files. <!-- What is the purpose of the change --> ### Tests <!-- List UT and IT cases to verify this chang...
diff --git a/docs/layouts/shortcodes/generated/core_configuration.html b/docs/layouts/shortcodes/generated/core_configuration.html index 5b0b021eaa76..9c2d98df5839 100644 --- a/docs/layouts/shortcodes/generated/core_configuration.html +++ b/docs/layouts/shortcodes/generated/core_configuration.html @@ -240,7 +240,7 @@ ...
1
1
0
[{"id": "G0", "claim": "Maybe add this check for OVERWRITE commit only.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__paimon__6690
apache/paimon
6,690
defect
87bafe8071b24394f9ec466bf637a78695d85d96
5c229c8eb344f65e80e5710c1d70d9d823784170
[flink] support detecting fields changes for dedicated compaction in streaming mode
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose <!-- Linking this pull request to the issue --> Linked issue: close #xxx <!-- What is the purpose of the change --> If new columns have been added to the table and new files containing these columns have been writt...
diff --git a/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/compact/AppendTableCompactor.java b/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/compact/AppendTableCompactor.java index 1efbccbc199a2..bc8bb67649597 100644 --- a/paimon-flink/paimon-flink-common/src/main/java/...
3
3
3
[{"id": "G0", "claim": "Introduce a `CompactRefresher` class that wraps `WriterRefresher`, instead of extending `WriterRefresher` itself with the dedicated-compaction logic.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `WriterRefresher.Refresher` i...
null
apache__paimon__6753
apache/paimon
6,753
defect
05a3bd42c4c25eea43fb8a8129311aeca3ee3d3f
1716b6bb4ca6ed830ba71050afcbdb570569d061
[core] Should prevent users from specifying partition columns as blob field
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose Sometimes user may specify a partition field as the blob field. We should check it on creating tables. <!-- Linking this pull request to the issue --> Linked issue: none #xxx <!-- What is the purpose of the change --...
diff --git a/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/FlinkCatalog.java b/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/FlinkCatalog.java index cd259903f21a7..08159bb522867 100644 --- a/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/FlinkCat...
1
1
0
[{"id": "G0", "claim": "The check preventing the blob field from being a partition key should be placed in SchemaValidation rather than inline in FlinkCatalog, so all engines share it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__paimon__6807
apache/paimon
6,807
defect
8ba32333f945582eb9a8eb2495277f78de56e232
46738fb16aea36640b00504c09fbcc3a224b96c4
[vector] support vector search
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose The PR implements vector search. - usage ```java float[] queryVector = new float[] {0.85f, 0.15f}; VectorSearch vectorSearch = new VectorSearch(queryVector, 2, vectorFieldName); ReadBuilder readBuilder = ...
diff --git a/paimon-common/src/main/java/org/apache/paimon/fileindex/FileIndexReader.java b/paimon-common/src/main/java/org/apache/paimon/fileindex/FileIndexReader.java index 085971bb68c8..a7cbc5b67bf8 100644 --- a/paimon-common/src/main/java/org/apache/paimon/fileindex/FileIndexReader.java +++ b/paimon-common/src/main...
2
1
0
[{"id": "G0", "claim": "In LuceneVectorGlobalIndexScanTest, use the imported `Range` instead of the fully-qualified `org.apache.paimon.utils.Range`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Vector search (and future full-text search) shoul...
null
apache__paimon__6810
apache/paimon
6,810
defect
95f1972a5f8b56a05e95296f0a683cb16955ab8d
b9c66cf1a082d3912864edeee10e39f41b9083c2
[core] Add serializer/deserialize for GlobalIndexResult
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose Related pip: https://cwiki.apache.org/confluence/display/PAIMON/PIP-38%3A+Introduce+Global+Index+for+Paimon+Table?src=contextnavpagetreemode Add ser/des utils for GlobalIndexResult <!-- What is the purpose of the ch...
diff --git a/paimon-common/src/main/java/org/apache/paimon/globalindex/GlobalIndexSerDeUtils.java b/paimon-common/src/main/java/org/apache/paimon/globalindex/GlobalIndexSerDeUtils.java new file mode 100644 index 000000000000..995d7768bbf5 --- /dev/null +++ b/paimon-common/src/main/java/org/apache/paimon/globalindex/Glo...
4
3
1
[{"id": "G0", "claim": "The new code should be a GlobalIndexResultSerializer implementing the Serializer interface, not a static utility class.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The version field is enough; remove the magic number from the s...
null
apache__paimon__6815
apache/paimon
6,815
defect
8ba32333f945582eb9a8eb2495277f78de56e232
d4d24771f9adef20ee2da61e4f19733a97d0fdb5
[core][flink] Support upgrade the data files when overwriting pk table with dv and write-only
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose <!-- Linking this pull request to the issue --> Because that batch scan for primary key dv table will skip the level 0 files, the batch overwrite data are not available if deletion-vectors.enabled and write-only are bot...
diff --git a/docs/layouts/shortcodes/generated/core_configuration.html b/docs/layouts/shortcodes/generated/core_configuration.html index 3abaf417b1da0..043b61458ff8d 100644 --- a/docs/layouts/shortcodes/generated/core_configuration.html +++ b/docs/layouts/shortcodes/generated/core_configuration.html @@ -440,6 +440,12 @...
2
2
2
[{"id": "G0", "claim": "The upgrade of data files after a dv write-only batch overwrite should be handled at commit time (in the Commit phase) rather than where the PR had it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The modifications should be lim...
null
apache__paimon__6842
apache/paimon
6,842
defect
bc1d009ff71af44be740dc6dfde3da8ab1aaf27a
4b6894f72adf83819d5347459f3d4caadc401df4
[core] SstFileReader supports range query
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose <!-- Linking this pull request to the issue --> This PR is the pre-step of https://github.com/apache/paimon/issues/6834, introducing a new access pattern for SstFileReader. Users can seek to specified key and start to it...
diff --git a/paimon-common/src/main/java/org/apache/paimon/memory/MemorySliceInput.java b/paimon-common/src/main/java/org/apache/paimon/memory/MemorySliceInput.java index 4b9cd8c044a5e..edd3ed1288ba8 100644 --- a/paimon-common/src/main/java/org/apache/paimon/memory/MemorySliceInput.java +++ b/paimon-common/src/main/jav...
3
2
1
[{"id": "G0", "claim": "The PR author asks whether lookup and range query need to be split into two different classes (e.g. SstFileLookupReader and SstFileScanReader) so that the index iterator does not need to be detached for each lookup.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "intr...
null
apache__paimon__6879
apache/paimon
6,879
defect
816a76f2e1c642baff3aa7cb7eff89f10f3fd2ab
0cf187afb3f99d5d234df30f9a21cd89b6bde5fe
[format] Introduce text format table
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose ```sql CREATE TABLE t (v STRING) USING text; INSERT INTO t VALUES ('aaaa'); ``` Some tips (follow spark): - Null values will be written as empty strings and read back as empty strings as well. ```sql INSERT I...
diff --git a/docs/content/concepts/spec/fileformat.md b/docs/content/concepts/spec/fileformat.md index bd06d99b7bc4..b520ede4099c 100644 --- a/docs/content/concepts/spec/fileformat.md +++ b/docs/content/concepts/spec/fileformat.md @@ -506,6 +506,33 @@ The following table lists the type mapping from Paimon type to CSV t...
2
1
1
[{"id": "G0", "claim": "Here is the follow-up for Spark (text format table support in Spark).", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a test value that contains the text.line-delimiter character to the text format test.", "category": "testing"...
null
apache__paimon__6891
apache/paimon
6,891
defect
abc3a84746542df4f1ca79954b991042a06717a7
82f4333afe3eb8f33f0da936e76a41377f330a3f
[flink] [spark] Introduce Built-in functions for flink and spark
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose <!-- Linking this pull request to the issue --> Linked issue: close #xxx <!-- What is the purpose of the change --> ### Tests <!-- List UT and IT cases to verify this change --> ### API and Format <!-- Doe...
diff --git a/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/FlinkCatalog.java b/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/FlinkCatalog.java index cd259903f21a7..7738f1bac2bea 100644 --- a/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/FlinkCat...
3
3
0
[{"id": "G0", "claim": "Add a descriptor-to-string conversion function alongside the newly added path_to_descriptor built-in functions.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Spark built-in functions should be handled like the existing sys.ma...
null
apache__paimon__6964
apache/paimon
6,964
defect
59ad255a813ecefceb13479c941384febd2de76b
004aba5fbc5c34bff17d96c15be4ea43ebabf29f
PartitionStatistics support totalBuckets
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose <!-- Linking this pull request to the issue --> <!-- What is the purpose of the change --> PartitionStatistics add totalBuckets field, get value from ManifestEntry.totalBuckets() ### Tests <!-- List UT and IT ca...
diff --git a/docs/static/rest-catalog-open-api.yaml b/docs/static/rest-catalog-open-api.yaml index fcf5c53d11a0..0aa17e2b09f6 100644 --- a/docs/static/rest-catalog-open-api.yaml +++ b/docs/static/rest-catalog-open-api.yaml @@ -3252,6 +3252,9 @@ components: lastFileCreationTime: type: integer ...
2
2
1
[{"id": "G0", "claim": "Serialization compatibility of the new totalBuckets field with old versions (payloads that lack totalBuckets) is unverified, and tests for the missing-field case should be added to ensure it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", ...
null
apache__paimon__6966
apache/paimon
6,966
defect
5b9999a050565206f69de1462901c6b844b2a29c
f4f12fc773da8b79b5d0c6604dc84b21ed1f15ca
[flink] Optimize lookup table refresh with full load for snapshot backlog.
### Purpose <!-- Linking this pull request to the issue --> Linked issue: close #6965 <!-- What is the purpose of the change --> ### Tests <!-- List UT and IT cases to verify this change --> ### API and Format <!-- Does this change affect API or storage format --> ### Documentation <!-- Does t...
diff --git a/docs/layouts/shortcodes/generated/flink_connector_configuration.html b/docs/layouts/shortcodes/generated/flink_connector_configuration.html index 0549fde46640..792d4bf4bb81 100644 --- a/docs/layouts/shortcodes/generated/flink_connector_configuration.html +++ b/docs/layouts/shortcodes/generated/flink_connec...
1
1
0
[{"id": "G0", "claim": "The new `lookup.refresh.full-load-threshold` config option (LOOKUP_REFRESH_FULL_LOAD_THRESHOLD) should have a null default value rather than `Integer.MAX_VALUE`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__paimon__6986
apache/paimon
6,986
defect
a426a421011fb285a4a79cc461f0fe240cf5ca8c
442ac8d7ac539d9cd084b149abdc9e41c7334356
[core] add data-evolution info to Files System Table.
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose Add firstRowId, writeCols and IsBlob columns to Files System Table. <!-- Linking this pull request to the issue --> <!-- What is the purpose of the change --> ### Tests None <!-- List UT and IT cases to verify...
diff --git a/paimon-core/src/main/java/org/apache/paimon/table/system/FilesTable.java b/paimon-core/src/main/java/org/apache/paimon/table/system/FilesTable.java index caa8315eb9ff..881a5d146438 100644 --- a/paimon-core/src/main/java/org/apache/paimon/table/system/FilesTable.java +++ b/paimon-core/src/main/java/org/apac...
1
1
1
[{"id": "G0", "claim": "Remove the newly added `blob` boolean column and get that info from the file name instead, since the Files system table should just reflect the schema of the data file meta.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__paimon__7003
apache/paimon
7,003
defect
78565733c10ad8d9ad9249cb6a85718e02a70e7f
04f4f7acd9b7d1c4e0320db49daa6b8adbfb18fe
[core] support btree indexed-scan in paimon-core and add some tests
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose <!-- Linking this pull request to the issue --> This work is part of https://github.com/apache/paimon/issues/6834 This PR mainly contains two parts: 1. Introduce a `localRowId` method for `GlobalIndexer`, indicating ...
diff --git a/paimon-common/src/main/java/org/apache/paimon/globalindex/GlobalIndexer.java b/paimon-common/src/main/java/org/apache/paimon/globalindex/GlobalIndexer.java index 33ea405a8f9f..98f1011648b3 100644 --- a/paimon-common/src/main/java/org/apache/paimon/globalindex/GlobalIndexer.java +++ b/paimon-common/src/main...
1
1
1
[{"id": "G0", "claim": "The btree index should be built with local row ids (row ids relative to the index range start) rather than global row ids.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__paimon__7020
apache/paimon
7,020
defect
d87373f9c5e3900de2c1f222d162b16ac483b3b8
aa4ff050e9fab9fc956cae38bf30c05f730b8ef7
[core] Add core options blob.file-size-count-in-splitting
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose <!-- Linking this pull request to the issue --> Blob table generates too many splits when scan, cause blob file size counting in splitting. Add a parameter to control this. <!-- What is the purpose of the change --> ...
diff --git a/docs/layouts/shortcodes/generated/core_configuration.html b/docs/layouts/shortcodes/generated/core_configuration.html index 8f352e39b31c..d5b0ca7453a1 100644 --- a/docs/layouts/shortcodes/generated/core_configuration.html +++ b/docs/layouts/shortcodes/generated/core_configuration.html @@ -62,6 +62,12 @@ ...
4
4
1
[{"id": "G0", "claim": "The config option key 'blob.file-size-count-in-splitting' should be renamed to 'blob.split-by-file-size' (including its constant, description, and generated docs).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CoreOptions get...
null
apache__paimon__7085
apache/paimon
7,085
defect
d54c762118394412dadcb047502c7dea1a65b11b
fddbb2a045bc6874c63b4d09d3220e7fb0d3cc5d
[rest] Support getTable by id
### Purpose <!-- What is the purpose of the change --> This PR adds support for retrieving a table by its unique `tableId` in the REST Catalog. Currently, tables can only be retrieved using `Identifier` (database + table name). This enhancement allows users to fetch table metadata directly using the table's UUI...
diff --git a/docs/static/rest-catalog-open-api.yaml b/docs/static/rest-catalog-open-api.yaml index 22aa310ed3e9..e57bd5d7bd3f 100644 --- a/docs/static/rest-catalog-open-api.yaml +++ b/docs/static/rest-catalog-open-api.yaml @@ -412,6 +412,36 @@ paths: $ref: '#/components/responses/UnauthorizedErrorResponse' ...
4
4
2
[{"id": "G0", "claim": "The new endpoint path should be /v1/{prefix}/tables/id/{tableId} instead of /v1/{prefix}/tables/{tableId}.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "GetTableResponse returned by the by-id endpoint does not carry the database ...
null
apache__paimon__7100
apache/paimon
7,100
defect
7fddbe4467e646ccf4f41d1a5c9b0910da25b652
01e48b91832ca0336e43f6558a68b9552d2b29cd
[rest] Add pluggable signer architecture for REST API authentication
### Purpose This PR refactors the REST API authentication mechanism to support multiple signing algorithms through a pluggable architecture. **Key changes:** - Introduced `DLFRequestSigner` interface to abstract signing behavior - Implemented two signing algorithms: - `DLFDefaultSigner`: Original DLF signing...
diff --git a/docs/content/concepts/rest/dlf.md b/docs/content/concepts/rest/dlf.md index d093ad07dfed..062dd8b7d083 100644 --- a/docs/content/concepts/rest/dlf.md +++ b/docs/content/concepts/rest/dlf.md @@ -115,3 +115,59 @@ WITH ( -- 'dlf.token-ecs-role-name' = 'my_ecs_role_name' ); ``` + +## Signing Algorithm C...
7
6
4
[{"id": "G0", "claim": "The statement 'DLF Default Signing (Recommended)' may be misleading, since the default signer does not work for dlfnext endpoints where automatic selection picks the OpenAPI signer.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla...
null
apache__paimon__7117
apache/paimon
7,117
defect
135360dc781e16d53f9a6b603fb4d5aae967cc85
166deaa706d77329577b25d0dbdfc2d31f516132
[Flink] Add sourceParallelismUpperBound metric for auto-scaling systems
### Purpose This PR adds a new metric `sourceParallelismUpperBound` to the Flink Source Enumerator. This metric provides a recommended upper bound of parallelism for auto-scaling systems to optimize resource allocation. ### Motivation Auto-scaling systems need to understand the optimal parallelism for Paimon s...
diff --git a/docs/content/maintenance/metrics.md b/docs/content/maintenance/metrics.md index 5d115407e277..33f50501aabe 100644 --- a/docs/content/maintenance/metrics.md +++ b/docs/content/maintenance/metrics.md @@ -391,6 +391,12 @@ When using Flink to read and write, Paimon has implemented some key standard Fli ...
4
4
0
[{"id": "G0", "claim": "The doc's description should read 'equals to' instead of 'equals'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The doc should not describe the per-bucket-mode internals (bucket number vs flink max parallelism), since the...
null
apache__paimon__7217
apache/paimon
7,217
defect
7ec86cb99b46b3c8dbbd17aa73c75c6548e5a481
4331ecddfb0cac5b7687e874e18ba4c347f73313
[core] BucketedAppendCompactManager should use compactionFileSize instead of targetFileSize
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose <!-- Linking this pull request to the issue --> See #1680 <!-- What is the purpose of the change --> ### Tests <!-- List UT and IT cases to verify this change --> ### API and Format <!-- Does this chang...
diff --git a/paimon-core/src/main/java/org/apache/paimon/append/BucketedAppendCompactManager.java b/paimon-core/src/main/java/org/apache/paimon/append/BucketedAppendCompactManager.java index df7c57bc7f47..e0699de490eb 100644 --- a/paimon-core/src/main/java/org/apache/paimon/append/BucketedAppendCompactManager.java +++ ...
2
2
1
[{"id": "G0", "claim": "Please add a test for the change that makes BucketedAppendCompactManager use compactionFileSize instead of targetFileSize.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In pickCompactBefore, the compaction-size threshold is anot...
null
apache__paimon__7228
apache/paimon
7,228
defect
9ca80b30e919ba97f18ca334518a90232ca4caa1
49f55e6c156ae7ad2e25505632e52bd1345ec349
[core] Introduce supportsPartitionModification to Catalog
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose <!-- Linking this pull request to the issue --> See `RESTCatalogTest.testPartitionExpire`, partition expire should use commit user prefix. This PR fix it, and refactoring improves the semantic clarity of the code, and...
diff --git a/paimon-core/src/main/java/org/apache/paimon/AbstractFileStore.java b/paimon-core/src/main/java/org/apache/paimon/AbstractFileStore.java index eea68990c774..3c4ef3168a7f 100644 --- a/paimon-core/src/main/java/org/apache/paimon/AbstractFileStore.java +++ b/paimon-core/src/main/java/org/apache/paimon/Abstract...
1
1
1
[{"id": "G0", "claim": "The new testPartitionExpire test should set METASTORE_PARTITIONED_TABLE=true and apply COMMIT_USER_PREFIX via table.copy() instead of a create-time table option, so the test exercises the partition-expire path more accurately.", "category": "testing", "verdict": "supported", "priority": "P1", "s...
null
apache__paimon__7235
apache/paimon
7,235
defect
b1c3463e20ee8e8f5ffd7f40fe53f464e1c0da90
f0fad8c74c4477a6b9f44a64c7258d180d959e9b
[core] Introduce 'visibility-callback.enabled'
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose <!-- Linking this pull request to the issue --> This feature is particularly useful for write-only tables where data should be queryable immediately after insertion. The callback ensures that queries wait for the necessa...
diff --git a/docs/layouts/shortcodes/generated/core_configuration.html b/docs/layouts/shortcodes/generated/core_configuration.html index 2e97f9beef42..3e708c8627f0 100644 --- a/docs/layouts/shortcodes/generated/core_configuration.html +++ b/docs/layouts/shortcodes/generated/core_configuration.html @@ -1452,6 +1452,24 @...
3
3
0
[{"id": "G0", "claim": "The visibility-callback.enabled option description should state that it is only used for batch mode or bounded stream.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The magic bucket value -2 should be replaced with the nam...
null
apache__paimon__7254
apache/paimon
7,254
defect
eaf18d79f7d3111d90695b1c78de7972d4aacdac
f0a0e37169b0914c901ee58a7882040ea9938f92
[core] Improve HttpClient error response handling
### Purpose This PR improves error response handling in HttpClient by ensuring that error messages are always populated with meaningful information when the response body is available.
diff --git a/paimon-api/src/main/java/org/apache/paimon/rest/HttpClient.java b/paimon-api/src/main/java/org/apache/paimon/rest/HttpClient.java index 84ddb6c75e5f..8f4a93467b56 100644 --- a/paimon-api/src/main/java/org/apache/paimon/rest/HttpClient.java +++ b/paimon-api/src/main/java/org/apache/paimon/rest/HttpClient.ja...
1
1
0
[{"id": "G0", "claim": "The added empty-message handling duplicates the ErrorResponse construction from the catch block above in exec(), and the reviewer asks that the code be refactored to remove the duplication.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__paimon__7311
apache/paimon
7,311
defect
e49d964128f0479ad195cb765339e6237e77a5f4
c1e883e170ffd4aed8f4927936bb29ece75bbd06
[flink] Implement FLIP-314 LineageVertexProvider for source and sink connectors
### Purpose - Implement `LineageVertexProvider` which helps flink ([FLIP-314](https://cwiki.apache.org/confluence/display/FLINK/FLIP-314%3A+Support+Customized+Job+Lineage+Listener)) to generate lineage events with additional details which flink don't have access to. - It generates a proper namespace and passes down t...
diff --git a/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/PaimonDataStreamScanProvider.java b/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/PaimonDataStreamScanProvider.java index af9df5b9338c..163bb8e6ec84 100644 --- a/paimon-flink/paimon-flink-common/src/main/java/or...
1
1
1
[{"id": "G0", "claim": "Paimon's scan and sink providers should implement LineageVertexProvider directly instead of going through the delegate-pattern DataStreamProviderFactory wrappers, with the Flink lineage classes copied into the lower Paimon-Flink modules so the new-version code stays clean.", "category": "design"...
null
apache__paimon__7328
apache/paimon
7,328
defect
24ff42103afc11512d2d59c19e9853b95e18164f
807fd1d18df8a301034f904071ca21adfd365717
[core] Support external-storage BLOB columns and MERGE INTO updates for descriptor-based BLOB columns
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose This PR adds support for descriptor-based BLOB fields backed by external storage. For these fields, Paimon writes raw BLOB data to a configured external storage path at write time and stores only serialized BlobDescriptor...
diff --git a/docs/layouts/shortcodes/generated/core_configuration.html b/docs/layouts/shortcodes/generated/core_configuration.html index 4f012492d82f3..367850b3abdf1 100644 --- a/docs/layouts/shortcodes/generated/core_configuration.html +++ b/docs/layouts/shortcodes/generated/core_configuration.html @@ -56,6 +56,18 @@ ...
3
3
0
[{"id": "G0", "claim": "The config key 'blob-copied-descriptor-field' should be named 'blob-external-storage-field'.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The config key 'blob-copied-descriptor-target-dir' should be named 'blob-external-storage-...
null
apache__paimon__7331
apache/paimon
7,331
defect
917ec0367837b99841654802e4f510747d072688
a787f527059d31327ca73e58f791e76ea6ea1177
[core] Enable clustering before write phase for incremental clustering table
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose <!-- Linking this pull request to the issue --> Linked issue: close #xxx <!-- What is the purpose of the change --> For Append -1 tables, clustering data before batch write and incremental clustering are mutually e...
diff --git a/docs/layouts/shortcodes/generated/core_configuration.html b/docs/layouts/shortcodes/generated/core_configuration.html index 9d6c1948ddce..1acdbcaac9cf 100644 --- a/docs/layouts/shortcodes/generated/core_configuration.html +++ b/docs/layouts/shortcodes/generated/core_configuration.html @@ -56,6 +56,12 @@ ...
1
1
0
[{"id": "G0", "claim": "Rename the new config option key `clustering.pre-write.enabled` to `clustering.incremental.optimize-write`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__paimon__7354
apache/paimon
7,354
defect
ca6a8dbc7a2018978ac44db60d93c6d555bc88f4
b6ef29d7e98b011c7c1be39b97a867f68d710e14
[flink] [spark] Fix btree procedure GlobalIndexMeta row range not accurate
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose <!-- Linking this pull request to the issue --> One point: * The row range of GlobalIndexMeta should be accurate <!-- What is the purpose of the change --> ### Tests <!-- List UT and IT cases to verify this...
diff --git a/docs/layouts/shortcodes/generated/core_configuration.html b/docs/layouts/shortcodes/generated/core_configuration.html index b592fea8bbd13..aa6746aea9dc9 100644 --- a/docs/layouts/shortcodes/generated/core_configuration.html +++ b/docs/layouts/shortcodes/generated/core_configuration.html @@ -57,22 +57,22 @@...
3
3
1
[{"id": "G0", "claim": "Do not add the forceSplitRowRangeContigous option to DataEvolutionSplitGenerator; implement the contiguous row-range splitting in the btree builder instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Extract the per-partition/...
null
apache__paimon__7402
apache/paimon
7,402
defect
0f48a5af080090da69ddd6b1d8a98859ecdf6739
3930ccdb6dcfa7ad2f57d25d3d937e5f83befea6
[flink] Sopport refreshing partition asynchronously for lookup join
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose Sopport refreshing partition asynchronously for lookup join. ### Tests LookupJoinITCase.testAsyncPartitionRefresh() ### API and Format <!-- Does this change affect API or storage format --> ### Documentatio...
diff --git a/.github/workflows/utitcase-flink-1.x-common.yml b/.github/workflows/utitcase-flink-1.x-common.yml index 6825d8e7a369..f22b56014fe2 100644 --- a/.github/workflows/utitcase-flink-1.x-common.yml +++ b/.github/workflows/utitcase-flink-1.x-common.yml @@ -38,7 +38,7 @@ concurrency: jobs: build_test: run...
9
9
2
[{"id": "G0", "claim": "The PartitionRefresher should be created only when async refresh is enabled and the lookup table is a FullCacheLookupTable, not for every DynamicPartitionLoader.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The switch-to-re...
null
apache__paimon__7428
apache/paimon
7,428
defect
2b1623a969a3398f07a7db5fabbab1e4b46ae11e
f6fd917eaefd77012f25b3f428747206bef73b24
[core] Add partition format check if partition expire time is set
### Purpose Users may set an incorrect partition key, or an incorrect time format for partition expire. Under such case, partitions won't expire and will increase the storage size infinitely. To avoid this problem, this PR adds a check for partition format if partition expire time is set ### Tests * `TableWrit...
diff --git a/paimon-core/src/main/java/org/apache/paimon/operation/AbstractFileStoreWrite.java b/paimon-core/src/main/java/org/apache/paimon/operation/AbstractFileStoreWrite.java index f0e836a9ac75..b20ad48dad44 100644 --- a/paimon-core/src/main/java/org/apache/paimon/operation/AbstractFileStoreWrite.java +++ b/paimon-...
2
2
2
[{"id": "G0", "claim": "The PR should add a configuration option to keep the old behavior when the partition value does not match the timestamp configuration, instead of always throwing an exception at write time.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cl...
null
apache__paimon__7429
apache/paimon
7,429
defect
2b1623a969a3398f07a7db5fabbab1e4b46ae11e
326e82342a8f442713dfa4e96da1c175fc862d59
[core] Do not clean base and delta manifests in ChangelogDeletion
### Purpose Currently, `ChangelogDeletion` will clean base and delta manifests. However these manifests are also cleaned in `SnapshotDeletion`. Consider the following scenario: * `snapshot-1` is changed to `changelog-1`. However due to some issue, its base and delta manifests are not cleaned. * `snapshot-1` i...
diff --git a/paimon-core/src/main/java/org/apache/paimon/operation/ChangelogDeletion.java b/paimon-core/src/main/java/org/apache/paimon/operation/ChangelogDeletion.java index 348d2da6bd620..c3c368600dc51 100644 --- a/paimon-core/src/main/java/org/apache/paimon/operation/ChangelogDeletion.java +++ b/paimon-core/src/main...
1
1
1
[{"id": "G0", "claim": "Cleaning the base manifest list in ChangelogDeletion#cleanUnusedManifests is very dangerous and should be removed or justified, since files still in use may be deleted.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
apache__paimon__7470
apache/paimon
7,470
defect
6c1b246f421be0b25fd7174c59e1971572c158b7
9a5e2ce322e0b09daeb5e13d3041bb499c6a01e8
[core] Ensuring JDBC connection is not stale before using it
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose This change ensure connection is valid before it is used for locking or cataloging purposes. Changes made include 1. paimon-common/.../client/ClientPool.java - Added a reconnect(C client) hook in ClientPoolImpl ...
diff --git a/paimon-common/src/main/java/org/apache/paimon/client/ClientPool.java b/paimon-common/src/main/java/org/apache/paimon/client/ClientPool.java index c42a30b353104..78b6fbdd53ddf 100644 --- a/paimon-common/src/main/java/org/apache/paimon/client/ClientPool.java +++ b/paimon-common/src/main/java/org/apache/paimo...
1
1
0
[{"id": "G0", "claim": "The `reconnect` method should be renamed to a clearer name.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__paimon__7499
apache/paimon
7,499
defect
8c5255f0bce9d5ae30d98b74f8472971d94477c9
3a4a63bb2e56c3b5b746eff5fda53f53bc124723
[core] Introduce 'consumer.changelog-only' to keep less snapshots
### Purpose Introduce `consumer.changelog-only`: If true, consumer will only affect changelog expiration and will not prevent snapshot from being expired. ### Tests `ExpireSnapshotsTest.testConsumerChangelogOnly`
diff --git a/docs/layouts/shortcodes/generated/core_configuration.html b/docs/layouts/shortcodes/generated/core_configuration.html index e24b4a2795ab..44aeee4980b5 100644 --- a/docs/layouts/shortcodes/generated/core_configuration.html +++ b/docs/layouts/shortcodes/generated/core_configuration.html @@ -380,6 +380,12 @@ ...
2
2
2
[{"id": "G0", "claim": "consumerChangelogOnly() should also check that changelog lifecycle decouple is set.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test should also cover that with this option changelog expiration is still protected by th...
null
apache__paimon__7510
apache/paimon
7,510
defect
7fadf8b9c0bc4fc81f0719f3da8bd49b5870ca49
76c4a8bdcf38b41c9538a77d09e8cac587297a81
[core] Add row range index to btree index build
### Purpose This change makes btree index build carry row range index metadata through the scan result and use it when regrouping splits for build. It also aligns empty-result handling by returning `Optional.empty()` from `scan()` and `incrementalScan()`, updates Flink and Spark callers to handle the optional res...
diff --git a/paimon-core/src/main/java/org/apache/paimon/globalindex/DataEvolutionBatchScan.java b/paimon-core/src/main/java/org/apache/paimon/globalindex/DataEvolutionBatchScan.java index f2b2c70b1bd7..84f40243f23f 100644 --- a/paimon-core/src/main/java/org/apache/paimon/globalindex/DataEvolutionBatchScan.java +++ b/p...
1
1
1
[{"id": "G0", "claim": "Returning indexedSplit.dataSplit() discards the rowRanges metadata, so downstream readers can still read the full DataSplit and produce negative/incorrect localRowId values relative to the returned Range; the method should return the IndexedSplit itself (or another Split type that preserves rowR...
null
apache__paimon__7550
apache/paimon
7,550
defect
5313909e0137244d84d803a85ffba0d9d5b03df6
2b925bfbcbc20f7aa846445cca9c99cd1e6c12f8
[flink] support vector search procedure for flink
### Purpose Flink supports vector search procedure. This is a flink version of https://github.com/apache/paimon/pull/6950 Usage: ``` sql CALL sys.vector_search( `table` => 'tableId', vector_column => 'v', query_vector => '1.0,2.0,3.0', top_k => 5 ) ``` Note that flink 2.0 has already supported nati...
diff --git a/docs/content/append-table/global-index.md b/docs/content/append-table/global-index.md index dc90a4664fb6..f00462492f2a 100644 --- a/docs/content/append-table/global-index.md +++ b/docs/content/append-table/global-index.md @@ -109,6 +109,32 @@ SELECT * FROM vector_search('my_table', 'embedding', array(1.0f,...
4
4
1
[{"id": "G0", "claim": "Use RowType's built-in projectIndexes instead of hand-rolling the mapping of projection column names to field indices.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use rowType.project to build the projected row type ins...
null
apache__paimon__7553
apache/paimon
7,553
defect
5313909e0137244d84d803a85ffba0d9d5b03df6
a083c48fcf524a1774aed24cefca180570f58661
Introduce scan.primary-branch which is symmetrical to scan.fallback-branch
### Purpose Some users may have accumulated large amounts of data in their main primary-key branch, and they want to organize the data into another non-primary-key branch to speed up querying. This PR introduces `scan.primary-branch` which is symmetrical to `scan.fallback-branch`. ### Tests * `FallbackReadFile...
diff --git a/docs/layouts/shortcodes/generated/core_configuration.html b/docs/layouts/shortcodes/generated/core_configuration.html index 6dd621fcac4a..0071c264376f 100644 --- a/docs/layouts/shortcodes/generated/core_configuration.html +++ b/docs/layouts/shortcodes/generated/core_configuration.html @@ -128,6 +128,12 @@ ...
8
6
3
[{"id": "G0", "claim": "testPlanWithDataFilter no longer applies any data predicate (only filters on partition pt), so the test no longer covers the Javadoc scenario where data filters eliminate all files in a partition; reintroduce a data predicate such as pt = 1 AND a = 100.", "category": "testing", "verdict": "suppo...
null
apache__paimon__7566
apache/paimon
7,566
defect
89d54197e0df9465ade97a3c97ad402c410178c4
1a8821aca20ca3e37d4ae1cf8e67886c49fa1093
[flink] Support dropping primary keys for empty tables in Flink
### Purpose Paimon has supported adding primary keys for empty tables before. So in this PR, we support the symmetrical operation: dropping primary keys for empty tables. ### Tests * `SchemaManagerTest` * `SchemaChangeITCase`
diff --git a/paimon-api/src/main/java/org/apache/paimon/schema/SchemaChange.java b/paimon-api/src/main/java/org/apache/paimon/schema/SchemaChange.java index 4b68ad105a69..65782fcf8efe 100644 --- a/paimon-api/src/main/java/org/apache/paimon/schema/SchemaChange.java +++ b/paimon-api/src/main/java/org/apache/paimon/schema...
3
3
1
[{"id": "G0", "claim": "DropPrimaryKeys.hashCode() always returns 0, causing worst-case behavior in hash-based collections and inconsistency with the other change classes, so it should return a stable per-class hash such as getClass().hashCode().", "category": "performance", "verdict": "supported", "priority": "P2", "s...
null
apache__paimon__7614
apache/paimon
7,614
defect
f6cb6c849fc4ade93cf3366b79a4b2955b8919a2
ae87e738e1d6f9e242009d9d7b3baffea86deea1
[core] When scan.primary-branch is set, allow primary branch to be an append only table
### Purpose In `scan.fallback-branch`, we allow main branch to be append only, and fallback branch to have primary key. So in `scan.primary-branch`, we should allow main branch to have primary key, and primary branch to be append only. ### Tests * `BranchSqlITCase`
diff --git a/paimon-core/src/main/java/org/apache/paimon/table/FallbackReadFileStoreTable.java b/paimon-core/src/main/java/org/apache/paimon/table/FallbackReadFileStoreTable.java index 5c839a5581074..0a0ad0a6caef3 100644 --- a/paimon-core/src/main/java/org/apache/paimon/table/FallbackReadFileStoreTable.java +++ b/paimo...
3
3
0
[{"id": "G0", "claim": "The `first`/`second` variable names (and related variables) are ambiguous in validateSchema(), which enforces asymmetric rules based on read priority; they should be renamed to something semantic like `primary`/`fallback`.", "category": "maintainability", "verdict": "supported", "priority": "P2"...
null
apache__paimon__7630
apache/paimon
7,630
defect
22baf60059a09ff4f09afe4c5ac2b962c68fe975
accdb6ea3656fa40632d39f7aaddf1edf252da3c
[python] Add conflict detection in shard update
### Purpose This PR is a follow-up to #7323. PR #7323 introduced conflict detection for Python data evolution updates, but the shard-update path was not covered. As a result, when shard update and compact run concurrently, the shard update may commit successfully against a stale scan snapshot instead of failing fas...
diff --git a/paimon-core/src/test/java/org/apache/paimon/JavaPyE2ETest.java b/paimon-core/src/test/java/org/apache/paimon/JavaPyE2ETest.java index bd1e006ec774..c09bf3466384 100644 --- a/paimon-core/src/test/java/org/apache/paimon/JavaPyE2ETest.java +++ b/paimon-core/src/test/java/org/apache/paimon/JavaPyE2ETest.java @...
3
2
2
[{"id": "G0", "claim": "Double-check that no other caller of FileScanner still expects the manifest-scanner lambda to return a plain list instead of the new (manifest_files, snapshot) tuple.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In incremen...
null
apache__parquet-java__1000
apache/parquet-java
1,000
defect
53f65a81dc5c2067aa258dfe8d832a6ff9fd0e9c
3f1302bb6eb9401200a8c070ca839140c6119d9d
PARQUET-2196: Support LZ4_RAW codec
This PR implements the LZ4_RAW codec which was introduced by parquet format v2.9.0. Since there are a lot of common logic between the LZ4_RAW and SNAPPY codecs, this patch moves them into NonBlockedCompressor and NonBlockedDecompressor and make the specific codec extend them. Added TestLz4RawCodec test to make sure ...
diff --git a/parquet-cli/src/main/java/org/apache/parquet/cli/Util.java b/parquet-cli/src/main/java/org/apache/parquet/cli/Util.java index cf4b97edf6..cf11710d6a 100644 --- a/parquet-cli/src/main/java/org/apache/parquet/cli/Util.java +++ b/parquet-cli/src/main/java/org/apache/parquet/cli/Util.java @@ -151,6 +151,8 @@ p...
21
16
0
[{"id": "G0", "claim": "The new LZ4 test's comment says \"Reuse the snappy objects between test cases\" where it should refer to lz4 objects.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The codec test should exercise larger, compressible payl...
null
apache__parquet-java__1008
apache/parquet-java
1,008
defect
d057b39d93014fe40f5067ee4a33621e65c91552
e381e601d834e6dbfd53dd7e2d693736a45371f4
PARQUET-2212: Add ByteBuffer api for decryptors to allow direct memory to be decrypted
The PR adds the new ByteBuffer api and also updates ColumnChunkPageReadStore.readPage to use the new API. A few additional classes were touched (ParquetReader.Builder, BytesInput) to allow an allocator to be specified and/or to avoid ByteBuffer -> byte array copying. These changes were necessary to enable the unit tes...
diff --git a/parquet-column/pom.xml b/parquet-column/pom.xml index 664a6be141..47a80fa3fa 100644 --- a/parquet-column/pom.xml +++ b/parquet-column/pom.xml @@ -114,7 +114,7 @@ <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> - <version>3.9</version> + ...
15
11
4
[{"id": "G0", "claim": "Direct-buffer decryption may not perform better, so the useOffHeapDecryptBuffer default should be off with users setting it on explicitly.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "TestPropertiesDrivenEncryption's thread coun...
null
apache__parquet-java__1027
apache/parquet-java
1,027
defect
c36be7b990f4e74d5560f494b53bb99c3c701749
cee56a3642500e9de88b45738133f85a2ac3150b
PARQUET-2243: Support zstd-jni in DirectCodecFactory
Make sure you have checked _all_ steps below. ### Jira - [x] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-2243 - In case you ...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/DirectCodecFactory.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/DirectCodecFactory.java index d5f13e286d..ef2d5bf890 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/DirectCodecFactory.java +++ b/parquet-hadoop/src/m...
1
1
0
[{"id": "G0", "claim": "The change to TestInputOutputFormat.java (splitting 'public class TestInputOutputFormat' across two lines) was modified by accident and should be reverted.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__parquet-java__1033
apache/parquet-java
1,033
defect
d1f59a03361c263de2302e0e77bd47184ad86df3
436ca18eeeabf620de21d33cbbc51b93e1a18e3f
PARQUET-2251 Avoid generating Bloomfilter when all pages of a column are encoded by dictionary in parquet v1
In parquet pageV1(Spark use parquet v1 default), even all pages of a column are encoded by dictionary, it will still generate BloomFilter. Actually it is unnecessary and it costs time and occupies storage. Parquet pageV2 doesn't have this problem.
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java index 007eef5d1b..ac376ca7da 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java +++ b/parquet-hadoop/src/main...
1
1
0
[{"id": "G0", "claim": "The parameterized test's naming conflates the file format version with the data page version and is a little confusing (nit).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
apache__parquet-java__1048
apache/parquet-java
1,048
defect
e9313638f765899555f748da211064363ae5978c
a475a382ab4d0455472c4452c8a0f1d45bf61380
PARQUET-2266: Fix support for files without ColumnIndexes
Fix for failure when writing ColumnChunks that do not have a ColumnIndex populated PARQUET-2081 Make sure you have checked _all_ steps below. ### Jira - [x] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java index 3e5c718ba08..9cd7f138197 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java +++ b/parquet-hadoop/src/ma...
1
1
1
[{"id": "G0", "claim": "The change to appendColumnChunk (skipping the offset-index update when offsetIndex is null) has no unit test covering files without column indexes, and a test case should be added to make sure it is well covered.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introd...
null
apache__parquet-java__1078
apache/parquet-java
1,078
defect
8544a8a13d0d6a08935fa90949567d94d51fdcf7
625d916ea157a5d9bb04eb7bf846e6504bfa4ffc
PARQUET-2292: Default SpecificRecord model reflects from MODEL$ field
Context: AvroWriteSupport/AvroReadSupport can improve the precision of their default `model` selection. Currently they default to new SpecificDataSupplier().get()[0]. This means that SpecificRecord classes that contain logical types will fail out-of-the-box unless a specific DATA_SUPPLIER is configured that contains...
diff --git a/parquet-avro/src/main/java/org/apache/parquet/avro/AvroReadSupport.java b/parquet-avro/src/main/java/org/apache/parquet/avro/AvroReadSupport.java index eca14413a69..e0c8ffed3c7 100644 --- a/parquet-avro/src/main/java/org/apache/parquet/avro/AvroReadSupport.java +++ b/parquet-avro/src/main/java/org/apache/p...
9
6
5
[{"id": "G0", "claim": "getModelForSchema might be better placed in SpecificDataSupplier, AvroReadSupport or AvroWriteSupport instead of AvroRecordConverter.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "AvroWriteSupport.getDataModel should guard against ...
null
apache__parquet-java__1102
apache/parquet-java
1,102
defect
f15b9c42997e3e0af991462529942e044ace6651
90310d7fae32b4f62f4f9509e1d47df2b67e2ecb
PARQUET-2305 Allow Parquet to Proto conversion even though Target Schema has less fields
If Parquet has any field which has been removed from the schema and Parquet to Proto conversion happens, it errors out due to Unknown fields. There could be some scenarios that we want to still convert PARQUET into the target proto schema object which has lesser fields. In this change using the ProtoParquetReader and s...
diff --git a/parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoMessageConverter.java b/parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoMessageConverter.java index 77f5d529e6..e2def04e58 100644 --- a/parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoMessageConverter.java +++ b/parquet-...
16
16
1
[{"id": "G0", "claim": "Please do not use wildcard imports like `import com.google.protobuf.*` in ProtoMessageConverter.java.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The same wildcard-import problem applies to `import org.apache.parquet.s...
null
apache__parquet-java__1134
apache/parquet-java
1,134
defect
515734c373f69b5250e8b63eb3d1c973da893b63
12464443f7a75e6b18b72a2e62fe22e9d641c07b
PARQUET-2336: Add caching key to CodecFactory
Make sure you have checked _all_ steps below. The `CODEC_BY_NAME` is static and may be used across different configurations. If a codec is initialized it will be re-used no matter what the configuration is. This is a problem when there are different compression levels used. https://github.com/apache/parquet-mr/bl...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/CodecFactory.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/CodecFactory.java index 1998ea09dc..fdad50f0ce 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/CodecFactory.java +++ b/parquet-hadoop/src/main/java/org/apach...
3
2
0
[{"id": "G0", "claim": "Changing the cache key format could break external code that reads the protected CODEC_BY_NAME map directly, in case that visibility is accidental.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The removal of a blank line in getCod...
null
apache__parquet-java__1135
apache/parquet-java
1,135
defect
f8465a274b42e0a96996c76f3be0b50cf85ecf15
96bf335f06e5b6184a97b534c6759ea849734aac
PARQUET-2342: Fix writing corrupted parquet file by avoiding overflow on page value count
Parquet writer only checks the number of rows and the page size to decide whether it needs to fit content written on a single page. In the case of a composite column (ex: array/map) with many nulls, it is possible to create 2billions+ values under the default page size & row-count threshold (1MB, 20000 rows). This c...
diff --git a/parquet-column/src/main/java/org/apache/parquet/column/impl/ColumnWriteStoreBase.java b/parquet-column/src/main/java/org/apache/parquet/column/impl/ColumnWriteStoreBase.java index 8cfdace8de2..c628a56e477 100644 --- a/parquet-column/src/main/java/org/apache/parquet/column/impl/ColumnWriteStoreBase.java +++...
1
1
0
[{"id": "G0", "claim": "The new hard-coded page value count limit (Integer.MAX_VALUE / 2) in the size check should be added to the configuration properties for more flexibility.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__parquet-java__1143
apache/parquet-java
1,143
defect
9b5a962df3007009a227ef421600197531f970a5
2acf71bb408f3b892470822ab65edf1ec551d8b8
PARQUET-2348: Recompression/Re-encrypt should rewrite bloomfilter
The bloomfilter data is lost after rewriting with recompression or re-encrypt. We should rewrite the bloomfilter data as well. Make sure you have checked _all_ steps below. ### Jira - [x] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in ...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java index 7ec38ee24b..c2cb387338 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java +++ b/parquet-hadoop/src/main...
1
1
1
[{"id": "G0", "claim": "When a column is masked to null the rewrite should not keep its bloom filter, when a column is encrypted its bloom filter should be encrypted, and two tests should be added to verify both cases are handled.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}...
null
apache__parquet-java__1173
apache/parquet-java
1,173
defect
5ee513341158bc3962df80260c345b80076dbf3e
a2a97140f2e76686d5fa87f65d5b2815a9bba95b
PARQUET-2365 : Fixes NPE when rewriting column without column index
Make sure you have checked _all_ steps below. ### Jira - [x] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-XXX - In case you a...
diff --git a/parquet-column/src/main/java/org/apache/parquet/internal/column/columnindex/ColumnIndexBuilder.java b/parquet-column/src/main/java/org/apache/parquet/internal/column/columnindex/ColumnIndexBuilder.java index 7c221efbfba..35144467d26 100644 --- a/parquet-column/src/main/java/org/apache/parquet/internal/colu...
5
5
2
[{"id": "G0", "claim": "Exposing a public ParquetFileWriter method that overwrites the column statistics and silently discards the column index (endColumn(Statistics)) is a bad, hacky API; a dedicated invalidateStatistics() should be added instead.", "category": "design", "verdict": "supported", "priority": "P1", "scop...
null
apache__parquet-java__1184
apache/parquet-java
1,184
defect
69eaefa54ff1392b8a72878fb7e439933ca45754
3d402c21286ece0b70bf4506ed46b567041343f0
PARQUET-2373: Improve I/O performance with bloom_filter_length
The spec [PARQUET-2257](https://issues.apache.org/jira/browse/PARQUET-2257) has added bloom_filter_length for reader to load the bloom filter in a single shot. This implementation alters the code to make use of the 'bloom_filter_length' field for loading the bloom filter (consisting of the header and bitset) in order t...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/format/converter/ParquetMetadataConverter.java b/parquet-hadoop/src/main/java/org/apache/parquet/format/converter/ParquetMetadataConverter.java index 09b21538e54..60fb8ebb0ee 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/format/converter/Parque...
4
4
1
[{"id": "G0", "claim": "The two bloom-filter reading cases should be separated into two methods, or at least the repeated null-selection checks like `in != null ? in : f` should be avoided.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new ...
null
apache__parquet-java__1192
apache/parquet-java
1,192
defect
0a066d8a5c71386e56dee7bd7a21170b27e4283a
ccd3f94b077c4760c3d7a7e92b7e7bd807237b62
PARQUET-2344: Bump to Thrift 0.19.0
Make sure you have checked _all_ steps below. This requires a new release of `parquet-format`, but it looks like @wgtmac is on top of that: https://github.com/apache/parquet-format/pull/197#issuecomment-1793860149 ### Jira - [ ] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse...
diff --git a/README.md b/README.md index 8514a701d4b..c535cb80099 100644 --- a/README.md +++ b/README.md @@ -35,15 +35,15 @@ Parquet-MR uses Maven to build and depends on the thrift compiler (protoc is now To build and install the thrift compiler, run: ``` -wget -nv http://archive.apache.org/dist/thrift/0.16.0/thri...
3
1
0
[{"id": "G1", "claim": "The reviewer asks why the dependency-analyzer configuration in the root pom needs to ignore javax.annotation:javax.annotation-api.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The reviewer asks where the newly added jav...
null
apache__parquet-java__1193
apache/parquet-java
1,193
defect
0a066d8a5c71386e56dee7bd7a21170b27e4283a
169a235a8e86742d147e33fa955dc66534208465
PARQUET-1942: Bump Arrow to 14.0.1
Make sure you have checked _all_ steps below. This bumps Arrow many versions: - Some API's have changed around the field. - Add support for converting a map and also added a test. ### Jira - [ ] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and referenc...
diff --git a/parquet-arrow/pom.xml b/parquet-arrow/pom.xml index ec2909b190..ca12c94c21 100644 --- a/parquet-arrow/pom.xml +++ b/parquet-arrow/pom.xml @@ -33,7 +33,7 @@ <url>https://parquet.apache.org</url> <properties> - <arrow.version>0.10.0</arrow.version> + <arrow.version>14.0.0</arrow.version> </p...
5
5
2
[{"id": "G0", "claim": "The japicmp exclusion list needs updating to cover the API changes this upgrade introduces.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The getMap() javadoc should say it returns the root map element (an optional group wit...
null
apache__parquet-java__1241
apache/parquet-java
1,241
defect
afd39dde8fd762bf696fea3dab16d45eae1093c3
8ed9f3c2ac285a86d083a05256058845c81bf097
PARQUET-2413: Support configurable extraMetadata in ParquetWriter
https://issues.apache.org/jira/browse/PARQUET-2413 Adds support for Configurable `extraMetadata` in Parquet file footer. This makes it easier for users to migrate from Avro to Parquet (since Avro [supports custom metadata keys](https://github.com/apache/avro/blob/release-1.11.3/lang/java/avro/src/main/java/org/apach...
diff --git a/parquet-hadoop/README.md b/parquet-hadoop/README.md index d235c618ce8..5b856ede554 100644 --- a/parquet-hadoop/README.md +++ b/parquet-hadoop/README.md @@ -290,6 +290,20 @@ true if the reader is using a `DirectByteBufferAllocator` **Description:** Class implementing EncryptionPropertiesFactory. **Defau...
3
2
0
[{"id": "G0", "claim": "Remove the blank line the PR added between WRITER_VERSION and EXTRA_WRITE_METADATA in ParquetOutputFormat.java.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "To support a parquet writer without a Hadoop dependency, the e...
null
apache__parquet-java__1279
apache/parquet-java
1,279
defect
d8396086b3e3fefc6829f8640917c3bbde0fa9c4
fcfb049a9a53841df6bcb9076acc83ffc004e6fc
PARQUET-2438: Fixes minMaxSize for BinaryColumnIndexBuilder
Make sure you have checked _all_ steps below. ### Jira - [x] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-2438 ### Tests...
diff --git a/parquet-column/src/main/java/org/apache/parquet/internal/column/columnindex/BinaryColumnIndexBuilder.java b/parquet-column/src/main/java/org/apache/parquet/internal/column/columnindex/BinaryColumnIndexBuilder.java index 96914a41747..1c546b5160f 100644 --- a/parquet-column/src/main/java/org/apache/parquet/i...
1
1
1
[{"id": "G0", "claim": "ColumnIndexBuilder.getMinMaxSize() should throw an exception (e.g. UnsupportedOperationException) instead of silently returning 0 now that the PR removed the minMaxSize field.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__parquet-java__1285
apache/parquet-java
1,285
defect
d31a89165d4e9574eac76122d93810d139388334
01ca6928b2d2ded4d46b309b03bbfbc8ad337719
PARQUET-2437: Avoid flushing at Parquet writes after an exception
Make sure you have checked _all_ steps below. ### Jira - [x] My PR addresses the following [PARQUET-2437](https://issues.apache.org/jira/browse/PARQUET-2437) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-XXX - In...
diff --git a/parquet-column/src/main/java/org/apache/parquet/column/impl/ColumnWriteStoreBase.java b/parquet-column/src/main/java/org/apache/parquet/column/impl/ColumnWriteStoreBase.java index d127c1ac64..9bc7726491 100644 --- a/parquet-column/src/main/java/org/apache/parquet/column/impl/ColumnWriteStoreBase.java +++ b...
2
1
0
[{"id": "G0", "claim": "The test's use of the direct codec factory with randomly chosen codecs is unexplained: the reviewer asks why the codec needs to be changed and requests that a comment explicitly state the reason.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i...
null
apache__parquet-java__1296
apache/parquet-java
1,296
defect
c839292d8f4545ec9193c688f39305b8e66aa502
92aa3a4d1aa0c0e468448ac1a7514b37e3332552
PARQUET-2448: Fix model conversions for avro <= 1.8 generated classes
When running with avro <= 1.8, the default data supplier was looking for the root record's class conversions to initialize its model. In case the record contained a nested class with another logical-type, the conversion will fail Adapt the code to inspect the whole schema and initialize the model accordingly.
diff --git a/parquet-avro/pom.xml b/parquet-avro/pom.xml index c6abc74ca1..ca49e166b0 100644 --- a/parquet-avro/pom.xml +++ b/parquet-avro/pom.xml @@ -152,6 +152,16 @@ <artifactId>avro-maven-plugin</artifactId> <version>${avro.version}</version> <executions> + <execution> + ...
3
2
1
[{"id": "G1", "claim": "Avoid the wildcard static import (import static org.junit.Assert.*) in TestAvroRecordConverter.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G2", "claim": "Rewriting the whole unit test was unnecessary; the reviewer would feel more co...
null
apache__parquet-java__1309
apache/parquet-java
1,309
defect
acab1e83f41143b99d4f0eac04c05935aa935c7c
17c9b04edbb68e5fa9fd62650d4108023c6f3165
PARQUET-2454: invoking flush before closing the output stream
Make sure you have checked _all_ steps below. In customer deployments, sporadically the parquet generated using spark sql 's "insert overwrite" is found to be corrupted when read back. The writing tasks all commit successfully and no exception of any sort is seen. Given the low frequency of occurrence and deficit of j...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java index 5344aa315c..1fcb5402ef 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java +++ b/parquet-hadoop/src/main...
2
2
1
[{"id": "G0", "claim": "gszadovszky asks the author to search the code for OutputStream.close() calls where the stream may come from outside parquet-mr and add flush() there as well.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "If an exception h...
null
apache__parquet-java__1335
apache/parquet-java
1,335
defect
e8bbfbbd47ca95cdd2198ed74c3d5e73ebae372e
a53d1087347c7ee41fd53df273a760fa5fcf70b1
PARQUET-2430: Add parquet joiner v2
This is a simplified version of original proposed functionality of a joiner, see description of original idea and simplified design below. ## Original design See related original PR: [[WIP][Proposal] PARQUET-2430: Add parquet joiner](https://github.com/apache/parquet-mr/pull/1273) ParquetJoiner feature is sim...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/rewrite/ParquetRewriter.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/rewrite/ParquetRewriter.java index ed3dbc2aea..a6b2514d8d 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/rewrite/ParquetRewriter.java +++ b/parqu...
13
13
3
[{"id": "G0", "claim": "Remove the javadoc lines for the join flags (or document them) since the @param tags carry no description.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Fix the 'weather' -> 'whether' typos in the RewriteOptions builder ja...
null
apache__parquet-java__1370
apache/parquet-java
1,370
defect
dab5aae880ff27734351c9bb576fe503a6d6bf4f
d1c45d67eef7a0a888bd070ecb5185192a59a6c4
PARQUET-34: Extend Contains support to all ColumnFilterPredicate types
Follows up on [this discussion](https://github.com/apache/parquet-java/pull/1328#discussion_r1608679199) from #1328 to fast-follow by expanding `Contains` predicate support from only `Eq<T>` to all `ColumnFilterPredicate<T>` types. ### Jira - [x] My PR addresses the following [Parquet Jira](https://issues.apache....
diff --git a/parquet-column/src/main/java/org/apache/parquet/filter2/predicate/FilterApi.java b/parquet-column/src/main/java/org/apache/parquet/filter2/predicate/FilterApi.java index 4126b73e5a..3c51680667 100644 --- a/parquet-column/src/main/java/org/apache/parquet/filter2/predicate/FilterApi.java +++ b/parquet-column...
1
1
0
[{"id": "G0", "claim": "Wrap the `instanceof SetColumnFilterPredicate` part of the null-check condition in parentheses for readability, since the instanceof and its cast belong together.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
apache__parquet-java__1376
apache/parquet-java
1,376
defect
fbe13d89ae4193be12c164d4bb5342c5eba3963f
0b059e10bf7ea674921e894df232810bf9495dd0
PARQUET-1126: Write unencrypted Parquet files without Hadoop
If you want to write an unencrypted Parquet file without Hadoop, the existing code will use Hadoop to try to get encryption properties. https://github.com/apache/parquet-java/blob/fbe13d89ae4193be12c164d4bb5342c5eba3963f/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetWriter.java#L388-L393 However,...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/crypto/EncryptionPropertiesFactory.java b/parquet-hadoop/src/main/java/org/apache/parquet/crypto/EncryptionPropertiesFactory.java index c5425931a8..a49ae2db1b 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/crypto/EncryptionPropertiesFactory.java...
1
1
0
[{"id": "G0", "claim": "Lines 40-41 of EncryptionPropertiesHelper trigger a second loading of the encryption factory class and should be replaced with the single-call code at line 52.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__parquet-java__2949
apache/parquet-java
2,949
defect
b92c0a8999502f006b48bdc0a4fb76936886f846
97c3d3469d843072252fb1da34bb1287c222ac5c
GH-2948: Fix NPE when using the AvroParquetReader.Builder with LocalInputFile
<!-- Thanks for opening a pull request! If you're new to Parquet-Java, information on how to contribute can be found here: https://parquet.apache.org/docs/contribution-guidelines/contributing Please open a GitHub issue for this pull request: https://github.com/apache/parquet-java/issues/new/choose and format pu...
diff --git a/parquet-avro/src/test/java/org/apache/parquet/avro/TestReadWrite.java b/parquet-avro/src/test/java/org/apache/parquet/avro/TestReadWrite.java index d0b2a7dba3..29f3e74091 100644 --- a/parquet-avro/src/test/java/org/apache/parquet/avro/TestReadWrite.java +++ b/parquet-avro/src/test/java/org/apache/parquet/a...
2
2
1
[{"id": "G0", "claim": "The else branch should not initialize a Hadoop Configuration (this.conf = new Configuration()) and should instead build this.configuration as a HadoopParquetConfiguration and pass it to ParquetReadOptions.builder, as suggested.", "category": "correctness", "verdict": "supported", "priority": "P1...
null
apache__parquet-java__2989
apache/parquet-java
2,989
defect
d4384d3f2e7703fab6363fd9cd80a001e9561db2
fc3866351a7335915c63885ca357ba2085e53077
GH-2988: Supports disabling statistics for specific columns
<!-- Thanks for opening a pull request! If you're new to Parquet-Java, information on how to contribute can be found here: https://parquet.apache.org/docs/contribution-guidelines/contributing Please open a GitHub issue for this pull request: https://github.com/apache/parquet-java/issues/new/choose and format pu...
diff --git a/parquet-column/src/main/java/org/apache/parquet/column/ParquetProperties.java b/parquet-column/src/main/java/org/apache/parquet/column/ParquetProperties.java index 0645b2b533..a9f80406a1 100644 --- a/parquet-column/src/main/java/org/apache/parquet/column/ParquetProperties.java +++ b/parquet-column/src/main...
1
1
0
[{"id": "G0", "claim": "Create a NoopStatistics so that the statistics != null checks are not needed in ColumnValueCollector, since the class is meant to avoid any condition in the critical path.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__parquet-java__2993
apache/parquet-java
2,993
defect
d4384d3f2e7703fab6363fd9cd80a001e9561db2
bd3c805e56a20fa9e8340b50cf313a99b135f19d
GH-2992: Gate LocalTimestamp references in AvroSchemaConverter
<!-- Thanks for opening a pull request! If you're new to Parquet-Java, information on how to contribute can be found here: https://parquet.apache.org/docs/contribution-guidelines/contributing Please open a GitHub issue for this pull request: https://github.com/apache/parquet-java/issues/new/choose and format pu...
diff --git a/parquet-avro/src/main/java/org/apache/parquet/avro/AvroSchemaConverter.java b/parquet-avro/src/main/java/org/apache/parquet/avro/AvroSchemaConverter.java index ffaa07683c..033a80d8fd 100644 --- a/parquet-avro/src/main/java/org/apache/parquet/avro/AvroSchemaConverter.java +++ b/parquet-avro/src/main/java/or...
2
1
1
[{"id": "G0", "claim": "Mock avroVersionSupportsLocalTimestampTypes() in the tests so that both the supporting and not-supporting local-timestamp behaviors of the new version gate are exercised.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "When local ...
null
apache__parquet-java__3036
apache/parquet-java
3,036
defect
42cf31c0fbe4f000d4ddb1e1092c6634989ea3ca
a482ca1d606d9d9ddc2ba1d7e08529720e39cb6b
GH-3035: ParquetRewriter: Add a column renaming feature
### Rationale for this change This feature extension is based on a real use-case when a input parquet dataset need to transformed to a new one using a set of basic schema transformations. `ParquetRewriter` already supports some of transformations: pruning, masking, encrypting, changing a codec. This PR add one of m...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/rewrite/ParquetRewriter.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/rewrite/ParquetRewriter.java index 2ff9c0ea34..e32672ea06 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/rewrite/ParquetRewriter.java +++ b/parqu...
6
6
2
[{"id": "G0", "claim": "The renamed field name should be validated against other output field names (and the code should not silently allow renaming masked columns without an explicit decision).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new...
null
apache__parquet-java__3060
apache/parquet-java
3,060
defect
686f07147499f06eeb78c9643aba499e20002676
f86a80f0c664c8d3cc838ee753cd50c2e103aecc
GH-3059: Add configuration to disable size statistics
### Rationale for this change Now size statistics are enabled globally. We need to better control the behavior when it is not necessary. ### What changes are included in this PR? Add a new flag `parquet.size.statistics.enabled` to control whether to enable size statistics globally. It also supports a per-colum...
diff --git a/parquet-column/src/main/java/org/apache/parquet/column/ParquetProperties.java b/parquet-column/src/main/java/org/apache/parquet/column/ParquetProperties.java index 1fd7ed9bc8..9aaef4b3cf 100644 --- a/parquet-column/src/main/java/org/apache/parquet/column/ParquetProperties.java +++ b/parquet-column/src/main...
1
1
0
[{"id": "G0", "claim": "The new test should use try-with-resources for the writer and reader instead of manual close() calls, to set a good example.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__parquet-java__3072
apache/parquet-java
3,072
defect
ccac04f84f971a1eaf390535b23c2cb42c290f9a
9473e1f3b396dc2bed121566ba68f6979aafa0d6
GH-3070: Add Variant logical type annotation to parquet-java
<!-- Thanks for opening a pull request! If you're new to Parquet-Java, information on how to contribute can be found here: https://parquet.apache.org/docs/contribution-guidelines/contributing Please open a GitHub issue for this pull request: https://github.com/apache/parquet-java/issues/new/choose and format pu...
diff --git a/parquet-column/src/main/java/org/apache/parquet/schema/LogicalTypeAnnotation.java b/parquet-column/src/main/java/org/apache/parquet/schema/LogicalTypeAnnotation.java index 05629dd388f..a4188578c2b 100644 --- a/parquet-column/src/main/java/org/apache/parquet/schema/LogicalTypeAnnotation.java +++ b/parquet-c...
5
3
2
[{"id": "G0", "claim": "parquet-java should support basic roundtrip reading and writing of variant data in this change, per the agreed guidelines for new parquet features, rather than adding only the logical type annotation.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id"...
null
apache__parquet-java__3079
apache/parquet-java
3,079
defect
7b599ededa31e61fa2f34f658bea83395802a3cd
ab31f8fb646dcaa0f04c1d82d90851cef164781c
GH-3078: Use Hadoop FileSystem.openFile() to open files
### Rationale for this change If parquet passes down the `FileStatus` it previously collected, S3A and ABFS clients can skip their own HEAD probe. This saves time, money and IO capacity. When the read policy is passed in, the clients know immediately what kind of read pattern to expect, rather than infer it as re...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/util/HadoopInputFile.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/util/HadoopInputFile.java index 48c79fa5eb..8d1199d192 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/util/HadoopInputFile.java +++ b/parquet-hadoop...
3
2
2
[{"id": "G0", "claim": "Nit question on the new awaitFuture() overload: why is the throwable from initCause() cast back to InterruptedIOException before being thrown?", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The openFile() failure caught by ...
null
apache__parquet-java__3118
apache/parquet-java
3,118
defect
7f77908338192105a5adbfc420a7281d919e8596
d30ed57bbe8db4646f0dc6f1494dde72d116a451
GH-3115-Fix int96 read issue in complex type
<!-- Thanks for opening a pull request! If you're new to Parquet-Java, information on how to contribute can be found here: https://parquet.apache.org/docs/contribution-guidelines/contributing Please open a GitHub issue for this pull request: https://github.com/apache/parquet-java/issues/new/choose and format pu...
diff --git a/parquet-avro/src/main/java/org/apache/parquet/avro/AvroCompatRecordMaterializer.java b/parquet-avro/src/main/java/org/apache/parquet/avro/AvroCompatRecordMaterializer.java index 9b2cbf7186..365f5d64bb 100644 --- a/parquet-avro/src/main/java/org/apache/parquet/avro/AvroCompatRecordMaterializer.java +++ b/pa...
1
1
1
[{"id": "G0", "claim": "Instead of pushing conf all the way down through the converter constructors, hard-code the AvroSchemaConverter used by AvroRecordConverter.CONVERTER to enable reading INT96 values, simplifying the code greatly.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduce...
null
apache__parquet-java__3126
apache/parquet-java
3,126
defect
7a99d86d579a00bbf9e29153118773485cba4fc4
650e0dc8952938ab06ad77e7d2034a092ac9ba96
GH-3125: Add CLI for SizeStatistics
### Rationale for this change There is no way to print size stats from the parquet-cli yet. ### What changes are included in this PR? Add a new CLI command for SizeStatistics. ### Are these changes tested? Added a test case. #### parquet-cli size-stats File with both histogram and unencoded bytes....
diff --git a/parquet-cli/README.md b/parquet-cli/README.md index fb02b081735..963e4f171bd 100644 --- a/parquet-cli/README.md +++ b/parquet-cli/README.md @@ -119,6 +119,8 @@ Usage: parquet [options] [command] [command options] Scan all records from a file rewrite Rewrite one or more Parquet files ...
1
1
1
[{"id": "G0", "claim": "The reviewer questions whether the histogram null/empty-handling changes in SizeStatistics and ParquetMetadataConverter fix an actual defect for this PR, and asks that these fixes be separated out into #3124 — landing that first and rebasing this PR.", "category": "design", "verdict": "supported...
null
apache__parquet-java__3199
apache/parquet-java
3,199
defect
66e0c4eec5a7da37cc182ee0ebf6f2dbdeaac036
fb7ec99faf360bb3882735ed6ba06a6d69880302
GH-3198: Allow specifying trusted classes by class name
<!-- Thanks for opening a pull request! If you're new to Parquet-Java, information on how to contribute can be found here: https://parquet.apache.org/docs/contribution-guidelines/contributing Please open a GitHub issue for this pull request: https://github.com/apache/parquet-java/issues/new/choose and format pu...
diff --git a/parquet-avro/README.md b/parquet-avro/README.md index 4f67491584..c14893f05a 100644 --- a/parquet-avro/README.md +++ b/parquet-avro/README.md @@ -26,21 +26,22 @@ Apache Avro integration ### Configuration for reading -| Name | Type | Description ...
2
1
0
[{"id": "G0", "claim": "The pull request should avoid the unrelated reformatting (column-width) changes it makes to the README tables.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer questions why PackageValidator needs the primitive...
null
apache__parquet-java__3200
apache/parquet-java
3,200
defect
66e0c4eec5a7da37cc182ee0ebf6f2dbdeaac036
1f0f9863642595ab0d05fccaaa76419556d4a1ca
PARQUET-2417: Add `geometry` and `geography` logical type annotations
### Rationale for this change This is to add geometry and geography logical types in parquet-java according to the new parquet-format spec changes to add the geo types - https://github.com/apache/parquet-format/blob/master/Geospatial.md. ### What changes are included in this PR? The Geometry and Geography logical ...
diff --git a/parquet-column/pom.xml b/parquet-column/pom.xml index 654fad27cd..01b5b8e8c6 100644 --- a/parquet-column/pom.xml +++ b/parquet-column/pom.xml @@ -76,6 +76,12 @@ <version>${slf4j.version}</version> </dependency> + <dependency> + <groupId>org.locationtech.jts</groupId> + <artifactI...
18
17
6
[{"id": "G0", "claim": "EdgeInterpolationAlgorithm.findByValue should throw an unsupported-exception-style error for an unrecognized value instead of returning null.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The geometry parse error message sho...
null
apache__parquet-java__3214
apache/parquet-java
3,214
defect
5f079b98e63c814535e8709ab5c6fb672c2aedc5
807bce3d61eaa8cf8b2b612a89b8ef37ff00711a
GH-3213: Add the configuration for ByteStreamSplit encoding
<!-- Thanks for opening a pull request! If you're new to Parquet-Java, information on how to contribute can be found here: https://parquet.apache.org/docs/contribution-guidelines/contributing Please open a GitHub issue for this pull request: https://github.com/apache/parquet-java/issues/new/choose and format pu...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetWriter.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetWriter.java index d4c4bc1040..b3a7a934b8 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetWriter.java +++ b/parquet-hadoop/src/main/java/org/ap...
1
1
1
[{"id": "G0", "claim": "Add a test case covering the new per-column withByteStreamSplitEncoding(String, boolean) builder option to make sure it takes effect.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__parquet-java__3262
apache/parquet-java
3,262
defect
6ac9b29a5c3eb879fd16cc79df52237edaa5e6c6
82daf6886acd8ca915d85e7c7ffc8c6620063c14
GH-3141: Add constructor to `ParquetFileReader` to allow passing in parquet footer and expose setRequestedSchema that accepts `List<ColumnDescriptor>`
<!-- Thanks for opening a pull request! If you're new to Parquet-Java, information on how to contribute can be found here: https://parquet.apache.org/docs/contribution-guidelines/contributing Please open a GitHub issue for this pull request: https://github.com/apache/parquet-java/issues/new/choose and format pu...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java index ae2de87cbc..775053bf88 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java +++ b/parquet-hadoop/src/main...
2
1
0
[{"id": "G0", "claim": "The reviewer asks why setRequestedSchema was changed from MessageType to List<ColumnDescriptor> and whether this change exists in the original PR.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new constructor's body duplicate...
null
apache__parquet-java__3264
apache/parquet-java
3,264
defect
6ac9b29a5c3eb879fd16cc79df52237edaa5e6c6
7ac4953e1ef3d7607f4cc85dca483cbb02cac7b9
GH-3263: Add DictionaryPage.decode to allow dictionary reuse in the ColumnReaderBase ctor
### Rationale for this change I wrote a driver for reading/writing flat parquet files column by column. ColumnReaderBase is used to read column values. In some use cases, multiple threads read the same ColumnChunk concurrently. In this scenario I want to avoid needless duplication of the immutable Dictionary object wh...
diff --git a/parquet-column/src/main/java/org/apache/parquet/column/impl/ColumnReaderBase.java b/parquet-column/src/main/java/org/apache/parquet/column/impl/ColumnReaderBase.java index 87418409f4..7fdc3ca8d3 100644 --- a/parquet-column/src/main/java/org/apache/parquet/column/impl/ColumnReaderBase.java +++ b/parquet-col...
3
3
3
[{"id": "G0", "claim": "wgtmac asks whether it would be better to wrap the PageReader to directly return the cached Dictionary instead of hacking the public API with the new dictionary-passing constructor.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "g...
null