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__helix__869
apache/helix
869
defect
3f8ebc3a0bf2dbba4d01bdbea71bd339384e2ba0
91888ce81d15bcbd7508442fe39ca263671e80d5
Replace customized view cache with property cache
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: Fixes #868 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: In this PR, the custom implementation of customized view cache has been replaced with property cac...
diff --git a/helix-core/src/main/java/org/apache/helix/common/caches/CustomizedViewCache.java b/helix-core/src/main/java/org/apache/helix/common/caches/CustomizedViewCache.java index d46be64ddf..3a15379f11 100644 --- a/helix-core/src/main/java/org/apache/helix/common/caches/CustomizedViewCache.java +++ b/helix-core/src...
5
4
0
[{"id": "G0", "claim": "Add a message to the assertTrue assertion in testGetRoutingTableSnapshot so failures are easy to understand.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CustomizedViewCache class may no longer be needed: it duplicates the ...
null
apache__hertzbeat__2606
apache/hertzbeat
2,606
defect
89be682a88fc136218a1fb390668016f058c99b6
6ccf50daffd352e5d88e38faa1298c689de32e01
[improve] update thread pool nums policy
## What's changed? <!-- Describe Your PR Here --> ## Checklist - [ ] I have read the [Contributing Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_guide) - [ ] I have written the necessary doc or comment. - [ ] I have added the necessary unit tests and all cases have passed. ...
diff --git a/alerter/src/main/java/org/apache/hertzbeat/alert/AlerterWorkerPool.java b/alerter/src/main/java/org/apache/hertzbeat/alert/AlerterWorkerPool.java index 78afb145767..560d0236204 100644 --- a/alerter/src/main/java/org/apache/hertzbeat/alert/AlerterWorkerPool.java +++ b/alerter/src/main/java/org/apache/hertzb...
1
1
1
[{"id": "G0", "claim": "In AlerterWorkerPool's initWorkExecutor the PR replaces SynchronousQueue with a LinkedBlockingQueue whose default capacity is Integer.MAX_VALUE, and since threads can exceed 10 at the same time this may cause OOM.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "i...
null
apache__hertzbeat__3595
apache/hertzbeat
3,595
defect
73f71503f5dde647214a722d892073379cf7ccd6
2fb2080c26dcf844d898860f394b08d5c8a53393
[improve] VM write request sets up gzip compression and adds saveData unit tests
## What's changed? - Refer to the victoriametrics doc to set gzip compression for write requests. ```sh # Import gzipped data to <destination-victoriametrics>: curl -X POST -H 'Content-Encoding: gzip' http://destination-victoriametrics:8428/api/v1/import -T exported_data.jsonl.gz ``` - Add unit tests for inse...
diff --git a/hertzbeat-warehouse/src/main/java/org/apache/hertzbeat/warehouse/store/history/tsdb/vm/VictoriaMetricsDataStorage.java b/hertzbeat-warehouse/src/main/java/org/apache/hertzbeat/warehouse/store/history/tsdb/vm/VictoriaMetricsDataStorage.java index 59e504c51ee..b34b056a10e 100644 --- a/hertzbeat-warehouse/src...
3
3
1
[{"id": "G0", "claim": "The explicit gzip.close() inside the try-with-resources block is unnecessary and finish() should be used instead to complete the compression without closing the stream.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Gzip comp...
null
apache__hertzbeat__3652
apache/hertzbeat
3,652
defect
f59e15bbbe1b7866f5402a1e04e6687e37e6020c
80de5ae4e6fc8f1dedb8743f7c7b10b4d766ac1e
[bugfix] fix the collector aes decode with secret error
## What's changed? <!-- Describe Your PR Here --> ## Checklist - [ ] I have read the [Contributing Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_guide) - [ ] I have written the necessary doc or comment. - [ ] I have added the necessary unit tests and all cases have passed. ...
diff --git a/hertzbeat-collector/hertzbeat-collector-common/src/main/java/org/apache/hertzbeat/collector/dispatch/entrance/processor/GoOnlineProcessor.java b/hertzbeat-collector/hertzbeat-collector-common/src/main/java/org/apache/hertzbeat/collector/dispatch/entrance/processor/GoOnlineProcessor.java index 13370010820.....
1
1
1
[{"id": "G0", "claim": "The manager's `onlineCollector` should also send `ServerInfo` in the GO_ONLINE message to the collector, and `GoOnlineProcessor` should likewise handle it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__hertzbeat__3660
apache/hertzbeat
3,660
defect
9e6f2762c01eb9d128914f214342b0e529443fa5
493a14d4f48855e010118b1052e5b1f5f3ec6a22
[improve] Optimize the scheduling logic for batch flush tasks
## What's changed? **Optimize the scheduling logic for batch flush tasks** To improve system write performance and stability by optimizing the small tasks that are generated when the buffer queue triggers an overflow (at 80%), which can lead to a large number of inefficient, small-batch insert tasks. - Add a n...
diff --git a/hertzbeat-warehouse/src/main/java/org/apache/hertzbeat/warehouse/store/history/tsdb/vm/VictoriaMetricsDataStorage.java b/hertzbeat-warehouse/src/main/java/org/apache/hertzbeat/warehouse/store/history/tsdb/vm/VictoriaMetricsDataStorage.java index 1736b7f2f16..33c8ff2781c 100644 --- a/hertzbeat-warehouse/src...
1
1
1
[{"id": "G0", "claim": "In `triggerIntervalFlushTimer()`, `metricsFlushTimer.newTimeout()` should be passed `new MetricsFlushTask(null)` instead of `this` to stay consistent with the interval-based flush pattern established in line 134.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "in...
null
apache__hertzbeat__3761
apache/hertzbeat
3,761
defect
1050032a13c55888596cb3589f65b407d258deae
d088eb317334b334cb93d46588870d6094b0aebf
[improve] Prometheus streaming parsing optimization enhancements
## What's changed? > Optimizing the streaming parsing performance of single metrics in Prometheus In the current parsing logic, when `protocol = http` and `parseType = prometheus`, `org.apache.hertzbeat.collector.collect.http.HttpCollectImpl#parseResponseByPrometheusExporter` processes individual metric informati...
diff --git a/hertzbeat-collector/hertzbeat-collector-basic/src/main/java/org/apache/hertzbeat/collector/collect/http/HttpCollectImpl.java b/hertzbeat-collector/hertzbeat-collector-basic/src/main/java/org/apache/hertzbeat/collector/collect/http/HttpCollectImpl.java index 5979dcb129d..2bd9132d226 100644 --- a/hertzbeat-c...
4
3
1
[{"id": "G0", "claim": "Add a JavaDoc comment to the new public parseMetrics(InputStream, String) method explaining its purpose, parameters, return value and how it differs from the existing parseMetrics overload.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G...
null
apache__hertzbeat__3777
apache/hertzbeat
3,777
defect
1050032a13c55888596cb3589f65b407d258deae
265810ca5aa33842241ec5b41a0defead5c6ace5
[feat] Monitoring Center - Added cron expression support for scheduling type
## What's changed? Monitoring Center - Added cron expression support for scheduling type in add/edit monitor forms, with full backward compatibility. For details: - [x] 1. Added a scheduler type selector on the task configuration page with two options: "Second Interval" (default) and "Cron Expression". When "C...
diff --git a/hertzbeat-collector/hertzbeat-collector-collector/src/main/java/org/apache/hertzbeat/collector/dispatch/CommonDispatcher.java b/hertzbeat-collector/hertzbeat-collector-collector/src/main/java/org/apache/hertzbeat/collector/dispatch/CommonDispatcher.java index 6e687562482..c03709bad7f 100644 --- a/hertzbeat...
8
7
5
[{"id": "G0", "claim": "Using CronExpression from spring-context would be preferable to Quartz, whose cron semantics differ slightly and which pulls in an unnecessary extra dependency.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "ScheduleTypeEnum.java ...
null
apache__hertzbeat__3779
apache/hertzbeat
3,779
defect
1050032a13c55888596cb3589f65b407d258deae
a918a9b8109023b5a3601caebd9f53d05d5df464
[bugfix] webhook url query parameters missing
## What's changed? Expanded the database field length, extending the hookUrl field from 300 to 1000 characters. Added URL null value checks and truncation detection logic. <!-- Describe Your PR Here --> from #3778 ## Checklist - [x] I have read the [Contributing Guide](https://hertzbeat.apache.org/docs/...
diff --git a/hertzbeat-alerter/src/main/java/org/apache/hertzbeat/alert/notice/impl/WebHookAlertNotifyHandlerImpl.java b/hertzbeat-alerter/src/main/java/org/apache/hertzbeat/alert/notice/impl/WebHookAlertNotifyHandlerImpl.java index 54d56e532f7..425eb0e87f1 100644 --- a/hertzbeat-alerter/src/main/java/org/apache/hertzb...
2
2
1
[{"id": "G0", "claim": "The new truncation check hard-codes the Azure domain `logic.azure.cn` in the generic webhook handler, and the author is asked why it is there.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The URL truncation-verification...
null
apache__hertzbeat__3856
apache/hertzbeat
3,856
defect
7ac175e726dbe84e84ecb849f56e36aaae4caa3f
32afd4801e973086209ea2256599e52b54ff89e1
[feature] Support FeiShu/Lark App Alert Notification
## What's changed? Closes #3831 <!-- Describe Your PR Here --> ### Main features - [x] Support push alarm messages to designated personnel on Feishu - [x] Support push alarm messages to all personnel on Feishu - [x] Support push alarm messages to group on Feishu - [x] Support push alarm messages to department ...
diff --git a/hertzbeat-alerter/src/main/java/org/apache/hertzbeat/alert/notice/impl/FeiShuAppAlertNotifyHandlerImpl.java b/hertzbeat-alerter/src/main/java/org/apache/hertzbeat/alert/notice/impl/FeiShuAppAlertNotifyHandlerImpl.java new file mode 100644 index 00000000000..1c49c08af82 --- /dev/null +++ b/hertzbeat-alerter...
2
2
1
[{"id": "G0", "claim": "The web-app has eslint errors (4 prettier errors in alert-notice-receiver.component.html) that make the CI lint job fail.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The SQL changes should go in the SQL file for the next v...
null
apache__hertzbeat__3860
apache/hertzbeat
3,860
defect
c1815f510701f6511e508002efde1ce010c25525
6d0bd2310104dfdb891983c5af2768910daff9f8
[improve] Added simple exponential backoff strategy
## What's changed? Please refer to: [#3848](https://github.com/apache/hertzbeat/pull/3848) For details: 1. Added an exponential backoff utility class 2. Added support for configuring the timeout for Redis brpop. 3. Added millisecond-level exponential backoff for all consumers blocking data acquisition. 4. Add...
diff --git a/hertzbeat-alerter/src/main/java/org/apache/hertzbeat/alert/calculate/realtime/MetricsRealTimeAlertCalculator.java b/hertzbeat-alerter/src/main/java/org/apache/hertzbeat/alert/calculate/realtime/MetricsRealTimeAlertCalculator.java index 5fe19edd049..26bbcefdc54 100644 --- a/hertzbeat-alerter/src/main/java/o...
12
12
1
[{"id": "G0", "claim": "The consumer should not keep applying backoff blocking after a normal brpop timeout (empty queue) and should go straight into the next round, with the fallback/backoff reserved for unknown exceptions and the thread terminated only after the retry limit.", "category": "design", "verdict": "suppor...
null
apache__hertzbeat__3874
apache/hertzbeat
3,874
defect
42f0a74edf9282457c321eecb4563db642b06747
55c1fd9cdf509ab31148b3baafe5e3b1bcb31bfe
[bugfix] redis cluster monitor master-slave relationship is inconsistent
Related to #3855 ## What's changed? <!-- Describe Your PR Here --> Fix inconsistency in Redis Cluster monitor regarding master-slave relationships. When retrieving cluster nodes, we now use `StatefulRedisClusterConnection` to obtain the full node list. However, when needing to fetch accurate, per-node info...
diff --git a/hertzbeat-collector/hertzbeat-collector-basic/src/main/java/org/apache/hertzbeat/collector/collect/redis/RedisCommonCollectImpl.java b/hertzbeat-collector/hertzbeat-collector-basic/src/main/java/org/apache/hertzbeat/collector/collect/redis/RedisCommonCollectImpl.java index 90b258545db..d10737f68c2 100644 -...
3
3
3
[{"id": "G0", "claim": "The singleRedisProtocol builder is missing the timeout field from the original redisProtocol, so per-node connections may use default timeout values instead of the configured timeout; add .timeout(redisProtocol.getTimeout()) to the builder.", "category": "correctness", "verdict": "supported", "p...
null
apache__hertzbeat__3876
apache/hertzbeat
3,876
defect
625dbe96248770a076366a89527f1377da9f4741
eb726a06d83de708cf15ab528c9004bb1d554c2a
improvement: optimize log stream for high TPS scenarios
## What's changed? <!-- Describe Your PR Here --> Backend: - Add batch processing with 200ms interval for SSE broadcasting - Use CachedThreadPool for parallel sending to avoid blocking - Add backpressure control with queue size limits - Remove high-frequency log.info in OtlpLogProtocolAdapter Frontend: - ...
diff --git a/hertzbeat-log/pom.xml b/hertzbeat-log/pom.xml index e1859501b1d..7bc9c65fe3c 100644 --- a/hertzbeat-log/pom.xml +++ b/hertzbeat-log/pom.xml @@ -28,6 +28,10 @@ <artifactId>hertzbeat-log</artifactId> <name>${project.artifactId}</name> + <properties> + <awaitility.version>4.2.0</awaitili...
18
14
5
[{"id": "G0", "claim": "The newly added awaitility dependency needs to be added to the license file.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Silently ignoring SSE parse errors makes debugging difficult; at minimum log them in development mode...
null
apache__hertzbeat__3883
apache/hertzbeat
3,883
defect
41e57db03283cb1d475dca21fd51fa3de4ad779e
d2159ded45e2070bc021a1abb46509764c0985e4
[feature] Using duckdb instead of jpa to store history data
This pull request introduces DuckDB as a new backend for historical metrics data storage in Hertzbeat, replacing the previous JPA-based configuration. It updates configuration files, adds the necessary JDBC dependency, and implements the core data storage logic for DuckDB. The changes also include code and configuratio...
diff --git a/hertzbeat-e2e/hertzbeat-log-e2e/src/test/java/org/apache/hertzbeat/log/alert/LogPeriodicAlertE2eTest.java b/hertzbeat-e2e/hertzbeat-log-e2e/src/test/java/org/apache/hertzbeat/log/alert/LogPeriodicAlertE2eTest.java index e3c387dbe6b..8ad662c2b01 100644 --- a/hertzbeat-e2e/hertzbeat-log-e2e/src/test/java/org...
15
2
2
[{"id": "G0", "claim": "The hzb_history table is created without any indexes, so queries filtering by instance, app, metrics, metric and record_time and the cleanup query will perform full table scans that can severely impact query performance; composite and record_time indexes should be added.", "category": "performan...
null
apache__hertzbeat__3933
apache/hertzbeat
3,933
defect
a138238994f2bf955ac4fc8a85c11c34b5151c9c
3b810a0a636778d2f1e20a3107fc3ad9050bab66
[bugfix&improve] Fix alert label persistence and improve custom label input
## What's changed? ### Related Issue Fixes #3901 ### Overview This PR fixes multiple issues in the alert definition label system, including UI display problems and incorrect persistence of system built-in labels. It improves both backend data correctness and frontend usability by clearly separating system label...
diff --git a/hertzbeat-alerter/src/main/java/org/apache/hertzbeat/alert/service/impl/AlertDefineServiceImpl.java b/hertzbeat-alerter/src/main/java/org/apache/hertzbeat/alert/service/impl/AlertDefineServiceImpl.java index 16b2376fe88..79aabe70f2a 100644 --- a/hertzbeat-alerter/src/main/java/org/apache/hertzbeat/alert/se...
2
1
0
[{"id": "G1", "claim": "The selected severity level is still not reflected in the labels: selecting Emergency should automatically display severity:emergency, but it does not.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G2", "claim": "Transactions may need to...
null
apache__hertzbeat__3962
apache/hertzbeat
3,962
defect
7dbdca849ac7e6933f7d0a50fe740043afab8cde
e0785cd11272be0a3045420fcb1d112dba4bfbbe
[manager] bugfix: fix incorrect status page date calculation
## What's changed? This PR fixes incorrect date calculation on the Status Page (#3076). ### Details - Fixed midnight race condition by using a single `Instant` for both `now` and `todayStart` - Replaced `LocalDateTime + ZoneOffset` logic with `Instant + ZoneId` - Ensured DST-safe day boundaries using calendar-...
diff --git a/hertzbeat-manager/src/main/java/org/apache/hertzbeat/manager/service/impl/StatusPageServiceImpl.java b/hertzbeat-manager/src/main/java/org/apache/hertzbeat/manager/service/impl/StatusPageServiceImpl.java index 0fa0ef9e69b..cc72b7a237c 100644 --- a/hertzbeat-manager/src/main/java/org/apache/hertzbeat/manage...
6
6
1
[{"id": "G0", "claim": "The pull request handles several different issues at once, and the maintainer recommends it be split so that one PR fixes only one problem.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "unclear"}, {"id": "G1", "claim": "The pull request's refactored status-page date...
null
apache__hertzbeat__4099
apache/hertzbeat
4,099
defect
a819451011fe69b3d399943db092de548037d769
604879fd748aa9870e1c352ab065305e108bc7b7
feat(nacos-sd): add auth and filtering parameters for Nacos service d…
…iscovery - Add `username`, `password`, and `namespace` parameters to support Nacos authentication and namespace isolation. - Add `groupName` and `serviceName` parameters to support filtering services when discovering from Nacos. - Update `NacosDiscoveryClient` to initialize Nacos naming service with authenticatio...
diff --git a/hertzbeat-collector/hertzbeat-collector-basic/src/main/java/org/apache/hertzbeat/collector/collect/registry/discovery/entity/ConnectConfig.java b/hertzbeat-collector/hertzbeat-collector-basic/src/main/java/org/apache/hertzbeat/collector/collect/registry/discovery/entity/ConnectConfig.java index 3040155c3bf...
8
8
5
[{"id": "G0", "claim": "Properties.put with null username/password/namespace will throw NullPointerException for optional fields, so only set these properties when non-empty.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "When groupName is set, serv...
null
apache__hive__5779
apache/hive
5,779
defect
be59bd0b445096e431c18bbfa0d682c78ba18b76
cb43cee5c5a2d8186d434fa021e9d9f0b62d4ce2
HIVE-20889: Support timestamp-micros in AvroSerDe
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute 2. Ensure that you have created an issue on the Hive project JIRA: https://issues.apache.org/jira/projects/H...
diff --git a/common/src/java/org/apache/hadoop/hive/common/type/Timestamp.java b/common/src/java/org/apache/hadoop/hive/common/type/Timestamp.java index c026f8a8e9e8c..1ac7436f50d23 100644 --- a/common/src/java/org/apache/hadoop/hive/common/type/Timestamp.java +++ b/common/src/java/org/apache/hadoop/hive/common/type/Ti...
13
11
1
[{"id": "G0", "claim": "Use `equalsIgnoreCase` instead of `equals` when comparing the Avro logical type name against TIMESTAMP_TYPE_NAME_MICROS in the deserializer, serializer and proleptic check.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "T...
null
apache__hive__6006
apache/hive
6,006
defect
dcb1b9e9e1f31f66603ca9cb63db5d5ca95b9f33
beefce24ac2b723ece909ccc5054c7f5809b4be6
HIVE-29117: Refactor deleteDir and moveToTrash
### What changes were proposed in this pull request? We can refactor `MetaStoreFS.deleteDir()` and `FileUtils.moveToTrash()` to get a cleaner code: 1. remove `MetaStoreFS` interface, we can use `FileUtils` in replace 2. remove unused parameter `recursive` 3. remove `purge` parameter in `moveToTrash` because we shou...
diff --git a/common/src/java/org/apache/hadoop/hive/common/FileUtils.java b/common/src/java/org/apache/hadoop/hive/common/FileUtils.java index 803da2e8b7a1b..ca7174877de6c 100644 --- a/common/src/java/org/apache/hadoop/hive/common/FileUtils.java +++ b/common/src/java/org/apache/hadoop/hive/common/FileUtils.java @@ -965...
5
4
1
[{"id": "G0", "claim": "The new three-argument moveToTrash overload in metastore FileUtils should be private rather than public.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The refactored deleteDir logic may not reproduce the original behavior of retr...
null
apache__hive__6042
apache/hive
6,042
defect
df98c2e2f4e2370c603f8873f006ee8728afa8a6
a20fbc9f9b3dac2cd489aafc4470f8d2807dcbf6
HIVE-29073: Overlay modified session level metaconf to new hmsclient connection
### What changes were proposed in this pull request? Check [HIVE-29073](https://issues.apache.org/jira/browse/HIVE-29073). When metaconf are modified in beeline session and HMS is restarted or call goes to another HMS (if multiple HMS are present) the modified configs are not honoured. ### Why are the changes need...
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/processors/SetProcessor.java b/ql/src/java/org/apache/hadoop/hive/ql/processors/SetProcessor.java index 87547116fed1f..d51001c44e121 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/processors/SetProcessor.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/processors/S...
2
1
0
[{"id": "G0", "claim": "Use the needsRefresh check with the Hive.get() API to refresh the Hive object instead of calling hive.close(true), or, if needsRefresh alone cannot accomplish it, introduce a new variable to refresh the Hive object.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "intr...
null
apache__hive__6062
apache/hive
6,062
defect
6f53c7fb73ffc4674234957106c597d4a42bccd9
0d9de28d50437d583c6ccad678ff7ea6de8cb646
HIVE-29176: Wrong result when HiveAntiJoin is replacing an IS NULL filter on a nullable column
### What changes were proposed in this pull request? Improve the logic of HiveAntiSemiJoinRule to fix the problems mentioned in [HIVE-29176](https://issues.apache.org/jira/browse/HIVE-29176). ### Why are the changes needed? <!-- Please clarify why the changes are needed. For instance, 1. If you propose a new A...
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/HiveCalciteUtil.java b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/HiveCalciteUtil.java index a19a6c74ec3b8..7df2c59731710 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/HiveCalciteUtil.java +++ b/ql/src/java/org/apac...
3
3
0
[{"id": "G0", "claim": "The cheaper SqlKind.IS_NULL kind check should be moved above the rhsFields.contains() check so that contains() is avoided when possible.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Replacing AtomicBoolean with MutableBoole...
null
apache__hive__6110
apache/hive
6,110
defect
e44cf3446acd1fda67458922d5495de741c02045
a393cc47f7565ada87bfe782ec2d0ca524c24b95
HIVE-29238:upgrade kafka version to fix CVE-2024-31141 and CVE-2021-3…
…8153 <!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute 2. Ensure that you have created an issue on the Hive project JIRA: https://issues.apache.org/jira/p...
diff --git a/itests/qtest-druid/pom.xml b/itests/qtest-druid/pom.xml index 2e3b84cbf31af..4c1036b035955 100644 --- a/itests/qtest-druid/pom.xml +++ b/itests/qtest-druid/pom.xml @@ -36,7 +36,7 @@ <druid.derby.version>10.11.1.1</druid.derby.version> <druid.guava.version>16.0.1</druid.guava.version> <druid....
4
2
1
[{"id": "G0", "claim": "Before upgrading kafka.version from 2.5.0 to 3.9.1, the git history and prior upgrade PRs should be checked so the code remains functional, since previous upgrade attempts hit issues.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla...
null
apache__hive__6120
apache/hive
6,120
defect
329ce884e77631803b156b2855efd8f978dee686
aeebab6b8861858e5e591b80ffdbd8b37ba78ba0
HIVE-29252: Iceberg: [V3] Add support for Column Defaults with Alter commands
### What changes were proposed in this pull request? Add support for Alter commands for specifying column defaults ### Why are the changes needed? To allow column changes with default values ### Does this PR introduce _any_ user-facing change? Yes, Defaults can be changed, columns with defaults can be re...
diff --git a/iceberg/iceberg-catalog/src/main/java/org/apache/iceberg/hive/HiveSchemaConverter.java b/iceberg/iceberg-catalog/src/main/java/org/apache/iceberg/hive/HiveSchemaConverter.java index d7891fe760173..330f67e32bb23 100644 --- a/iceberg/iceberg-catalog/src/main/java/org/apache/iceberg/hive/HiveSchemaConverter.j...
2
2
0
[{"id": "G0", "claim": "Add a comment to explain what the new getDefaultValDiff method in HiveSchemaUtil.java does.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a comment to explain what the new handleDefaultValues method in HiveIcebergMetaH...
null
apache__hive__6132
apache/hive
6,132
defect
79924c5bf3cfdb0df144b3364097e310bc2689b1
fedb2f1ab99b828fd17f93e2108dffcd988bcd69
HIVE-29270: Remove HMS compactor workers deprecated functionality
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute 2. Ensure that you have created an issue on the Hive project JIRA: https://issues.apache.org/jira/projects/H...
diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/MetastoreHousekeepingLeaderTestBase.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/MetastoreHousekeepingLeaderTestBase.java index 588fae409dc9..e8ec181a684d 100644 --- a/itests/hive-unit/src/test/java/org/apache/hadoop/...
1
1
0
[{"id": "G0", "claim": "Besides the HMS local workers support, the PR should also drop the supplemental functionality such as revokeFromLocalWorkers introduced by PR #6068.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
apache__hive__6137
apache/hive
6,137
defect
55d69073069f542244a526ba1b7a2eeb81b385bf
2ac349f7520fa3443b2b93874a8f7378612f7691
HIVE-29273: Default port appended should respect transport mode when …
…host is specified without port <!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute 2. Ensure that you have created an issue on the Hive project JIRA: https:...
diff --git a/jdbc/src/java/org/apache/hive/jdbc/HiveDriver.java b/jdbc/src/java/org/apache/hive/jdbc/HiveDriver.java index edd9e5741502..862a71f4496d 100644 --- a/jdbc/src/java/org/apache/hive/jdbc/HiveDriver.java +++ b/jdbc/src/java/org/apache/hive/jdbc/HiveDriver.java @@ -238,7 +238,7 @@ private Properties parseURLfo...
4
4
2
[{"id": "G0", "claim": "The test should pin the expected port (hardcode 10000 or use HiveConf.ConfVars.HIVE_SERVER2_THRIFT_PORT's default) instead of comparing the port against Utils.getDefaultPort's own output, so the assertion actually verifies the port picked.", "category": "testing", "verdict": "supported", "priori...
null
apache__hive__6141
apache/hive
6,141
defect
9c1333b42de876cc21afd7c0a727bc58e795cb0c
86cf3555dc201e68f31f1b4522ad8a79cd738904
HIVE-29254: Display TxnId associated with the query in show processlist command
…t command <!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute 2. Ensure that you have created an issue on the Hive project JIRA: https://issues.apache.org/j...
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/session/ProcessListInfo.java b/ql/src/java/org/apache/hadoop/hive/ql/session/ProcessListInfo.java index 19e31157f8b5..f52c3a298f89 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/session/ProcessListInfo.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/session/Proces...
2
2
1
[{"id": "G0", "claim": "The Txn ID column is not displayed because ShowProcessListProcessor#getSchema() and the row output never read the txnId captured by ShowProcessListOperation.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Style nit: the new n...
null
apache__hive__6142
apache/hive
6,142
defect
f12406752b2514aec10a0bfb77359d0ced4ad42c
ea9855ca788848971488eed62c376ba27229cd54
HIVE-29274: Flaky TestMetastoreLeaseLeader#testHouseKeepingThreads
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute 2. Ensure that you have created an issue on the Hive project JIRA: https://issues.apache.org/jira/projects/H...
diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/MetastoreHousekeepingLeaderTestBase.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/MetastoreHousekeepingLeaderTestBase.java index 588fae409dc99..ec0af57c9680f 100644 --- a/itests/hive-unit/src/test/java/org/apache/hadoo...
12
8
1
[{"id": "G0", "claim": "The MetastoreHousekeepingLeaderTestBase test base class should be abstract instead of a public instantiable class.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test-listener property name \"metastore.leader.test.listener\" s...
null
apache__hive__6143
apache/hive
6,143
defect
00174fcdd84bd203efbbcb6f95cf1029c75f52eb
bd267231f0ea2383105f7a1b421d746dfe92ba4a
HIVE-29272: Query-based MINOR compaction should not consider minOpenW…
…riteId <!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute 2. Ensure that you have created an issue on the Hive project JIRA: https://issues.apache.org/jira...
diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCrudCompactorOnTez.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCrudCompactorOnTez.java index 53167ad93f5f..425ee60eb159 100644 --- a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/...
5
5
0
[{"id": "G0", "claim": "The 'no delta to be added' log message in CompactionQueryBuilder#buildAddClauseForAlter should be logged at warn level instead of info.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "MergeCompactor#getOutputDirPath misuse...
null
apache__hive__6144
apache/hive
6,144
defect
00174fcdd84bd203efbbcb6f95cf1029c75f52eb
8346f681ea93bbc982bae5f6e9940378df463339
HIVE-29277: Invalid index should return null for get_json_object
### What changes were proposed in this pull request? Return null for invalid index in `get_json_object` udf. ### Why are the changes needed? Fix bug. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Add unit test.
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/udf/UDFJson.java b/ql/src/java/org/apache/hadoop/hive/ql/udf/UDFJson.java index 9e7e05361f9b7..a680e9cca154f 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/udf/UDFJson.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/udf/UDFJson.java @@ -239,11 +239,12 @@ private O...
1
1
0
[{"id": "G0", "claim": "Refactor the invalid-index handling in extract() back into the reviewer's proposed shape (keep the original if (indexList.size() > 0) block and add an else if (path.indexOf('[') >= 0) { return null; } branch) instead of the early-return form.", "category": "maintainability", "verdict": "supporte...
null
apache__hive__6149
apache/hive
6,149
defect
434749050102d1f0ea90eb2a88659f47f54bf2ae
2a3154dc67941d9551b16c0b3ab319cd34825ea8
Enable using column identifiers with special characters when deleting table column statistics.
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute 2. Ensure that you have created an issue on the Hive project JIRA: https://issues.apache.org/jira/projects...
diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java index 12c78c347e433..81111360cb2b4 100644 --- a/standalone-metastore/metastore-server/s...
4
3
1
[{"id": "G0", "claim": "Add a test case for the exception thrown when locking a table that is not in the allowed set, and add a Java comment explaining the intention behind throwing the exception.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove th...
null
apache__hive__6159
apache/hive
6,159
defect
c054a47c7c22875c93ca0d29b7ac730cf7deba04
c729ea19807c0c0ca6f1df4870fff49660e95a85
HIVE-28578: Concurrency issue in updateTableColumnStatistics
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute 2. Ensure that you have created an issue on the Hive project JIRA: https://issues.apache.org/jira/projects/H...
diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java index 71e99b0d32e7..43fc10fcf7db 100644 --- a/standalone-metastore/metastore-common/src...
4
1
0
[{"id": "G0", "claim": "The PR should consider using MVCC (updateParameterWithExpectedValue) for conflict detection instead of the pessimistic S4U NOWAIT locking, since that MVCC API is already used in ObjectStore.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
apache__hive__6160
apache/hive
6,160
defect
1105c253a9c986b936187b6cd82f3bd536a14b69
a5c420646783e3adb9d32ef2a00b553ca6b5b6c3
HIVE-29297: The directory of the direct insert manifest files should …
…be hidden from read queries <!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute 2. Ensure that you have created an issue on the Hive project JIRA: https://i...
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java index e417e13f712d2..7c6b1c0495a58 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java @@ -1052,10 +1052,2...
2
2
1
[{"id": "G0", "claim": "The new helper method would read better named toManifestDirTempPath instead of toTempPathForManifestDir.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new toTempPath(Path, String) overload should be private rather th...
null
apache__hive__6161
apache/hive
6,161
defect
c18d0df2702130cf5d0f050e516eb8999aa56301
5cac81e4b0eb62e76a40a7573a6b2bd1ea0e36e1
HIVE-29302: Wider Tez session open scope should be guarded to prevent local resource leaks
### What changes were proposed in this pull request? Encapsulate a wider code path in error-handling while opening a Tez session. The point of the patch is nothing more than refactoring code to a separate method: ``` try { openInternalUnsafe(isAsync, console); } catch (Exception e) { LOG.info...
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionState.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionState.java index b89cac4e8137a..79d6b3bc624c8 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionState.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/...
5
3
0
[{"id": "G0", "claim": "The new test could call the public `sessionState.open(resources)` instead of the test-visible `openInternal(null, false, console, resources)`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`openInternal`, which the pull request c...
null
apache__hive__6168
apache/hive
6,168
defect
c18d0df2702130cf5d0f050e516eb8999aa56301
5bf0d104175f82bd1dbdd99d57ad598c31536f1c
HIVE-27805: Hive server2 connections limits bug
HIVE-27805: Hive server2 connections limits bug <!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute 2. Ensure that you have created an issue on the Hive projec...
diff --git a/service/src/java/org/apache/hive/service/cli/session/SessionManager.java b/service/src/java/org/apache/hive/service/cli/session/SessionManager.java index 694768ae7dad..274df88390ef 100644 --- a/service/src/java/org/apache/hive/service/cli/session/SessionManager.java +++ b/service/src/java/org/apache/hive/s...
5
5
1
[{"id": "G0", "claim": "Explain why the loop bound is written `3 + 1` instead of `4`, and if it is meant to highlight that n + 1 attempts test the limit, extract the magic number to a constant.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use ...
null
apache__hive__6171
apache/hive
6,171
defect
6b5febcc559e9f20ebea6fb04679477cf125144f
cf0be80393e0b49e876b7fc17231c631b5359d43
HIVE-29248: Propagate HiveAccessControlException to HiveCatalog
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute 2. Ensure that you have created an issue on the Hive project JIRA: https://issues.apache.org/jira/projects/H...
diff --git a/iceberg/iceberg-catalog/src/main/java/org/apache/iceberg/hive/HiveClientPool.java b/iceberg/iceberg-catalog/src/main/java/org/apache/iceberg/hive/HiveClientPool.java index 08f16e6d122b..656ef3447dc8 100644 --- a/iceberg/iceberg-catalog/src/main/java/org/apache/iceberg/hive/HiveClientPool.java +++ b/iceberg...
3
1
0
[{"id": "G0", "claim": "The isAccessControlException check should match the HiveAccessControlException class name with contains or a regex instead of startsWith on the full message prefix.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The hive-...
null
apache__hive__6194
apache/hive
6,194
defect
e34e87faf32b0167f438e30344f0a04fe10f6575
4f769d90c1327f048ec80fa2190b276ee12a1672
HIVE-29275: Stats autogather calculates the min statistic incorrectly
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute 2. Ensure that you have created an issue on the Hive project JIRA: https://issues.apache.org/jira/projects/H...
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/ShowUtils.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/ShowUtils.java index 386bfd97748e..e96288369acb 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/ShowUtils.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/ShowUtils.java @@ -43,6 +43,7 @@ import...
6
4
0
[{"id": "G0", "claim": "The getDecimal helper method should be declared after the fields instead of before them.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The import org.apache.hadoop.hive.metastore.utils.MetaStoreServerUtils added to Decim...
null
apache__hive__6203
apache/hive
6,203
defect
e34e87faf32b0167f438e30344f0a04fe10f6575
f445614960491ec117c2083c02a50779ef59a4be
HIVE-29328: Orc acid footer metadata should be case insensitive
Orc file format allows metadata field names with ignoring casing. For example, we have manual tests when query based compaction creates Orc files with lowercase fields (the root cause for this is under unvestigation). As OrcInputFormat.isOriginal currently checks the field names with strict casing, FixAcidKeyIndex ...
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcInputFormat.java b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcInputFormat.java index 2ab04cbfe6b54..05642e276050b 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcInputFormat.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcInputFor...
2
1
0
[{"id": "G0", "claim": "Extract the typeStr schema string into a constant and pass it as a parameter to createTestAcidFile to give more control to the caller.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Move the lower-case ACID metadata scena...
null
apache__hive__6223
apache/hive
6,223
defect
7a7596f977395d9e739be247eaa65c996d38c203
d834cbd88e59fbc3e9a4ecba210004d653ee5a2c
HIVE-29352: Add function ST_DistanceSphere for points
The same formula is used as in Apache Sedona's implementation. Non-point geometries are not supported. Apache Sedona calculates the distance from the centroid of the shape in this case, but this is not compatible with PostGis and can be easily done manually. <!-- Thanks for sending a pull request! Here are some ti...
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java index 5784233cc2ff2..eda1360293fec 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegis...
2
2
2
[{"id": "G0", "claim": "The @Description annotation on ST_DistanceSphere registers the function under the wrong name ST_Distance instead of ST_DistanceSphere.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "TestStDistanceSphere mixes junit 4 and juni...
null
apache__hive__6237
apache/hive
6,237
defect
a45102243f61ad1b94ef5d51528ddbe2f3bc82db
eee1347af1bd7c85490a63d22d858bc49341f82b
HIVE-29367: prevent Long overflows in ConvertJoinMapJoin
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute 2. Ensure that you have created an issue on the Hive project JIRA: https://issues.apache.org/jira/projects/H...
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/ConvertJoinMapJoin.java b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/ConvertJoinMapJoin.java index a622a0a7c02d..31f19d311dd3 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/ConvertJoinMapJoin.java +++ b/ql/src/java/org/apache/hadoop/hive/ql...
4
2
0
[{"id": "G0", "claim": "Using StatsUtils.safeAdd to accumulate the small-table size may be inappropriate for a table size estimate.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The nonNullCount computation should be written as Math.max(0L, numRows - cs.g...
null
apache__hive__6238
apache/hive
6,238
defect
3d58586b45121f58cdcbf0ddbaa11ab08408d35b
97053730813ea784adf17eb65bf3411a93dc1019
HIVE-29260: Add smoke tests for Docker images
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute 2. Ensure that you have created an issue on the Hive project JIRA: https://issues.apache.org/jira/projects/H...
diff --git a/.github/workflows/docker-GA-images.yml b/.github/workflows/docker-GA-images.yml index 3c2629e13789..a1169f71d8f7 100644 --- a/.github/workflows/docker-GA-images.yml +++ b/.github/workflows/docker-GA-images.yml @@ -112,6 +112,63 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx...
6
2
0
[{"id": "G0", "claim": "The k8s setup should be moved to packaging next to docker and reused for local testing, rather than being added only for tests.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It is unclear whether the TERM=dumb env var in the beel...
null
apache__hive__6239
apache/hive
6,239
defect
0c0bc15d54bc4135ea6a5f89be4d103061c92500
b2674e5b39386a2bc4b287cd6e9892d801a6274a
HIVE-29375: FULL OUTER JOIN is failing with Unexpected hash table key type DATE
### What changes were proposed in this pull request? Check [HIVE-29375](https://issues.apache.org/jira/browse/HIVE-29375) for repro and stacktrace ### Why are the changes needed? To make `DATE` type support for full outer join, which is, getting converted to map join because of `hive.optimize.dynamic.partition.h...
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/mapjoin/VectorMapJoinOuterGenerateResultOperator.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/mapjoin/VectorMapJoinOuterGenerateResultOperator.java index fff2f28a097f..e83b178e4dc7 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/m...
8
7
1
[{"id": "G0", "claim": "The change misses adding DATE HashTableKeyType handling in several places, e.g. CheckFastRowHashMap.java and VectorMapJoinOptimizedLongHashMap.java.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add more unit test cases exer...
null
apache__hive__6270
apache/hive
6,270
defect
55dff6a525c0d3cbe13f25dbae460d25d7c164d6
d00bf81ce7a2f26f25a2d11e4cf105efa789e395
HIVE-29391: Enable Independent Scaling of HMS REST Catalog from HMS
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute 2. Ensure that you have created an issue on the Hive project JIRA: https://issues.apache.org/jira/projects/H...
diff --git a/itests/qtest-iceberg/src/test/java/org/apache/hadoop/hive/cli/TestStandaloneRESTCatalogServer.java b/itests/qtest-iceberg/src/test/java/org/apache/hadoop/hive/cli/TestStandaloneRESTCatalogServer.java new file mode 100644 index 000000000000..a5ec398d4b2b --- /dev/null +++ b/itests/qtest-iceberg/src/test/jav...
5
4
2
[{"id": "G0", "claim": "The PR should not rely on ZooKeeper with an active-passive/coordinator setup, since a REST API can be scaled behind a load balancer (Client → Load Balancer/API Gateway → HMS REST instance) instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1"...
null
apache__hive__6307
apache/hive
6,307
defect
a732ae0f071b0e9a3e9e030db8fc0acb441c6f68
79fee5bd9ac1a06e0074c1f7c2623117340e475c
HIVE-29448: Remove calls to NOOP JaninoRelMetadataProvider#register method
### Why are the changes needed? Improve code readability and maintenance ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Existing tests
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/HiveDefaultRelMetadataProvider.java b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/HiveDefaultRelMetadataProvider.java index 1803e97063375..71dbc21cacfb4 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/HiveDefaultRelMet...
1
1
0
[{"id": "G0", "claim": "Remove the unused import (org.apache.hadoop.hive.ql.optimizer.calcite.HiveTezModelRelMetadataProvider) left in CalcitePlanner.java after the pull request removed the register calls.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__hive__6309
apache/hive
6,309
defect
8c4d87e17956407d525aba3c2dae45644e758e1e
4cc0c075285409236b84cc536dd0ff6dc0c59820
HIVE-27328: Acid dirCache is not invalidated in TezAMs while dropping table
### What changes were proposed in this pull request? See jira for initial analysis. The patch introduces a table createTime check while using the acid dir cache. This create_time property is propagated to the TezAM in the vertex-level JobConf, making it able to invalidate stale entries that belong to the previous ins...
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/TableScanOperator.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/TableScanOperator.java index 5b1a7a7c2a1b9..5443fc592be76 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/TableScanOperator.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/TableScanO...
6
6
1
[{"id": "G0", "claim": "The Javadoc of setTableCreateTime documents a @param tableCreateTime that does not exist in the method signature.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The table name should be built with table.getFullyQualifiedNam...
null
apache__hive__6321
apache/hive
6,321
defect
399200af7cb11cf6ee3329ebdabe17792e5e7e85
6e32ed79363333e1a2e53a7082975c823e6d5ecb
HIVE-29462: Log start/init times for Docker resources
### What changes were proposed in this pull request? See jira. Log start/init times for docker container resources where it's possible. ### Why are the changes needed? Improve logs. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Precommit tests. TODO: check logs whe...
diff --git a/itests/util/src/main/java/org/apache/hadoop/hive/ql/externalDB/DockerizedDatabase.java b/itests/util/src/main/java/org/apache/hadoop/hive/ql/externalDB/DockerizedDatabase.java index 61ab387d866b4..7c444c6b53812 100644 --- a/itests/util/src/main/java/org/apache/hadoop/hive/ql/externalDB/DockerizedDatabase.j...
1
1
0
[{"id": "G0", "claim": "The extra logging added to the DatabaseRule test-rule hierarchy is redundant because testcontainers already logs container start times, so the standalone-metastore module should keep only the method-signature changes (dropping the added Logger and the doBefore() timing wrapper).", "category": "m...
null
apache__hive__6322
apache/hive
6,322
defect
399200af7cb11cf6ee3329ebdabe17792e5e7e85
ec8b03352e23a7eff5cac90e221c2ac103af3436
HIVE-28773: CBO fails when a materialized view is dropped but its pre-compiled plan remains in the registry.
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute 2. Ensure that you have created an issue on the Hive project JIRA: https://issues.apache.org/jira/projects/H...
diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestHiveMaterializedViewRegistry.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestHiveMaterializedViewRegistry.java new file mode 100644 index 0000000000000..a8343b6af4d54 --- /dev/null +++ b/itests/hive...
15
10
4
[{"id": "G0", "claim": "TestQueryRewrite should justify (or avoid) extending the compaction base test class CompactorOnTezTest since the test needs nothing specific from compaction.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "getMaterializedViewsByAST...
null
apache__hive__6330
apache/hive
6,330
defect
935c7d98e5cd8cb207cd13d917b2080f741663f2
0a3228e8cf401535228815f86dd62e122e09b537
HIVE-29436: Iceberg materialized view rebuild locking issue
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute 2. Ensure that you have created an issue on the Hive project JIRA: https://issues.apache.org/jira/projects/H...
diff --git a/iceberg/iceberg-handler/src/test/queries/positive/mv_iceberg_orc2.q b/iceberg/iceberg-handler/src/test/queries/positive/mv_iceberg_orc2.q index f0fd54ffbfe7d..906698c3bbba0 100644 --- a/iceberg/iceberg-handler/src/test/queries/positive/mv_iceberg_orc2.q +++ b/iceberg/iceberg-handler/src/test/queries/positi...
2
1
0
[{"id": "G0", "claim": "The test only checks rebuilds of different materialized views; it should also cover rebuilds of the same MV, both serialized within a session and in a concurrent-sessions scenario.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A...
null
apache__hive__6338
apache/hive
6,338
defect
7aef5c9d8d9345d5b8970c58fd06451957301273
01f2f0231844b3754505f20ee08242d2dc0cbece
HIVE-29470: Add unit test to verify commonLocalResources after openin…
…g a Tez session Ensures buildCommonLocalResources populates the map with the hive-exec app jar and localized resources so regressions are caught if resource registration is removed. ### What changes were proposed in this pull request? Added testCommonLocalResourcesPopulatedOnSessionOpen() to assert that commonL...
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionState.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionState.java index 41e01b17febfb..1b6965018a888 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionState.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/...
1
1
0
[{"id": "G0", "claim": "In the new test, the SessionState returned by start() should be captured and used instead of relying on SessionState.get(), which is clearer than relying on ThreadLocal state.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__hive__6350
apache/hive
6,350
defect
b5e21aa61f438546d4c14c2a4587f1bf2b938f5d
193ee2558ac00a6ae1c98a5e110d64c9e20e0686
HIVE-29484: HMS.getFields() fails with 'SchemaReader not supported' for Avro and Hbase tables
### What changes were proposed in this pull request? org.apache.hadoop.hive.serde2.avro.AvroSerDe and org.apache.hadoop.hive.hbase.HBaseSerDe are added to the default value of MetastoreConf.ConfVars.SERDES_USING_METASTORE_FOR_SCHEMA. ### Why are the changes needed? `HiveMetaStore.get_fields_with_environment_cont...
diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java index 16ccf508a43d..bb0b02be7711 100644 --- a/standalone-metastore/metastore-common/src...
3
1
0
[{"id": "G0", "claim": "The combined test covering both AvroSerDe and HBaseSerDe should be divided into two separate tests, one per SerDe, with the accompanying comment updated accordingly.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "Since HBase sche...
null
apache__hive__6352
apache/hive
6,352
defect
127c1b0558c3c5b7b24b7a039d3692650ecf1baa
3b152b0709cbb8454046485e76230fd21f3dd2e1
HIVE-29488: NPE in Kryo deserializer when query plan contains ExprNodeGenericFuncDesc with Guava collections
See [HIVE-29488](https://issues.apache.org/jira/browse/HIVE-29488). Thank you @nareshpr for providing an initial version of the q file test and a first version of the fix! ### What changes were proposed in this pull request? Put the children of ExprNodeGenericFuncDesc in their own list object. ### Why are the...
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/plan/ExprNodeGenericFuncDesc.java b/ql/src/java/org/apache/hadoop/hive/ql/plan/ExprNodeGenericFuncDesc.java index d7f8c0b126db9..ed4670b095120 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/plan/ExprNodeGenericFuncDesc.java +++ b/ql/src/java/org/apache/hadoop/hive/...
4
3
0
[{"id": "G0", "claim": "The defensive copy is unnecessary — the children could be assigned as `List.of()` (or the passed list directly, e.g. `children == null ? List.of() : children`) instead of being wrapped in a new `ArrayList`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"},...
null
apache__hive__6361
apache/hive
6,361
defect
5807fa212dcbe5e6c5ad7e994aed9237c5167bfa
179c2f049e0efe7474a467ba7523a2d7f9a42f91
HIVE-29495: [HPLSQL]Setting hive configs in hplsql causing console logs to be lost
HIVE-29495: [HPLSQL]Setting hive configs in hplsql causing console logs to be lost. <!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute 2. Ensure that you ha...
diff --git a/itests/hive-unit/src/test/java/org/apache/hive/beeline/TestHplSqlViaBeeLine.java b/itests/hive-unit/src/test/java/org/apache/hive/beeline/TestHplSqlViaBeeLine.java index f16b9d08e4ab8..2aa433990e845 100644 --- a/itests/hive-unit/src/test/java/org/apache/hive/beeline/TestHplSqlViaBeeLine.java +++ b/itests/h...
3
2
0
[{"id": "G0", "claim": "The parameter `generateNewQueryId` should be renamed to `embedded` to match the name used consistently elsewhere in the hierarchy.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The `embedded` variable should also be re...
null
apache__hive__6371
apache/hive
6,371
defect
e3e52f1fcf2d4db6730adb104550ed9df3232294
3f24df53c0e13dcfe1174e4075aedb2256236036
HIVE-27193: Database names starting with '@' cause error during ALTER…
…/DROP table What changes were proposed in this pull request? I have mofified "MetaStoreUtils.java", updated "hasCatalogName" to return true only if the database name both starts with the catalog marker (@) and contains the catalog-database separator (#). --> Why are the changes needed? The issue is caused by ...
diff --git a/ql/src/test/queries/clientpositive/hive_27193.q b/ql/src/test/queries/clientpositive/hive_27193.q new file mode 100644 index 000000000000..8e957e0eac1a --- /dev/null +++ b/ql/src/test/queries/clientpositive/hive_27193.q @@ -0,0 +1,6 @@ +CREATE DATABASE `@test`; +USE `@test`; +CREATE TABLE testtable (c1 INT...
9
8
5
[{"id": "G0", "claim": "The CI is failing and must be fixed before the pull request proceeds.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Please use meaningful names for the new qtest file and its result file so their purpose is understandable la...
null
apache__hive__6389
apache/hive
6,389
defect
931d4bb62b26de699240c816df439e00644e3dcb
6a8649b0a03d2da4d2e57ea234ad49ec03341d1a
HIVE-25948: Iceberg: Enable cost-based selection between Fanout and Clustered writers using column stats NDV
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute 2. Ensure that you have created an issue on the Hive project JIRA: https://issues.apache.org/jira/projects...
diff --git a/iceberg/iceberg-handler/src/test/queries/positive/dynamic_partition_writes.q b/iceberg/iceberg-handler/src/test/queries/positive/dynamic_partition_writes.q index 54e46a2a26092..1b9fb8c688da4 100644 --- a/iceberg/iceberg-handler/src/test/queries/positive/dynamic_partition_writes.q +++ b/iceberg/iceberg-hand...
3
2
2
[{"id": "G0", "claim": "The newly added block that sets dpCtx.setHasCustomPartitionOrSortExpression(true) should be located after all the bailouts are evaluated, since at its current position the context may be mutated even if a later bailout such as removeRSInsertedByEnforceBucketing returns.", "category": "correctnes...
null
apache__hive__6397
apache/hive
6,397
defect
291cfd1bfabe94e696798f616aad26d37256a7cf
7dc78323dc58ecf3d5ed5641edb84685bb536728
HIVE-29528: Cleanup managed DB dir after async drop
### What changes were proposed in this pull request? After the cleaner thread finishes deleting ACID table data and directories, the parent managed database directory is also evaluated for cleanup. If the database directory is empty, it is deleted as part of the cleanup process. ### Why are the changes needed? Whe...
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/CleanupRequest.java b/ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/CleanupRequest.java index badfaeaf2832e..86163acbc1926 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/CleanupRequest.java +++ b/ql/src/java/org/apache/hadoop/hive/...
5
5
0
[{"id": "G0", "claim": "The two added builder fields are named inconsistently (`isSoftDelete` vs `sourceOfReplication`) and the reviewer questions that naming, asking for it to follow one convention.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim":...
null
apache__hive__6402
apache/hive
6,402
defect
843168bfabe01a3c07275626445d83cea560df32
fe813a59c38dd2126c8cab65b6872e8ca6850b66
HIVE-29538: Skip COMPONENT_ACCESS in stateful-function check for CASE/NVL
### What changes were proposed in this pull request? Update **HiveFunctionHelper.checkForStatefulFunctions()** to not assert when it encounters Calcite’s internal operator **COMPONENT_ACCESS** (used for nested field access on collections). Instead, it treats it as non-stateful and continues traversing operands...
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/type/HiveFunctionHelper.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/type/HiveFunctionHelper.java index dbf9741d378a..fe41c8d0becd 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/type/HiveFunctionHelper.java +++ b/ql/src/java/org/apache/hadoop/hive...
9
9
1
[{"id": "G0", "claim": "Remove the explicit `set hive.cbo.enable=true;` from the test query because it is already the default value.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the `DROP TABLE IF EXISTS` statement because the test framework al...
null
apache__hive__6405
apache/hive
6,405
defect
931d4bb62b26de699240c816df439e00644e3dcb
7209d60c434894bf2ea02d67b3aae64c53f68333
HIVE-29497: [HPLSQL] quit is not exiting from execution flow in HPLSQL.
HIVE-29497: [HPLSQL] quit is not exiting from execution flow in HPLSQL. <!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute 2. Ensure that you have created an ...
diff --git a/hplsql/src/main/java/org/apache/hive/hplsql/Exec.java b/hplsql/src/main/java/org/apache/hive/hplsql/Exec.java index a8d5187b773db..5b29c85b0a225 100644 --- a/hplsql/src/main/java/org/apache/hive/hplsql/Exec.java +++ b/hplsql/src/main/java/org/apache/hive/hplsql/Exec.java @@ -1037,11 +1037,13 @@ public void...
3
2
1
[{"id": "G0", "claim": "An intentional .QUIT (LEAVE_PROGRAM) may not belong on the error stream, where production customers could treat error output as failure.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Consider adding a \\n at the end of the s...
null
apache__hive__6408
apache/hive
6,408
defect
51e4ab00f4699f1a038cc1278c2a6d653a0371ab
ca90f163e3774ccdb170bdd2f6151acc43743223
HIVE-29544: Fix Vectorized Parquet reading Struct columns with all fields null
Fix Vectorized Parquet reading Struct columns with all fields null ### What changes were proposed in this pull request? During Vectorized Parquet reads, the struct column shouldn't be read as `null` in case the fields are null, only if the struct field itself is null, the column should be read as `null` ### ...
diff --git a/iceberg/iceberg-handler/src/test/results/positive/iceberg_default_column.q.out b/iceberg/iceberg-handler/src/test/results/positive/iceberg_default_column.q.out index e2e90caed20d..8400d21d3572 100644 --- a/iceberg/iceberg-handler/src/test/results/positive/iceberg_default_column.q.out +++ b/iceberg/iceberg-...
9
7
1
[{"id": "G0", "claim": "Rename the `some_null_g` test variable to a clearer name (e.g. `structFieldWithNulls`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Fix the misspelled comment `-- Validate withou vectorization` to `without`.", "categor...
null
apache__hive__6436
apache/hive
6,436
defect
423fc83d20fcd2d1e203c7a481e65089a930c245
ce2699e5f208412c22036b1f63fe00d0d18f63ce
HIVE-29566: Tez client creation fails with docker LLAP mode on client reconnect - LlapTaskSchedulerMetrics init is not idempotent
### What changes were proposed in this pull request? Make LlapTaskSchedulerMetrics initialization idempotent. This hits in testing scenarios, where in the case of a tez LocalClient against llap, the llap scheduler metrics can be initialized multiple times (which is not the case in a real world cluster, where a TezAM i...
diff --git a/llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/metrics/LlapTaskSchedulerMetrics.java b/llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/metrics/LlapTaskSchedulerMetrics.java index c6b5cc1770115..8f83a7fc0a7cb 100644 --- a/llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/metrics/Ll...
2
2
1
[{"id": "G0", "claim": "The new static instance map field should be renamed from INSTANCES to something like METRICS_BY_NAME or METRICS.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The PR's switch of JvmMetrics initialisation from LlapMetrics...
null
apache__horaedb__1054
apache/horaedb
1,054
defect
3c113b5a2eb75b44b53e7533741d4436082fdcdc
3512ecc227ad0b2a125bcf71acd4dc93781be4fd
feat: warning when query's timestamp is exceeding table's ttl
## Rationale Close #939 ## Detailed Changes When query's time range exceed ttl, log warning message. ## Test Plan Manual test ``` 2023-07-11 15:35:18.587 WARN [proxy/src/read.rs:168] Query time range maybe exceed TTL, sql:select * from demo2 where timestamp < 1 ```
diff --git a/Cargo.lock b/Cargo.lock index 755017be79..2a8d95a9f4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4706,6 +4706,7 @@ checksum = "9653c3ed92974e34c5a6e0a510864dab979760481714c172e0a34e437cb98804" name = "proxy" version = "1.2.2" dependencies = [ + "analytic_engine", "arrow", "arrow_ext", "async-trai...
5
5
1
[{"id": "G0", "claim": "The analytic_engine dependency should be removed from the proxy crate and parse_duration moved to where ReadableDuration lives, so the proxy does not depend on the engine.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
apache__horaedb__1573
apache/horaedb
1,573
defect
559dfce20e40ed46577170efca02e5dd292e7cdf
f2698375a02e97bf5c8e347c14e96a6ac7962954
test: add integration test for compaction offload
## Rationale Close #1571 ## Detailed Changes - Impl `compact` as pre-command for sqlness, with http compaction service. - update integration tests to test compaction offload. ## Test Plan
diff --git a/integration_tests/cases/common/compact/compact.result b/integration_tests/cases/common/compact/compact.result new file mode 100644 index 0000000000..581aa6cb1a --- /dev/null +++ b/integration_tests/cases/common/compact/compact.result @@ -0,0 +1,65 @@ +-- +-- Licensed to the Apache Software Foundation (ASF)...
3
3
1
[{"id": "G0", "claim": "For simplicity the test should set up a single standalone horaedb that acts as both the remote compaction caller and the remote compaction server.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Because a minimum sstable threshold ...
null
apache__horaedb__20
apache/horaedb
20
defect
9fbf4323055f7597db63428edb125ff852bee1e7
1e1e0fa2b0cbf992bf74ec8120704d0a63386305
feat: support aliyun oss as object store backend
Signed-off-by: Ruihang Xia <waynestxia@gmail.com> # Which issue does this PR close? Closes #19 # Rationale for this change See #19 # What changes are included in this PR? - `ObjectStore` implementor `AliyunOSS` # Are there any user-facing changes? Config changed. Removed: - `analytical_eng...
diff --git a/Cargo.lock b/Cargo.lock index 059c5fa23a..870a00e008 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -75,7 +75,7 @@ dependencies = [ "arena", "arrow_deps", "async-trait", - "base64", + "base64 0.13.0", "common_types", "common_util", "env_logger", @@ -192,7 +192,7 @@ source = "registry+https://githu...
3
3
0
[{"id": "G0", "claim": "open_storage_local should take the StorageOptions::Local struct as its parameter instead of the whole Config.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "open_storage_aliyun should take the StorageOptions::Aliyun struct as its ...
null
apache__horaedb__306
apache/horaedb
306
defect
a8fb2c92edb979051fbfbd339d72f65f94628f2c
7b0bb7333bf59a79b21344032d001c219d6e6947
feat: message queue and its kafka impl
# Which issue does this PR close? Closes #298 # Rationale for this change See #298 <!--- Why are you proposing this change? If this is already explained clearly in the issue, then this section is not needed. Explaining clearly why changes are proposed helps reviewers understand your changes and offer bet...
diff --git a/Cargo.lock b/Cargo.lock index aa198b26a8..177c27f600 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1204,6 +1204,15 @@ dependencies = [ "libc", ] +[[package]] +name = "crc32c" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3dfea2db42e9927a3845fb268a10a7...
13
12
1
[{"id": "G0", "claim": "The `rand` dependency added to components/message_queue/Cargo.toml seems unused and should be dealt with.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The doc comments on WalConfig's three fields do not correspond to th...
null
apache__horaedb__375
apache/horaedb
375
defect
e16ceb92f8d562ccd428f540ebefd4611d166adb
3ead66b3a112c7ee5a3da4bb5b6f226109e913ba
feat: enhancement to mq's kafka implementation
# Which issue does this PR close? Close #366 # Rationale for this change Enhancement to mq's kafka implementation. <!--- Why are you proposing this change? If this is already explained clearly in the issue, then this section is not needed. Explaining clearly why changes are proposed helps reviewers unders...
diff --git a/components/message_queue/src/kafka/kafka_impl.rs b/components/message_queue/src/kafka/kafka_impl.rs index ab14855fea..26b0ecdfbf 100644 --- a/components/message_queue/src/kafka/kafka_impl.rs +++ b/components/message_queue/src/kafka/kafka_impl.rs @@ -2,7 +2,11 @@ //! Kafka implementation's detail -use ...
1
1
0
[{"id": "G0", "claim": "Put the `'static` bound at the end of the `MessageQueue` trait's bound list instead of before `Debug`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
apache__horaedb__420
apache/horaedb
420
defect
b6d1daddf7a0f831e8726089ed126ca9f27ed5a9
c30a85d00249c3491706055ce19db2e5741c381a
feat: add disk based object store cache
# Which issue does this PR close? Close #391 # Rationale for this change Final PR for #391 # What changes are included in this PR? - Add DiskCacheStore, ObjectStore wrapper which use disk as cache. Some features: - Cache key is used as filename, something like `2-2199023255565-1.sst-0-3297` - When...
diff --git a/Cargo.lock b/Cargo.lock index d42c5fc55b..09ce9bde0c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3545,13 +3545,18 @@ dependencies = [ "async-trait", "bytes 1.2.1", "chrono", + "common_util", "futures 0.3.21", + "log", "lru", "lru-weighted-cache", "object_store 0.5.1", "oss-rust-sdk", + "pr...
5
4
0
[{"id": "G0", "claim": "The proto file name `cache.proto` may be confusing and should be renamed to something more specific such as `oss_cache.proto`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "get_range should keep holding the size_cache lock until ...
null
apache__horaedb__473
apache/horaedb
473
defect
6688cc070c8935e398e9aacee8e061cbfab14fc4
e1e1268c2e571c87e33cf3627f17b90638eadad8
feat: migrate current harness tests to sqlness
# Which issue does this PR close? Closes #397 # Rationale for this change migrate the harness tests to the sqlness. * add a new dependency: `sqlness = { git = "https://github.com/CeresDB/sqlness.git", rev = "c077b17d73ab25460c152dc34e8f80f904522a57"}` * update tokio version '1.0' to '1.21' # What change...
diff --git a/Cargo.lock b/Cargo.lock index d42c5fc55b..ac623c09e2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -114,7 +114,7 @@ dependencies = [ "table_engine", "table_kv", "tempfile", - "tokio 1.20.1", + "tokio 1.22.0", "wal", ] @@ -373,7 +373,7 @@ dependencies = [ "pin-project-lite", "serde", "sync_wr...
5
4
1
[{"id": "G0", "claim": "The PR should be rebased onto main first, because #461 fixed a test-failure bug that the harness tests here need.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The old `harness` package should be replaced by the new `sqlness...
null
apache__horaedb__699
apache/horaedb
699
defect
f79890bf83a34b45b89dab4f82737d11bd7afd6a
d9cfc2c300ded65e78a8fff2a29b88b2a03d99fe
fix: avoid file purge when they are used in queries
# Which issue does this PR close? Closes #427 #534 # Rationale for this change <!--- Why are you proposing this change? If this is already explained clearly in the issue, then this section is not needed. Explaining clearly why changes are proposed helps reviewers understand your changes and offer better s...
diff --git a/analytic_engine/src/row_iter/chain.rs b/analytic_engine/src/row_iter/chain.rs index e746175003..56d7753ebf 100644 --- a/analytic_engine/src/row_iter/chain.rs +++ b/analytic_engine/src/row_iter/chain.rs @@ -163,6 +163,7 @@ impl<'a> Builder<'a> { request_id: self.config.request_id, ...
1
1
0
[{"id": "G0", "claim": "In MergeIterator the new field should not carry the `_` prefix; the dead-code suppression can instead be applied to the specific field with `#[allow(dead_code)]`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__horaedb__719
apache/horaedb
719
defect
49fadb14d96eed93e2d33dbda317704bc0d13add
19a8c265cd65576a5fa89b5361e5453e5b92d1cc
feat: support integration tests for influxql
## Which issue does this PR close? Closes #716 ## Rationale for this change Refer to #716 #698 <!--- Why are you proposing this change? If this is already explained clearly in the issue, then this section is not needed. Explaining clearly why changes are proposed helps reviewers understand your changes an...
diff --git a/Cargo.lock b/Cargo.lock index 8d92d65cc1..03bbede3c0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1075,6 +1075,8 @@ dependencies = [ "anyhow", "async-trait", "ceresdb-client", + "reqwest", + "serde", "sql", "sqlness", "sqlparser", @@ -1375,6 +1377,16 @@ version = "0.4.0" source = "registry+htt...
6
5
1
[{"id": "G0", "claim": "Add a newline at the end of integration_tests/cases/env/local/influxql/basic.sql, which currently has no trailing newline.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The enum variant `Sql` of `Protocol` is named confu...
null
apache__horaedb__740
apache/horaedb
740
defect
c59d9c3639cdfda96b2e7ac7af5c483e0b2eebee
e9d60e107a63a2051fd509b99615afb4074dfad2
feat: remove replace table level metrics with aggregate metrics
## Which issue does this PR close? Closes #718 ## Rationale for this change Refer to #718 <!--- Why are you proposing this change? If this is already explained clearly in the issue, then this section is not needed. Explaining clearly why changes are proposed helps reviewers understand your changes and off...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f0760e081..60b7c607bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -130,17 +130,6 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 60 steps: - - name: Download CeresMeta Code - uses: actions/che...
1
1
0
[{"id": "G0", "claim": "The script should clone ceresmeta with `--depth 1` instead of cloning the full repository history.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__horaedb__86
apache/horaedb
86
defect
f6c9a5b03e23b04e6a06c4f73756f1be9551c0f8
7b67c9b651e9645a926d87d0aea0a8fb67f20f2b
feat: integration test framework
Signed-off-by: Ruihang Xia <waynestxia@gmail.com> # Which issue does this PR close? Closes #83 # Rationale for this change <!--- Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed. Explaining clearly why changes are proposed helps review...
diff --git a/Cargo.lock b/Cargo.lock index 0398a6f817..45bdb90367 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -73,10 +73,10 @@ version = "0.1.0" dependencies = [ "arc-swap 1.5.0", "arena", - "arrow_deps", + "arrow_deps 0.1.0", "async-trait", "base64 0.13.0", - "common_types", + "common_types 0.1.0", "common_...
8
4
0
[{"id": "G0", "claim": "Converting an AffectedRows output into an error response in convert_output is strange and should not remain as-is.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The runner should surface the actual diff content for review (e.g. w...
null
apache__horaedb__93
apache/horaedb
93
defect
79986a22b641b4c3ca9bd68ba056d6020337ccd6
a0258f9c76a58cbde01f8a309b685dee472bd0dc
fix: affected rows for create/drop statements default 0
# Which issue does this PR close? Closes #87 # Rationale for this change bug fix # What changes are included in this PR? # Are there any user-facing changes? <!--- Please mention if: - there are user-facing changes that needs to update the documentation or configuration. - this is a breaking ...
diff --git a/analytic_engine/src/table/mod.rs b/analytic_engine/src/table/mod.rs index 0f5598f0c1..de19a7cf89 100644 --- a/analytic_engine/src/table/mod.rs +++ b/analytic_engine/src/table/mod.rs @@ -219,7 +219,7 @@ impl< .await .map_err(|e| Box::new(e) as _) .context(AlterSchema {...
2
1
0
[{"id": "G0", "claim": "Since affected_rows has no meaning at the Table layer, the alter methods of the Table trait should return Result<()> and let the upper layer report the expected affected rows.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "A false r...
null
apache__horaedb__947
apache/horaedb
947
defect
2b9de8d4f80dc13613b2545076d3fda8b0d8bf3c
f3902e7432cf407348a6c91a28177448850656da
refactor: replace *join_all with forloop in flush
## Related Issues Close #945 ## Detailed Changes Avoid using *join_all. ## Test Plan Existing tests.
diff --git a/analytic_engine/src/instance/flush_compaction.rs b/analytic_engine/src/instance/flush_compaction.rs index c4f2a21d2b..8cc9ddc436 100644 --- a/analytic_engine/src/instance/flush_compaction.rs +++ b/analytic_engine/src/instance/flush_compaction.rs @@ -21,7 +21,6 @@ use common_util::{ }; use futures::{ ...
2
2
0
[{"id": "G3", "claim": "In MergeIterator, the push should pass BufferedStream::build(schema, origin_stream) directly instead of wrapping it in an async move block that awaits it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G5", "claim": "In PartitionTable...
null
apache__horaedb__974
apache/horaedb
974
defect
053bca23767d35d01571ee41edc26c4b5bc199b3
1bc8c29ba4fe6894641fc10010e121a27d69c312
refactor: disk cache use partition lock
## Rationale Close #914 ## Detailed Changes Use `partition lock` in `disk cache` ## Test Plan add ut.
diff --git a/analytic_engine/src/setup.rs b/analytic_engine/src/setup.rs index 789a51b7ab..a8a1cf83b9 100644 --- a/analytic_engine/src/setup.rs +++ b/analytic_engine/src/setup.rs @@ -491,13 +491,14 @@ fn open_storage( tokio::fs::create_dir_all(&path).await.context(CreateDir { path: path.to...
9
7
3
[{"id": "G0", "claim": "Add an empty line before the new #[tokio::test] attribute in partitioned_lock.rs tests.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new two-partition test's total capacity of 64 trims requested ranges larger than 6...
null
apache__httpcomponents-client__618
apache/httpcomponents-client
618
defect
d84079d9fc1c252f4262d0246a0f012ac22f811e
7dd3ea20e1d4f05ca6ad69c67e43071fed7746fb
Enhance filename encoding in multipart/form-data (HTTPCLIENT-2360)
Implements RFC 6266/5987 filename encoding in multipart/form-data. Adds mode-aware support in FormBodyPartBuilder and HttpRFC7578Multipart, propagates mode via MultipartEntityBuilder, and updates tests. Resolves https://issues.apache.org/jira/browse/HTTPCLIENT-2360.
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/entity/mime/FormBodyPartBuilder.java b/httpclient5/src/main/java/org/apache/hc/client5/http/entity/mime/FormBodyPartBuilder.java index 72405cfc84..3b8564dec1 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/entity/mime/FormBodyPartBuilde...
4
3
0
[{"id": "G0", "claim": "The multipart mode should be passed as a parameter to the #create factory method rather than set via a setMode setter after construction.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "canEncodeToISO8859_1 should not be static but...
null
apache__httpcomponents-client__660
apache/httpcomponents-client
660
defect
239948e2e2890e5f3417835da1c2cef28d9bc77c
7efdfd860768118ca20e3c4a32108d4f900d518a
Replace the old InputStreamFactory registries with the new Decoder / Encoder pipeline
This change swaps out the legacy compression infrastructure for the new decoder / encoder model introduced in 5.6. The codebase now routes all (de)compression through `ContentCodecRegistry`, uses functional interfaces instead of `InputStreamFactory`, and updates tests and docs accordingly while preserving existing publ...
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/entity/BrotliDecompressingEntity.java b/httpclient5/src/main/java/org/apache/hc/client5/http/entity/BrotliDecompressingEntity.java index 9b8c7bb33c..6ee3b87deb 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/entity/BrotliDecompressingEn...
7
6
3
[{"id": "G0", "claim": "The @deprecated Javadoc comments added across the PR (e.g. BrotliDecompressingEntity, InputStreamFactory) are missing {@link} references to the replacement APIs and should use them, as the reviewer asks in many places.", "category": "documentation", "verdict": "supported", "priority": "P2", "sco...
null
apache__httpcomponents-client__663
apache/httpcomponents-client
663
defect
6e0a18f2c2a6f976773b911869340b97545c632c
4471203bcd5dd63d2afe6a8cb0a383a57ead82f9
HTTPCLIENT-2379 - Handle duplicate release() safely in H2SharingConnPool
Return early in H2SharingConnPool#release when the entry’s lease count is zero, so duplicate releases become no-ops and the underlying pool no longer throws `IllegalStateException`. tested with https://github.com/yhzdys/httpcomponents-client/commit/c8256b33c3adb45cfa2a49efb2dacfb611da9ac1
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/nio/H2SharingConnPool.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/nio/H2SharingConnPool.java index 2efc867fe1..d28e4350aa 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/nio/H2SharingConnPool.java +++ b/ht...
4
2
0
[{"id": "G0", "claim": "The change-set only fixes a side-effect and hides the underlying problem that there should be no un-tracked pool entries for tracked routes.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a check in PerRoutePool.release tha...
null
apache__httpcomponents-client__672
apache/httpcomponents-client
672
defect
4086951973ef9c83e8340e1eca88e3cb61dacea5
60b0108194354dd5c036d989abe5c63136933472
HTTPCLIENT-2141: revision of the original implementation
I did not do a very job with the initial implementation of HTTPCLIENT-2141. The fix was misplaced, did not apply to the async transport and the behavior was impossible to customize using a custom `HttpRequestRetryStrategy ` The proposed change-set revises the original fix and corrects its deficiencies. It also ad...
diff --git a/httpclient5-testing/src/main/java/org/apache/hc/client5/testing/classic/ServiceUnavailableDecorator.java b/httpclient5-testing/src/main/java/org/apache/hc/client5/testing/classic/ServiceUnavailableDecorator.java new file mode 100644 index 0000000000..3a00cbfd56 --- /dev/null +++ b/httpclient5-testing/src/m...
2
1
0
[{"id": "G0", "claim": "Fix the typo in the new response-timeout Javadoc note: 'plociy' should be 'policy'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new guard in retryRequest compares only defaultRetryInterval against responseTimeout, so...
null
apache__httpcomponents-client__700
apache/httpcomponents-client
700
defect
97e4041ad63bf2ccdc809d8ed0b30002b6d6a250
2cdfb9b8f451d414adae02382cf384ff1deb481f
Transparent async content (de)compression with gzip
Adds `InflatingGzipDataConsumer,` `DeflatingGzipEntityProducer` and example/tests so the async client automatically advertises gzip, inflates gzip/ responses on the fly and streams request bodies through gzip when wrapped. No buffering, CRC + ISIZE trailer written little-endian,
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/async/methods/DeflatingGzipEntityProducer.java b/httpclient5/src/main/java/org/apache/hc/client5/http/async/methods/DeflatingGzipEntityProducer.java new file mode 100644 index 0000000000..617c515412 --- /dev/null +++ b/httpclient5/src/main/java/org/apach...
1
1
1
[{"id": "G0", "claim": "DeflatingGzipEntityProducer.isRepeatable() should return the delegate's repeatability instead of always false, since GZIP coding can be repeatable when the underlying entity is repeatable.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__httpcomponents-client__704
apache/httpcomponents-client
704
defect
238edf3dc0cff4b54611d2ed04c5866765981cdc
7dbbd2dd9716f5e8cc56338e9850b939f97b6ea0
Content coding support
Relatively minor code optimization that improves consistency of automatic content decompression by the classic and async transports. @arturobernalg Please double-check.
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/ContentCodingSupport.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/ContentCodingSupport.java new file mode 100644 index 0000000000..441c0d3295 --- /dev/null +++ b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/ContentCo...
2
1
1
[{"id": "G0", "claim": "Per RFC 9110 §8.4 Content-Encoding lists codings in apply-order, so the new code should decode right-to-left (as the previous reverse loop did) instead of iterating the parsed codecs in header order; can you confirm that is still your expectation here.", "category": "correctness", "verdict": "su...
null
apache__httpcomponents-client__723
apache/httpcomponents-client
723
defect
89da74220a11341b42ec455324b36094cc29f225
6ffbe31ca85277f9450e9106f8efe2c1fc0ca471
HTTPCLIENT-2395: Avoid double-encoding of RFC 5987 filename* and pass through pre-encoded values
Make ConnPoolSupport.formatStats null-safe to prevent NPEs during lease/shutdown. Add multipart tests covering EXTENDED mode and pre-encoded filename*.
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/entity/mime/HttpRFC7578Multipart.java b/httpclient5/src/main/java/org/apache/hc/client5/http/entity/mime/HttpRFC7578Multipart.java index 3e5fd010d2..bada48f569 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/entity/mime/HttpRFC7578Multi...
1
1
0
[{"id": "G0", "claim": "Use StringBuilder together with PercentCodec#encode(StringBuilder, CharSequence) here instead of string concatenation, to reduce garbage.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__httpcomponents-client__726
apache/httpcomponents-client
726
defect
830b06203d5250a867a40a85134267cfa3baa90d
14b0b394409221573a0d6c3752883b4a5c7e669d
Pooling managers: offload connection disposal from the pool lock.
Close sockets off the pool lock via an async disposer. Improves lease latency under eviction/state mismatch with slow close.Includes classic/async tests and default-disposer baseline.
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/io/AsyncDisposalCallback.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/io/AsyncDisposalCallback.java new file mode 100644 index 0000000000..7d2ba6f50f --- /dev/null +++ b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/i...
2
2
2
[{"id": "G0", "claim": "Reduce the pull request's scope to PoolingHttpClientConnectionManager only; the async connection manager does not need this disposal functionality.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "claim": "The dedicated daemon-thread AsyncDispo...
null
apache__httpcomponents-client__728
apache/httpcomponents-client
728
defect
79992d832cc5d9fb4ce8307200dae844085b9d3d
d33aa28e696d66bfa197ce414bd0bf4a388f5c5f
HTTPCLIENT-2398 - Cap async execution queue to break recursive re-entry
Implements Option 1 from the discussion: add a configurable cap on the `async` execution pipeline to prevent the recursive callback loop that led to `StackOverflowError`.
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/HttpAsyncClientBuilder.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/HttpAsyncClientBuilder.java index e38576d8ed..a92c05d0a1 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/HttpAsyncClient...
11
8
4
[{"id": "G0", "claim": "The ReUseData constructor lines in InternalHttpAsyncExecRuntime are indented with tabs where the file uses spaces.", "category": "style", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Joining the @SuppressWarnings annotation and the connectTimeout decla...
null
apache__httpcomponents-client__741
apache/httpcomponents-client
741
defect
26d51f66cd4986ef718fd429c8db7ab0c7b232d0
8e3ffdfad56805df606ea56d4daa462fcdc4a002
add experimental RFC 9218 Priority header support.
Wire H2RequestPriority via H2AsyncClientBuilder.enablePriorityHeader(); omit on defaults, allow overwrite.
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/H2AsyncClientBuilder.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/H2AsyncClientBuilder.java index c171e695a4..09842b9641 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/H2AsyncClientBuilde...
8
8
3
[{"id": "G0", "claim": "Direct references to specific RFCs (e.g. RFC 9218) should be avoided in the new source and javadoc because a RFC can be superseded or obsoleted.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The per-request priority valu...
null
apache__httpcomponents-client__770
apache/httpcomponents-client
770
defect
15f9d4f83f2fc3fc74aaf1c7342694b6fb9bfcbb
4d1b8ec57034f7cba523178862511f14ee53a587
Limit the length of content codec list that can be processed automatically
I chose the default limit on 5 elements for no particular reason. I doubt even two compression codecs in the compression chain would be reasonable, so I chose 5 as 'crazy' enough for the majority of sane scenarios. @arturobernalg Please rewiew
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/classic/ContentCompressionExec.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/classic/ContentCompressionExec.java index ac3cd5a559..51a762254b 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/classic/ContentCo...
2
1
0
[{"id": "G0", "claim": "The exception message misspells \"maximum\" as \"maxumum\" and should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "maxCodecListLen should be validated and negative values rejected with an IllegalArgumentExce...
null
apache__httpcomponents-client__776
apache/httpcomponents-client
776
defect
e005c48465068e811c1533b4232df05a3239cd3a
fe239e5d45affc69037f229a4f21494b3faec108
Implement shared FIFO execution queue for Async/H2 client
Add a shared FIFO execution queue to cap concurrently executing async requests per client instance. Queue overflow requests and execute them when in-flight execution completes. Ensure queue slots are released on all terminal paths, including synchronous start failures.
diff --git a/httpclient5-testing/src/test/java/org/apache/hc/client5/http/impl/async/InternalTestHttpAsyncExecRuntime.java b/httpclient5-testing/src/test/java/org/apache/hc/client5/http/impl/async/InternalTestHttpAsyncExecRuntime.java index b31251d417..91e12d3e52 100644 --- a/httpclient5-testing/src/test/java/org/apach...
8
8
1
[{"id": "G0", "claim": "In InternalH2AsyncExecRuntime the queued-execute path can be simplified by using complexCancellable.setDependency(queued) instead of returning a bespoke lambda wrapper.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In InternalHtt...
null
apache__httpcomponents-client__777
apache/httpcomponents-client
777
defect
d07ff4d2fbc094582b342bcc7edb9d69f18fb30f
71963312875fa2ac03703922849a3fa59267120e
HTTPCLIENT-2397 - Enforce TLS-Required routes (opt-in)
Add setTlsOnly(boolean) to classic and async builders to reject cleartext routes. Install an internal exec interceptor that fails fast when the computed route is not secure. Includes small sync + async examples in Javadoc.
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/ChainElement.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/ChainElement.java index 5ebcf4b607..e988cf6d3d 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/ChainElement.java +++ b/httpclient5/src/main/java/org...
1
1
1
[{"id": "G0", "claim": "The TlsRequired interceptor should be placed at the very beginning of the async execution pipeline rather than just before CONNECT.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__httpcomponents-client__782
apache/httpcomponents-client
782
defect
68435f2b8e22a2465717cc39d0c40ecad8968d71
765b80aa7c97150cf216f4a63a439f193b05ac7b
Add CompletableFuture-based executeAsync overloads to fluent Async for simpler async composition.
This change improves the fluent Async API without altering existing behaviour or contracts. It adds executeAsync overloads returning CompletableFuture, including variants that also invoke the existing FutureCallback, making it easier to compose and aggregate asynchronous request execution using standard Java primitives...
diff --git a/httpclient5-fluent/src/main/java/org/apache/hc/client5/http/fluent/Async.java b/httpclient5-fluent/src/main/java/org/apache/hc/client5/http/fluent/Async.java index a6e13eb233..08df4c265b 100644 --- a/httpclient5-fluent/src/main/java/org/apache/hc/client5/http/fluent/Async.java +++ b/httpclient5-fluent/src/...
4
3
2
[{"id": "G0", "claim": "Use DefaultThreadFactory from httpclient5 core instead of hand-rolling a ThreadFactory lambda in createDefaultExecutor.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Async class needs a declared thread-safety policy,...
null
apache__httpcomponents-client__785
apache/httpcomponents-client
785
defect
f025640f7d2521741824ee5e2652ce455039c000
5b58b6a3d86fb2afd4bccafc4fd26a07634924c1
DefaultManagedHttpClientConnection: Restore original socket timeout
This change fixes a bug in the synchronous client where socket timeouts were not being set correctly on reused connections, and the client was instead setting it to either the TLS handshake timeout or the `responseTimeout` from the `RequestConfig` of the previous request. The fix works by changing `DefaultManagedHtt...
diff --git a/httpclient5-testing/src/test/java/org/apache/hc/client5/testing/async/TestAsyncSocketTimeout.java b/httpclient5-testing/src/test/java/org/apache/hc/client5/testing/async/TestAsyncSocketTimeout.java index ee17bb9cf1..aae0ecb1b6 100644 --- a/httpclient5-testing/src/test/java/org/apache/hc/client5/testing/asy...
4
3
1
[{"id": "G0", "claim": "Applying SocketConfig.soTimeout to already-initialized persistent connections when leased from the pool (the new resolveSocketConfig fallback) is unjustified and would make the classic connection manager behave inconsistently with the async one.", "category": "design", "verdict": "supported", "p...
null
apache__httpcomponents-client__789
apache/httpcomponents-client
789
defect
775d80ee0861d02fb747c6c19a5f4aaa7e935c4a
cc3a763d3379345d9f591d60781c2bd560e0ae20
Bug fix: corrected sleep time calculation in IdleConnectionEvictor
* Corrected sleep time calculation in `IdleConnectionEvictor` * Use 1 minute sleep time by default if `maxIdleTime` has not been specified
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/IdleConnectionEvictor.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/IdleConnectionEvictor.java index 18ad48759c..6a46106054 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/IdleConnectionEvictor.java +++ b/ht...
3
1
0
[{"id": "G0", "claim": "Questions whether IdleConnectionEvictor is still necessary and relevant now that ConnectionConfig has an idle timeout setting.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "IdleConnectionEvictor never evicts connections until t...
null
apache__httpcomponents-client__802
apache/httpcomponents-client
802
defect
31598133f22067cc77de551761259956abd8f5af
baa96f07b04ce196b73c97d2a92da8fec0fdf71d
HTTPCLIENT-2414 - Fix Basic auth cache scoping across path prefixes
Preserve AuthExchange pathPrefix on reset to avoid preemptive Authorization reuse outside the protection space.
diff --git a/httpclient5-testing/src/test/java/org/apache/hc/client5/testing/sync/TestClientAuthentication.java b/httpclient5-testing/src/test/java/org/apache/hc/client5/testing/sync/TestClientAuthentication.java index 84eabde95e..ce88684e9c 100644 --- a/httpclient5-testing/src/test/java/org/apache/hc/client5/testing/s...
1
1
1
[{"id": "G0", "claim": "AuthExchange#reset() no longer fully resets the exchange state (it keeps pathPrefix), which is wrong; the path-prefix handling should be moved from the #reset method to the protocol layer.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__httpcomponents-client__803
apache/httpcomponents-client
803
defect
31598133f22067cc77de551761259956abd8f5af
23562711e27e69ea2e4b34fb64f12e3ff59db017
HTTPCLIENT-2415: Normalize CookieOrigin path for cookie matching
Strip query / fragment from CookieOrigin path per RFC 6265. Add regression tests for request-targets containing '?', '#'.
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/cookie/CookieOrigin.java b/httpclient5/src/main/java/org/apache/hc/client5/http/cookie/CookieOrigin.java index becaa9d971..59a30f0078 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/cookie/CookieOrigin.java +++ b/httpclient5/src/main/ja...
1
1
1
[{"id": "G0", "claim": "Path parsing/normalization should not live in CookieOrigin; the logic belongs in the protocol interceptor that instantiates CookieOrigin, leaving CookieOrigin a bean with no/little protocol logic.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__httpcomponents-client__807
apache/httpcomponents-client
807
defect
70b9e94076aabe8deff8ae9fa7d6d22bcd4e8089
0fde22d13f8bd0a913990ea26fadddd9fbf781bc
Validate Connection: Upgrade on protocol switch responses
ProtocolSwitchStrategy now rejects 101 Switching Protocols responses that advertise Upgrade without the required Connection: Upgrade token. [RFC 2817 notes:](https://datatracker.ietf.org/doc/html/rfc2817#section-3.1) "the upgrade keyword MUST be supplied within a Connection header field (section 14.10) whenever U...
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/ProtocolSwitchStrategy.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/ProtocolSwitchStrategy.java index 90320760ac..d21cfad0fc 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/ProtocolSwitchStrategy.java +++ b...
1
1
0
[{"id": "G0", "claim": "Use MessageSupport#parseHeaders or MessageSupport#parseTokens instead of the hand-rolled Connection-header parsing helpers.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__httpcomponents-client__814
apache/httpcomponents-client
814
defect
323251c69c4e56689c0e962995271403f5693bd2
75f5829f03d067d24625875d4b618342003f2c5d
Improved the request execution and cancellation logic in InternalHttpAsyncExecRuntime
@arturobernalg @rschmitt Please take a look at this change-set and let me know if you see anything wrong or anything disagreeable. The change-set improves in two areas: * it makes it possible for the full-featured async HttpClient to abort individual messages exchanges over HTTP/2 connections without shutting down ...
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/InternalHttpAsyncExecRuntime.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/InternalHttpAsyncExecRuntime.java index 9a7820cb50..a36969831c 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/Int...
4
3
1
[{"id": "G0", "claim": "The boolean tracking HTTP/2 stream support should be named `supportsMultiplexing` or `isH2` instead of `supportsStreams`, which conflates the concept with InputStreams.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Prepa...
null
apache__httpcomponents-client__823
apache/httpcomponents-client
823
defect
726eac2323d370435d8afca1e0540aa099927f18
d8798b674cbf5c997bbce7a2f6a34c3930472fda
HTTPCLIENT-2418 - Fix SimpleBody default charset handling for JSON content
SimpleBody currently falls back to ASCII when Content-Type is application/json without an explicit charset, which breaks UTF-8 payloads.
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/async/methods/SimpleBody.java b/httpclient5/src/main/java/org/apache/hc/client5/http/async/methods/SimpleBody.java index d78abc89cd..baae17332d 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/async/methods/SimpleBody.java +++ b/httpclie...
1
1
0
[{"id": "G0", "claim": "The hand-rolled getCharset fallback logic in SimpleBody is ugly and should be dropped in favor of always using UTF-8.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__httpcomponents-client__828
apache/httpcomponents-client
828
defect
2ee445728efa81ea3cd6003faa6a9a4cca488015
b4e103c69f627bb8f8f4420d2226d3a7a4af69ac
Add Jakarta REST Request and Response return support
Support jakarta.ws.rs.core.Response as a resource method return type, including access to response metadata and entity decoding. Responses declared as Response are returned to the caller even for non-successful status codes.
diff --git a/httpclient5-jakarta-rest-client/src/main/java/org/apache/hc/client5/http/rest/RestClientBuilder.java b/httpclient5-jakarta-rest-client/src/main/java/org/apache/hc/client5/http/rest/RestClientBuilder.java index 95d8978926..2a9d3a8583 100644 --- a/httpclient5-jakarta-rest-client/src/main/java/org/apache/hc/c...
3
3
2
[{"id": "G0", "claim": "ClientRequest does not look very useful and should be dropped for now.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The intermediate representation of the ClientResponse JSON content should be a JsonNode rather than a byte[] (M0...
null
apache__hudi-rs__302
apache/hudi-rs
302
defect
f73609cd15ed105e2b904ae8f20b6f3c2182cfd7
f1cee5400afdee6df052885bb831a341a8106625
feat: support more timestamp formats for time-travel and incremental APIs
## Description Added support for epoch timestamps and RFC3339 formats as described in issues. closes #261 ## How are the changes test-covered - [ ] N/A - [x] Automated tests (unit and/or integration tests) - [ ] Manual tests - [ ] Details are described below
diff --git a/crates/core/src/table/mod.rs b/crates/core/src/table/mod.rs index 2087eade8..28ee00fcc 100644 --- a/crates/core/src/table/mod.rs +++ b/crates/core/src/table/mod.rs @@ -105,6 +105,7 @@ use crate::Result; use crate::config::read::HudiReadConfig; use arrow::record_batch::RecordBatch; use arrow_schema::{Fie...
3
3
2
[{"id": "G0", "claim": "format_timestamp should return a Result so that, when a user-provided timestamp string cannot be converted to the Hudi timeline format, the flow early-returns with an error instead of silently passing the original string through.", "category": "correctness", "verdict": "supported", "priority": "...
null
apache__hudi__13417
apache/hudi
13,417
defect
4ffad38863f03e753e9f9a6fc5bcfbc79a125ae5
7b1e1333c32293d34d7e1f77e9649ffe8fcf76b8
feat: add record write failure log and metrics
### Describe the issue this Pull Request addresses Improve record write failure log and metrics in AppendWrite Function. Closes #17053 ### Summary and Changelog Add new metric for failed writes ### Impact New metric available ### Risk Level none ### Documentation Update The new metrics w...
diff --git a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/WriteStatus.java b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/WriteStatus.java index 0a34f61347062..9d9ec618ec868 100644 --- a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/WriteStatus.java ++...
2
2
1
[{"id": "G0", "claim": "The new field `numOfRecordWriteFailures` should also be registered as a metric in `registerMetrics`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The method `addNumOfRecordWriteFailure` should be renamed to follow the namin...
null
apache__hudi__14208
apache/hudi
14,208
defect
afdc4a7421c89699d3739e8db30e429039b73e07
accb41f47ea28c19fb84d286279eeb050a876a9b
perf: reduce unnecessary row group metadata loading
### Describe the issue this Pull Request addresses closes #14207 <!-- Either describe the issue inline here with motivation behind the changes (or) link to an issue by including `Closes #<issue-number>` for context. If this PR includes changes to the storage format, public APIs, or has brea...
diff --git a/hudi-hadoop-common/src/main/java/org/apache/hudi/common/util/ParquetUtils.java b/hudi-hadoop-common/src/main/java/org/apache/hudi/common/util/ParquetUtils.java index 78c7bdbaa22fa..1f774c16d596e 100644 --- a/hudi-hadoop-common/src/main/java/org/apache/hudi/common/util/ParquetUtils.java +++ b/hudi-hadoop-co...
2
1
0
[{"id": "G0", "claim": "The reviewer asks whether the change reduces both the metadata scanned and the number of file system calls, and requests benchmark numbers to substantiate the performance benefit.", "category": "performance", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":...
null
apache__hudi__17552
apache/hudi
17,552
defect
d0d6079df293341ea7e04017bdda6b8e05cea600
3035e80117ffa8c84d63a41a4ab1173b95f15b6c
fix: Lazily load the dfs properties configuration to avoid static initialization failures
### Describe the issue this Pull Request addresses Closes #17551 ### Summary and Changelog Changes DFSPropertiesConfiguration to lazily load properties to avoid failures during static initialization ### Impact Prevents failures reading from s3 during static initialization from poisoning the JVM ### R...
diff --git a/hudi-hadoop-common/src/main/java/org/apache/hudi/common/config/DFSPropertiesConfiguration.java b/hudi-hadoop-common/src/main/java/org/apache/hudi/common/config/DFSPropertiesConfiguration.java index ffe66584bb190..5e3cff573de69 100644 --- a/hudi-hadoop-common/src/main/java/org/apache/hudi/common/config/DFSP...
1
1
1
[{"id": "G0", "claim": "getGlobalProps should throw when loading the global props fails, so the caller fails and Spark can retry, instead of swallowing the exception and returning an empty configuration.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__hudi__17784
apache/hudi
17,784
defect
3227c0c904732486e97d9c7a86bf26af5889e963
6dcf359ccded6b81ab7018544ae114ddf97b1a93
fix: Fix the timeline compaction blocked caused by the archived file being too large
### Describe the issue this Pull Request addresses closes #17783 ### Summary and Changelog 1. Fix the timeline compaction blocked caused by the archived file being too large ### Impact bugfix ### Risk Level low ### Documentation Update none ### Contributor's checklist - [x] Read th...
diff --git a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/timeline/versioning/v2/LSMTimelineWriter.java b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/timeline/versioning/v2/LSMTimelineWriter.java index 7641ab5ad02bd..e6c32ecfd2862 100644 --- a/hudi-client/hudi-client-commo...
2
2
1
[{"id": "G0", "claim": "The L0-file-size cap check against writeConfig.getTimelineArchivedFileMaxSize() is pointless: file sizes in one layer are almost identical, so no single file exceeds the threshold — and if one did, the other files in the layer would already be too large, so the PR's fix does not actually address...
null
apache__hudi__17803
apache/hudi
17,803
defect
283bae48151cec5fc14c2cf105a1354872bcab95
6ea25275c231ec77c05f48da57d008769b25dd57
feat: Support bucket assigning based on record level index
### Describe the issue this Pull Request addresses Adapter the bucket assign function for flink writer with the MDT backed index, fixes #17699 ### Summary and Changelog Support bucket assigning based on record level index for flink writer. ### Impact Support bucket assigning based on record level index f...
diff --git a/hudi-client/hudi-flink-client/src/main/java/org/apache/hudi/index/FlinkHoodieIndexFactory.java b/hudi-client/hudi-flink-client/src/main/java/org/apache/hudi/index/FlinkHoodieIndexFactory.java index 2024c60167597..feca357bc493e 100644 --- a/hudi-client/hudi-flink-client/src/main/java/org/apache/hudi/index/F...
5
3
1
[{"id": "G0", "claim": "The minibatch size should be hardcoded for the first release instead of being exposed as the configurable BUCKET_ASSIGN_MINIBATCH_SIZE option, and made configurable only when necessary.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"...
null
apache__hudi__17830
apache/hudi
17,830
defect
ac4bb3a3d5d753597ba1b90137a40fa53bbb4c07
2864ffaa1a90e8c5ea23fe24dcc9607990307ad5
refactor: Add Lombok annotations to hudi-common module (part 4)
### Describe the issue this Pull Request addresses This PR refactors the `hudi-common` module to reduce boilerplate code by leveraging Project Lombok annotations. Specifically, it replaces explicit `Logger` instantiation, manual getter/setter methods, and empty constructors with their equivalent Lombok annotations (...
diff --git a/hudi-cli/src/main/java/org/apache/hudi/cli/commands/FileSystemViewCommand.java b/hudi-cli/src/main/java/org/apache/hudi/cli/commands/FileSystemViewCommand.java index 8fb119a2a0567..130c90df7e18c 100644 --- a/hudi-cli/src/main/java/org/apache/hudi/cli/commands/FileSystemViewCommand.java +++ b/hudi-cli/src/m...
2
1
0
[{"id": "G0", "claim": "Keep the BaseFile getter as getPath instead of getFullPath to minimize the diff.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Asks whether the removal of CompactionOperation's hand-written equals/hashCode (replaced by L...
null