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__hudi__17867 | apache/hudi | 17,867 | defect | ac4bb3a3d5d753597ba1b90137a40fa53bbb4c07 | bfaa929c87f858fa9d430840349206bdc56e4e00 | perf: Support mini-batch access to the MDT index for bucket assign fu… | …nction
### Describe the issue this Pull Request addresses
BucketAssignFunction process input record one by one, if we're using RLI index, there will be noticeable performance degradation. We should support buffering the input records, and query the MDT with a batch of record keys, fixes #17842
### Summary and... | diff --git a/hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/configuration/FlinkOptions.java b/hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/configuration/FlinkOptions.java
index 5d6d7052a655a..8ad9a14cf7561 100644
--- a/hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/conf... | 3 | 2 | 0 | [{"id": "G0", "claim": "The new config option key `write.bucket_assign.minibatch.size` should be renamed so it does not contain `bucket_assign`, e.g. `write.rli.lookup.minibatch.size`, since it controls record index lookup mini-batching.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introd... | null |
apache__hudi__17928 | apache/hudi | 17,928 | defect | f173f11f0cc338e7d487e21471a130cc87212955 | 1c86d714790b99729d931bc41571edeb58ab5dd6 | feat: Add ReverseOrderHoodieRecordPayload and configurable ordering behavior | ### Describe the issue this Pull Request addresses
This PR addresses the need for reverse-order payload merging in Hudi, where the oldest record (based on ordering field) should be preserved instead of the latest. It also adds configurability to control behavior when ordering values are equal, and optimizes the defaul... | diff --git a/hudi-common/src/main/java/org/apache/hudi/common/model/DefaultHoodieRecordPayload.java b/hudi-common/src/main/java/org/apache/hudi/common/model/DefaultHoodieRecordPayload.java
index 5c9d04028a6b9..f78b6dc183889 100644
--- a/hudi-common/src/main/java/org/apache/hudi/common/model/DefaultHoodieRecordPayload.j... | 14 | 3 | 1 | [{"id": "G0", "claim": "Split the pull request into two patches, one for ReverseOrderHoodieRecordPayload and another for the DefaultHoodieRecordPayload modifications.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In preCombine, when the old and the new ... | null |
apache__hudi__18029 | apache/hudi | 18,029 | defect | 1ed2821d291810c249e131e5de05f27d6454c7a0 | 73f816a5ea57cc3afde70f6371d109cdb856324e | feat(metadata-table): Add count validation for record index bootstrap | ### Describe the issue this Pull Request addresses
Closes #18028
When bootstrapping the record index, there is currently no validation to ensure that the expected number of records matches the actual number of records written to the metadata table. This can lead to silent data integrity issues.
### Summary and Chang... | diff --git a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/metadata/HoodieBackedTableMetadataWriter.java b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/metadata/HoodieBackedTableMetadataWriter.java
index ec665d883e53f..1f654848cb8d9 100644
--- a/hudi-client/hudi-client-common/src/main/jav... | 5 | 5 | 5 | [{"id": "G0", "claim": "validateRecordIndex should fetch file slices through a method that calls getLatestMergedFileSlicesBeforeOrOn() in the file system view under the hood, so pending compactions are handled.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "... | null |
apache__hudi__18083 | apache/hudi | 18,083 | defect | 5b741b6b7da2ff63e6d62abceba49b0108215186 | 3cdd7c6dfbb34164cd915eb89f746db7a496381a | feat(flink): Implement continuous sorting feature for append write | ### Describe the issue this Pull Request addresses
This PR implements a continuous sorting feature for the Flink append write sink. The continuous sorting mode maintains sorted order incrementally using a TreeMap, which avoids large pause times from batch sorting and reduces single-partition lag during ingestion by mi... | diff --git a/hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/configuration/FlinkOptions.java b/hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/configuration/FlinkOptions.java
index 2e7c017225eea..9c96316de6438 100644
--- a/hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/conf... | 19 | 14 | 9 | [{"id": "G0", "claim": "The function should resolve missing write.buffer.sort.keys by falling back to the record key via AppendWriteFunctions.resolveSortKeys, like the existing append-sort code.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "With Flink o... | null |
apache__hudi__18204 | apache/hudi | 18,204 | defect | 2462ae5ce7ccab62cdbe8364622a14676f8a56b0 | 9e8ac5cb767d6ddfbe0cf8c8ef7f917eb6937ba6 | feat(utilities): add external HudiHiveSyncJob for on-demand Hive sync | ### Describe the issue this Pull Request addresses
Today, running Hive sync is typically coupled to ingestion/streaming execution paths. In operational scenarios, teams often need a lightweight way to trigger Hive sync externally and independently (for example, after backfills, manual data corrections, or quick metada... | diff --git a/hudi-utilities/src/main/java/org/apache/hudi/utilities/HudiHiveSyncJob.java b/hudi-utilities/src/main/java/org/apache/hudi/utilities/HudiHiveSyncJob.java
new file mode 100644
index 0000000000000..d3547f3aad886
--- /dev/null
+++ b/hudi-utilities/src/main/java/org/apache/hudi/utilities/HudiHiveSyncJob.java
@... | 13 | 6 | 4 | [{"id": "G0", "claim": "The unused `datacenter` and `environment` configuration variables should be removed from the Config class.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new HudiHiveSyncJob class should get Javadoc including example ... | null |
apache__hudi__18265 | apache/hudi | 18,265 | defect | e063493337e50968e32cfffb78fa7bae728003d7 | 9c580f64ece9055ce43d4c64c571b6d2cab502ac | perf(metadata): avoid recursive calls for partition listing using catalog | ### Describe the issue this Pull Request addresses
When metadata table is disabled or corrupted, partition listing operations can result in expensive recursive filesystem queries. This PR introduces a catalog-backed approach to fetch partition information directly from the Spark external catalog, avoiding recursive ... | diff --git a/hudi-common/src/main/java/org/apache/hudi/BaseHoodieTableFileIndex.java b/hudi-common/src/main/java/org/apache/hudi/BaseHoodieTableFileIndex.java
index b1e2ff8624da6..607043646a370 100644
--- a/hudi-common/src/main/java/org/apache/hudi/BaseHoodieTableFileIndex.java
+++ b/hudi-common/src/main/java/org/apach... | 16 | 7 | 2 | [{"id": "G0", "claim": "The new PartitionPathFilterUtil class has no unit tests; the reviewer asked whether unit tests exist for it.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new partitionPredicateExpressions argument is accepted by listPartiti... | null |
apache__hudi__18279 | apache/hudi | 18,279 | defect | 365398affac8d8223eebe4ce411fc5e185b7b304 | 483378e803e2a06e9ead5986a619b68f57817362 | perf(core): optimize rollback listing calls on metadata table | When performing rollback on the MDT, listStatus was called for each log file. This change pre-computes the latest log file versions with one listing call per partition, significantly reducing filesystem operations during rollback.
closes #18278
### Describe the issue this Pull Request addresses
When performing r... | diff --git a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/rollback/RollbackHelper.java b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/rollback/RollbackHelper.java
index 6504db7bff9dd..c943f82c46e16 100644
--- a/hudi-client/hudi-client-common/src/main/java/org/ap... | 7 | 6 | 1 | [{"id": "G0", "claim": "When no pre-computed version exists for a rollback request's log file, the write token should be set to UNKNOWN_WRITE_TOKEN up front (and the version/token supplied), otherwise the writer's build() can fall back to a per-request listing call.", "category": "performance", "verdict": "supported", ... | null |
apache__hudi__18322 | apache/hudi | 18,322 | defect | f64c93ee899c88c28d2d882b33389c820511bdc8 | fca8c75d4b060849b4888083ae9d6d2adb8f0ffd | feat: Support to cap max commits to clean in one round of clean commit | ### Describe the issue this Pull Request addresses
When the cleaner is disabled for an extended period and the timeline grows large (e.g., 1000+ commits), resuming the cleaner can attempt to clean hundreds or thousands of commits worth of file slices in a single operation. This can cause memory pressure during clean... | diff --git a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/utils/ArchivalUtils.java b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/utils/ArchivalUtils.java
index 4dd7d77cfdaee..d5251f3762fcc 100644
--- a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/uti... | 13 | 6 | 4 | [{"id": "G0", "claim": "Since the default of hoodie.clean.max.commits.to.clean is Long.MAX_VALUE, check the value before reading and deserializing the clean commit metadata, and cache the last HoodieCleanMetadata in the clean planner so the following getPartitionPathsToClean call can reuse it instead of re-reading the ... | null |
apache__hudi__18337 | apache/hudi | 18,337 | defect | a16d43171da9c312cedfbe9b126b81394ca74bd3 | 0c403013fd59463edc94454dd25dc9e6556c9d59 | feat(clean): Adding empty clean support to hudi | ### Describe the issue this Pull Request addresses
This PR adds support for creating empty clean commits to optimize clean planning performance for append-only datasets.
Problem: In datasets with incremental cleaning enabled that receive infrequent updates or are primarily append-only, the clean planner perform... | diff --git a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieCleanConfig.java b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieCleanConfig.java
index 3242a886a3f07..0ef67c360adb2 100644
--- a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieC... | 15 | 12 | 4 | [{"id": "G0", "claim": "Re-throw the ParseException instead of only logging it, since the user is expecting that an empty clean will be attempted to be created.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Ensure the new empty clean's earliestComm... | null |
apache__hudi__18379 | apache/hudi | 18,379 | defect | 2f073643dfe764d34fee5a139d95633df01d9292 | c404dbbfcf829dc65f693afc1b3625c8be9c2db1 | feat: Adding support to inject custom configs to parquet writer | ### Describe the issue this Pull Request addresses
This PR adds support for custom Parquet configuration injection across all file writer factories in Apache Hudi. This feature allows users to inject custom Parquet configurations (e.g., native Parquet bloom filters, custom compression settings, dictionary encoding o... | diff --git a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieWriteConfig.java b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieWriteConfig.java
index 9d32ec8b7d22d..e38e956f5dada 100644
--- a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieW... | 18 | 15 | 2 | [{"id": "G0", "claim": "The loop bound in writeFields was changed from row.numFields() to schema.fields().length, seemingly unrelated to the config injector feature, and the reviewer asks whether it is an intentional fix and, if so, that it be justified or split out (noting a row with fewer fields than the schema would... | null |
apache__hudi__18380 | apache/hudi | 18,380 | defect | 2f073643dfe764d34fee5a139d95633df01d9292 | cbd2f324352e965e01dbf1457a03672cc751fa34 | feat: Adding support to block archival on last known ECTR for v6 tables | ### Describe the issue this Pull Request addresses
This PR adds support to block archival based on the Earliest Commit To Retain (ECTR) from the last completed clean operation, preventing potential data leaks when cleaning configurations change between clean and archival runs.
Problem: Currently, archival recomp... | diff --git a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/timeline/versioning/v1/TimelineArchiverV1.java b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/timeline/versioning/v1/TimelineArchiverV1.java
index e693a1c2e7fcf..fbe409759cb4c 100644
--- a/hudi-client/hudi-client-com... | 23 | 15 | 3 | [{"id": "G0", "claim": "The catch block silently swallows the IOException and lets archival proceed without the ECTR safety guard; the reviewer asks that archival fail closed (throw) rather than fail open on a clean-metadata read failure.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "... | null |
apache__hudi__18399 | apache/hudi | 18,399 | defect | 69fa35b1015fcc39e762c29b03bef8fa2ec59d58 | 3f92c974e7e432103bbf1249a02d2b4c1c14d7f9 | fix(flink): Reject deferred RLI initialization for flink writer | ### Describe the issue this Pull Request addresses
This PR tightens HoodieTableFactory validation so unsupported RLI initialization behavior is rejected early with a clear error, and aligns related validation messages to use concrete option keys, fixes #18386.
### Summary and Changelog
- Updated `HoodieTableFact... | diff --git a/hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/table/HoodieTableFactory.java b/hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/table/HoodieTableFactory.java
index 37a57cdd6e784..fa703b2eef1ad 100644
--- a/hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/table/Ho... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test comment 'Valid deferred RLI initialization is not supported.' reads oddly (likely a typo); it should be reworded, e.g. 'Deferred RLI initialization is not supported for GLOBAL_RECORD_LEVEL_INDEX.'", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "intro... | null |
apache__hudi__18408 | apache/hudi | 18,408 | defect | 1eb97b31826eabee4fb9c4bf78dc44d2bdb2dad0 | 51623cdec56ba782d8aa2904ac753c7922a6a377 | fix: avoid duplicate archived timeline instants from leftover merge files | ### Describe the issue this Pull Request addresses
Archived timeline reads could surface duplicate instants when both the original archive file and a leftover merged archive file were present after a failed archive merge operation.
### Summary and Changelog
Adds a regression test covering leftover merged archi... | diff --git a/hudi-common/src/main/java/org/apache/hudi/common/table/timeline/versioning/v1/ArchivedTimelineV1.java b/hudi-common/src/main/java/org/apache/hudi/common/table/timeline/versioning/v1/ArchivedTimelineV1.java
index 42d171f8f23b7..60a1aeafcbe0b 100644
--- a/hudi-common/src/main/java/org/apache/hudi/common/tabl... | 1 | 1 | 0 | [{"id": "G0", "claim": "Use a TreeSet for the per-key instant collection so that lookups stay efficient (List.contains is O(n)).", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__hudi__18409 | apache/hudi | 18,409 | defect | 1eb97b31826eabee4fb9c4bf78dc44d2bdb2dad0 | 0df6e53ca3f0f8bace27ce990f9f78331e85e09a | feat(spark): refresh parquet tools clustering strategy for current master | ### Describe the issue this Pull Request addresses
This PR refreshes the parquet-tools based clustering strategy from the older `parquet-tools` branch so it can be proposed against current `apache/master`.
The original implementation had drifted from current Hudi internals and test APIs. This refresh keeps the ex... | diff --git a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/execution/ParquetFileMetaToWriteStatusConvertor.java b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/execution/ParquetFileMetaToWriteStatusConvertor.java
new file mode 100644
index 0000000000000..6fe689e5c2a12
--- /dev/null
+++ b/h... | 17 | 16 | 5 | [{"id": "G0", "claim": "Rename the strategy, handle and converter classes (and the executeTools method) to more descriptive names such as SparkExternalFileClusteringExecutionStrategy, ExternalFileClusteringWriteHandle, FileMetadataWriteStatusConverter and transformFile.", "category": "maintainability", "verdict": "supp... | null |
apache__hudi__18412 | apache/hudi | 18,412 | defect | 1eb97b31826eabee4fb9c4bf78dc44d2bdb2dad0 | a4333caea42ad70a7236161d9f04867507160e34 | feat(common): add log reader scan metrics and logging for log block processing | ### Describe the issue this Pull Request addresses
Ports the logging and monitoring improvements from the earlier `AbstractHoodieLogRecordReader`
changes into the current `BaseHoodieLogRecordReader` implementation.
The current reader was missing block-level scan visibility and downstream propagation of the
resu... | diff --git a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/FileGroupReaderBasedAppendHandle.java b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/FileGroupReaderBasedAppendHandle.java
index 9f65a5d2f4771..a081709f6fc22 100644
--- a/hudi-client/hudi-client-common/src/main/java/org/apac... | 6 | 4 | 1 | [{"id": "G0", "claim": "The new INFO logging added in the log-scan path is too verbose: per-block INFO logs should be moved to debug or consolidated into the once-per-file-slice summary (at L444) rather than logged for every block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "int... | null |
apache__hudi__18413 | apache/hudi | 18,413 | defect | 1eb97b31826eabee4fb9c4bf78dc44d2bdb2dad0 | a6c721a7039fa76976d554a680338691f9b02fd3 | fix(payload): support sentinel no-op updates in DefaultHoodieRecordPayload | ### Describe the issue this Pull Request addresses
This PR updates `DefaultHoodieRecordPayload` to avoid rewriting records when the incoming payload should not win the merge based on ordering semantics. Instead of returning the current persisted record, it can return a sentinel no-op result so the existing record is... | diff --git a/hudi-common/src/main/java/org/apache/hudi/common/model/DefaultHoodieRecordPayload.java b/hudi-common/src/main/java/org/apache/hudi/common/model/DefaultHoodieRecordPayload.java
index 5c9d04028a6b9..631fa0d5bbcc4 100644
--- a/hudi-common/src/main/java/org/apache/hudi/common/model/DefaultHoodieRecordPayload.j... | 4 | 1 | 0 | [{"id": "G0", "claim": "The payload class is deprecated, so new behavior should instead be provided via a new payload class implementation or by extending the merge mode.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The canProduceSentinel() override on D... | null |
apache__hudi__18448 | apache/hudi | 18,448 | defect | b77c7e5eb4d93220f7edd19f4207a0a35bda15ca | 1c473321a996c6b2877915d987df4073c51b55d7 | feat: Add support for exclusive rollbacks with multi writer | ### Describe the issue this Pull Request addresses
Closes #18050
... | diff --git a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieTableServiceClient.java b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieTableServiceClient.java
index 4e08e9fa68240..840cff40a5ba5 100644
--- a/hudi-client/hudi-client-common/src/main/java/org/apac... | 15 | 12 | 3 | [{"id": "G0", "claim": "When exclusive rollback is enabled and no pending rollback exists yet (first writer, commit still in timeline), the code falls through without scheduling a rollback plan or starting a heartbeat, so the method throws HoodieRollbackException for first-time rollbacks; the scheduling + heartbeat log... | null |
apache__hudi__18465 | apache/hudi | 18,465 | defect | 0baabba65f363752fb38892add452f60a8420613 | 955f6fba59318cd1ac033c517da0d7369f821adb | fix(hfile): use Hadoop WritableUtils VarInt encoding in HFile block index writer | ### Describe the issue this Pull Request addresses
Closes #18450
The native HFile writer used protobuf varint encoding (`CodedOutputStream.writeUInt32NoTag`) for key lengths in root and meta index blocks, while the reader used Hadoop `WritableUtils` VarLong decoding. These two variable-length integer encodings are in... | diff --git a/hudi-io/src/main/java/org/apache/hudi/io/hfile/HFileMetaIndexBlock.java b/hudi-io/src/main/java/org/apache/hudi/io/hfile/HFileMetaIndexBlock.java
index ef292e5370ab9..72f720b9c4943 100644
--- a/hudi-io/src/main/java/org/apache/hudi/io/hfile/HFileMetaIndexBlock.java
+++ b/hudi-io/src/main/java/org/apache/hu... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test comment in testLongKeys still says 'multi-byte protobuf varint encoding' even though the fix moves away from protobuf, and should be reworded to say 'multi-byte Hadoop VarInt encoding'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__hudi__18480 | apache/hudi | 18,480 | defect | 1582d602b0c5366056bb3bb46304a5bafba3a551 | 1e49c016138ec84e273434ff328e0d24b33dd427 | feat(sync): Map VECTOR type to binary for metastore sync support | ### Describe the issue this Pull Request addresses
<!-- 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 breaking changes, use `!... | diff --git a/hudi-gcp/src/main/java/org/apache/hudi/gcp/bigquery/BigQuerySchemaResolver.java b/hudi-gcp/src/main/java/org/apache/hudi/gcp/bigquery/BigQuerySchemaResolver.java
index 6c88593ffbab0..e32921d7052ca 100644
--- a/hudi-gcp/src/main/java/org/apache/hudi/gcp/bigquery/BigQuerySchemaResolver.java
+++ b/hudi-gcp/sr... | 3 | 1 | 0 | [{"id": "G0", "claim": "The stray VARIANT regression test (testVariantTypeConversion) does not belong in this vector PR; replace it with a test for the vector type in TestHiveSchemaUtil.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "For VARIANT and BLO... | null |
apache__hudi__18481 | apache/hudi | 18,481 | defect | 0591933bc237ab9adb616f6961bbd780deff25a2 | c760ea70c3ba3b7ffc7ee7c2b2922d3e4402939f | feat(lance): throwing exception/guard for users trying to read Lance from non-spark engines | ### Describe the issue this Pull Request addresses
Closes https://github.com/apache/hudi/issues/18451
### Summary and Changelog
- Add guards to prevent non-Spark engines (Flink, Hive, Presto, Trino) from reading or writing Lance-format Hudi tables. Lance is Spark-only for 1.2.
- Guards at multiple levels:
... | diff --git a/hudi-common/src/main/java/org/apache/hudi/common/model/HoodieFileFormat.java b/hudi-common/src/main/java/org/apache/hudi/common/model/HoodieFileFormat.java
index a4913ae55c5d8..dfbb7b8d858e5 100644
--- a/hudi-common/src/main/java/org/apache/hudi/common/model/HoodieFileFormat.java
+++ b/hudi-common/src/main... | 2 | 2 | 2 | [{"id": "G0", "claim": "The added `baseFileFormat = configuredFormat;` silently changes behavior beyond the Lance guard for non-Parquet tables (ORC/HFile), which could break Hive catalog registration; keep the existing default-to-PARQUET behavior and only add the Lance rejection.", "category": "correctness", "verdict":... | null |
apache__hudi__18483 | apache/hudi | 18,483 | defect | 0591933bc237ab9adb616f6961bbd780deff25a2 | ff034ea0fb1454465b9a9001acf963aecaf40e56 | feat(sync): Map VARIANT type to struct in Hive, Spark, and BigQuery sync | ### Describe the issue this Pull Request addresses
<!-- 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 breaking changes, use `!... | diff --git a/hudi-gcp/src/main/java/org/apache/hudi/gcp/bigquery/BigQuerySchemaResolver.java b/hudi-gcp/src/main/java/org/apache/hudi/gcp/bigquery/BigQuerySchemaResolver.java
index 6c88593ffbab0..34bf16e0e4aaa 100644
--- a/hudi-gcp/src/main/java/org/apache/hudi/gcp/bigquery/BigQuerySchemaResolver.java
+++ b/hudi-gcp/sr... | 6 | 1 | 0 | [{"id": "G0", "claim": "BigQuerySchemaResolver should also handle BLOB in the same switch (as SparkSchemaUtils and HiveSchemaUtil already do), since BigQuery would otherwise still throw RuntimeException for BLOB fields; the reviewer is fine leaving it as a follow-up if out of scope.", "category": "correctness", "verdic... | null |
apache__hudi__18484 | apache/hudi | 18,484 | defect | 0591933bc237ab9adb616f6961bbd780deff25a2 | 6902d1926c68a20c79ddcd3f6f7969aae71cc3e8 | feat(flink): Add metrics for RocksDB index backend in bucket assigner | ### Describe the issue this Pull Request addresses
<!-- 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 breaking changes, use `!... | diff --git a/hudi-common/src/main/java/org/apache/hudi/common/util/collection/RocksDBDAO.java b/hudi-common/src/main/java/org/apache/hudi/common/util/collection/RocksDBDAO.java
index 8a0174e230cf1..b74f0901fc418 100644
--- a/hudi-common/src/main/java/org/apache/hudi/common/util/collection/RocksDBDAO.java
+++ b/hudi-com... | 8 | 2 | 2 | [{"id": "G0", "claim": "There is a potential use-after-free of the native Statistics object because the metric reporter thread can call getTickerCount/getLongProperty while the main thread runs synchronized close() (statistics closed and nulled, field not volatile); synchronizing those accessors on the same monitor as ... | null |
apache__hudi__18485 | apache/hudi | 18,485 | defect | 0591933bc237ab9adb616f6961bbd780deff25a2 | 0876fa48f8a7d65bc3b7080597185d5a18d26b29 | fix(flink): Handle bootstrap write metadata correctly after job resca… | …ling
### Describe the issue this Pull Request addresses
This PR fixes Flink writer recovery after job restore/rescaling. Restored WriteMetadataEvent state may come from multiple subtasks.
### Summary and Changelog
* Merge restored WriteMetadataEvent state across subtasks before replaying pending metadata.
... | diff --git a/hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/StreamWriteOperatorCoordinator.java b/hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/StreamWriteOperatorCoordinator.java
index 82fcb3ed5c57a..c95f9d4648bad 100644
--- a/hudi-flink-datasource/hudi-flink/src/main/java/or... | 6 | 3 | 1 | [{"id": "G0", "claim": "The method name isBootstrapEvents() does not clearly indicate it checks for ANY bootstrap event using anyMatch(); rename it (e.g. hasBootstrapEvent()) or clarify the javadoc to match the existence-check behavior.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope":... | null |
apache__hudi__18497 | apache/hudi | 18,497 | defect | 35e2bbf9813f313006c773b92578db6cb93da9ca | aa47b75b89f3e7ce94d5a59452b3248eda0c9338 | feat(lance): round-trip Hudi VECTOR columns as native Lance fixed-size lists | ### Describe the issue this Pull Request addresses
Hudi's VECTOR logical type (RFC-99) already round-trips correctly on the Parquet path via the `hoodie.vector.columns` footer metadata + FIXED_LEN_BYTE_ARRAY storage. On the newly-added Lance base-file path, VECTOR columns silently degraded to plain `List<Float>` / `Li... | diff --git a/hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/io/storage/HoodieSparkLanceReader.java b/hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/io/storage/HoodieSparkLanceReader.java
index 3bf6625a4fd57..2c0822233452f 100644
--- a/hudi-client/hudi-spark-client/src/main/java/org/apache/hudi... | 26 | 17 | 3 | [{"id": "G0", "claim": "The Lance Maven artifact coordinates are out of date and should move from com.lancedb to org.lance and from 0.0.15 to 0.4.0.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Every call site that previously may have hit th... | null |
apache__hudi__18576 | apache/hudi | 18,576 | defect | edaa16820b7b103a7342506c196da1754d0fdfe2 | e0dff07bc5873a68bfa7f8012af4ef550e761108 | feat(common): When inferring checkpoint/schema from timeline, check non-ingestion write commits (in case they have metadata rolled-over) | ### Describe the issue this Pull Request addresses
When archival removes all ingestion commits from the active timeline, code paths that infer schema or checkpoint metadata can fail because they only inspect ingestion-type instants (commits whose `WriteOperationType.canUpdateSchema()` is true). With Hudi's rolling m... | diff --git a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieClient.java b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieClient.java
index e5fd93d56a601..b7c0c08227106 100644
--- a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodi... | 8 | 6 | 3 | [{"id": "G0", "claim": "The reviewer asks whether dropping the memoized getCachedCommitMetadata in the new commit-metadata scan was intentional, since repeated schema lookups at the same instant now re-read the commit file, and suggests threading the cache through the new scan.", "category": "performance", "verdict": "... | null |
apache__hudi__18580 | apache/hudi | 18,580 | defect | edaa16820b7b103a7342506c196da1754d0fdfe2 | 2f1e84216118b48b3f371ed0e7643b9839d5d82d | fix(schema): Handle BLOB and VARIANT in Hive-reader rewriteRecordWith… | …NewSchema
### Describe the issue this Pull Request addresses
Closes #18578
`HoodieArrayWritableSchemaUtils.rewriteRecordWithNewSchemaInternal` switches on `newSchema.getType()` and only names `RECORD`, `ENUM`, `ARRAY`, `MAP`, `UNION`.
- BLOB (#18108) and VARIANT (#17833) are Hudi logical types physically s... | diff --git a/hudi-common/src/test/java/org/apache/hudi/common/schema/HoodieSchemaTestUtils.java b/hudi-common/src/test/java/org/apache/hudi/common/schema/HoodieSchemaTestUtils.java
index 387dfca41865f..faba63d66690c 100644
--- a/hudi-common/src/test/java/org/apache/hudi/common/schema/HoodieSchemaTestUtils.java
+++ b/hu... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test names `testRewritePlainRecordToBlobSucceedsAfterFix` (line 392) and `testRewritePlainRecordToVariantSucceedsAfterFix` (line 435) tie the tests to PR/bug context that will not mean anything to a future reader, and should be renamed to behavior-describing names such as `testRewritePlainBl... | null |
apache__hudi__18675 | apache/hudi | 18,675 | defect | f7508ded95a534f5e6e5ffc5150a83a5662d05db | c954b45836757522fcda5e8ea6f22f004a0197bc | fix: Honor SparkSession overrides for rebase mode and timezone in compaction tasks | ### Describe the issue this Pull Request addresses
When MOR compaction runs outside a Spark SQL execution context (for example, a standalone compaction runner that dispatches per-file-group work via `JavaSparkContext.parallelize(...).map(...)`), `SQLConf.get` on the executor task thread returns a fresh fallback `SQL... | diff --git a/hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/io/storage/row/HoodieRowParquetWriteSupport.java b/hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/io/storage/row/HoodieRowParquetWriteSupport.java
index 646fb2330833f..ae54972e3501b 100644
--- a/hudi-client/hudi-spark-client/src/main/... | 2 | 2 | 1 | [{"id": "G0", "claim": "Spark4_1Adapter.getDateTimeRebaseMode() should get the same fix as the other adapters, since its current implementation has the same SQLConf-not-on-executor pattern, spark4.1 is an active build profile, and the new TestSparkAdapterRebaseModePropagation test would fail under that profile.", "cate... | null |
apache__hugegraph__1500 | apache/hugegraph | 1,500 | defect | 461948ee262cc696853a8c8ba1306e6b371e3e89 | 54e38009f4fbab3ce49f21bfc889bc975d2d8057 | add LoginAPI | Use HS256 generator token, token payload have `user_name` and `user_id`. | diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/LoginAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/LoginAPI.java
new file mode 100644
index 00000000000..08545e70546
--- /dev/null
+++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/LoginAPI.java
@@ -0,0 +1,144 @@
+/... | 26 | 21 | 10 | [{"id": "G0", "claim": "Align the wrapped continuation lines in LoginAPI's verifyToken declaration.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Define constant variables for the repeated \"Bearer \"/\"Basic \" prefix string literals.", "categ... | null |
apache__hugegraph__1515 | apache/hugegraph | 1,515 | defect | 0c51de548c5a54f374e63653bcee38ec34647dfb | d8cf2a25c0c5d8fd0268c53c230fbac16d8c67bb | fix cache metrics perf issue | test perf on Mac (8 CPUs) with threads=10 loop=8kw:
| | ConcurrentHashMap | RamCache | RamCache metrics |
| ---- | ----------------- | -------- | ----------------------------- |
| 1 | 3.8~6.5s | 5.5~9.1s | none |
| 2 | 5.4 | 7.1 | volat... | diff --git a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/AbstractCache.java b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/AbstractCache.java
index b6f023605d..c89333f410 100644
--- a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/AbstractCache.java
+++ b/hugegraph-c... | 1 | 1 | 0 | [{"id": "G0", "claim": "Extract the metrics-counting block out of get() into a dedicated helper method named metricCacheIfNeed() (as done in #1507) to keep get() simple.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__hugegraph__1780 | apache/hugegraph | 1,780 | defect | 5bb860f2d2770b2178b3904e63d7f59ea1bde11d | 3ef5d3816bbb41d1eb244054a5116504444f4cf1 | fix(core): edge cache not clear when update or delete associated vertex | 1. fix the bug when vertex updated, but the edge cache associated with that vertex was not updated. Here we simply clear all edge cache when any vertex changes.
2. add two test case for the fixing
fix #1779 | diff --git a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/CachedGraphTransaction.java b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/CachedGraphTransaction.java
index 7462ead734..85f94a7e9e 100644
--- a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/CachedGraphTransac... | 6 | 6 | 0 | [{"id": "G0", "claim": "The new test methods should be renamed from testClearEdgeCacheXx to testEdgeCacheClearXx (or testEdgeCacheEmptyXx), as that reads better and matches the other test methods.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "T... | null |
apache__hugegraph__2061 | apache/hugegraph | 2,061 | defect | 6c3170c496c241f27c57eb97c87b43bb21162b5c | e68b4d1702aa9332023b7acf445108b5b9213b62 | fix: support null value for gremlin test | fix sub-issue 4 https://github.com/apache/incubator-hugegraph/issues/2058 | diff --git a/hugegraph-core/src/main/java/org/apache/hugegraph/structure/HugeElement.java b/hugegraph-core/src/main/java/org/apache/hugegraph/structure/HugeElement.java
index 3e5d56ca0e..77a74dcbc8 100644
--- a/hugegraph-core/src/main/java/org/apache/hugegraph/structure/HugeElement.java
+++ b/hugegraph-core/src/main/ja... | 8 | 7 | 4 | [{"id": "G0", "claim": "The pull request should handle the corresponding tests together with the code change.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "classifyKeys should skip null values with `continue` and add a comment explaining why.", "catego... | null |
apache__hugegraph__2431 | apache/hugegraph | 2,431 | defect | 46cb612eb565fcc6da08947f4816a58ecb5912e2 | 0e391624675a528ae2c53a48389a0e6b65d24d66 | fix(pd-store): fix hstore backend core tests failure | related issue: https://github.com/apache/incubator-hugegraph/issues/2420
further work of https://github.com/apache/incubator-hugegraph/pull/2424
NOTE:there are still some issues related to MultiGraphTest, EdgeCoreTest, etc. I and @VGalaxies have marked these issues with TODOs in comments, which will be expected to ... | diff --git a/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/cache/CacheManager.java b/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/cache/CacheManager.java
index dd1b4f9b5f..b0b3f24720 100644
--- a/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegrap... | 1 | 1 | 0 | [{"id": "G0", "claim": "The removed '// TODO: uncomment later - graph space' comment should be kept because the graph-space feature will be imported later.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__hugegraph__2463 | apache/hugegraph | 2,463 | defect | 92f2ecb5e76e736b0fb344217aa31e4313d34bd0 | 0f5ee5b2b243a562b52b60865bde6efca3fa27a2 | fix(pd-store): fix hstore backend api tests failure | <!--
Thank you very much for contributing to Apache HugeGraph, we are happy that you want to help us improve it!
Here are some tips for you:
1. If this is your first time, please read the [contributing guidelines](https://github.com/apache/hugegraph/blob/master/CONTRIBUTING.md)
2. If a PR fix/close... | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index bae3434171..409a478abe 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -73,9 +73,9 @@ jobs:
run: |
$TRAVIS_DIR/run-unit-test.sh $BACKEND
- - name: Run core test
- run: |
- $TRAVIS_DI... | 5 | 5 | 2 | [{"id": "G0", "claim": "The pull request comments out the core tests of the original backend in .github/workflows/ci.yml, whereas the core tests for the hstore backend in pd-store.yml should be commented out instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "... | null |
apache__hugegraph__2941 | apache/hugegraph | 2,941 | defect | 37be6cdde3a2ffb71091453b366f28ae446db882 | 8f3578c3d5451a379b2f8553156843d5e5e379ae | fix(consumers): prevent await deadlock on ContextCallable failure | <!--
Thank you very much for contributing to Apache HugeGraph, we are happy that you want to help us improve it!
Here are some tips for you:
1. If this is your first time, please read the [contributing guidelines](https://github.com/apache/hugegraph/blob/master/CONTRIBUTING.md)
2. If a PR fix/close... | diff --git a/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/util/Consumers.java b/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/util/Consumers.java
index daa54ee958..949c5df405 100644
--- a/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/util/Consumers.java
++... | 7 | 6 | 3 | [{"id": "G0", "claim": "The PR needs at least 2 tests to validate the modification to Consumers.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The other Consumers implementation at hugegraph-core/src/main/java/org/apache/hugegraph/job/algorithm/Consume... | null |
apache__hugegraph__2944 | apache/hugegraph | 2,944 | defect | 99baf2bde2ddc6c0db6a4f811109f9f2c34abdc8 | 85dc7db33bdfdfef370702c7bf5caecf79c8b27a | refactor(server): unify URL configs when scheme is missing | <!--
Thank you very much for contributing to Apache HugeGraph, we are happy that you want to help us improve it!
Here are some tips for you:
1. If this is your first time, please read the [contributing guidelines](https://github.com/apache/hugegraph/blob/master/CONTRIBUTING.md)
2. If a PR fix/close... | diff --git a/hugegraph-commons/hugegraph-common/src/main/java/org/apache/hugegraph/config/HugeConfig.java b/hugegraph-commons/hugegraph-common/src/main/java/org/apache/hugegraph/config/HugeConfig.java
index 4837154563..34b3f07277 100644
--- a/hugegraph-commons/hugegraph-common/src/main/java/org/apache/hugegraph/config/... | 11 | 9 | 5 | [{"id": "G0", "claim": "Add unit tests covering URL normalization edge cases: empty and whitespace-only values, uppercase or mixed-case scheme prefixes, IPv6 addresses, malformed URLs, and default-value fallback.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cl... | null |
apache__hugegraph__2961 | apache/hugegraph | 2,961 | defect | 050581067ae5aa83c5d5e841b645eab7e2fcf4ca | 892540829a92ab932ed29e26ffbc58098fea92d4 | fix(pd): add timeout and null-safety to getLeaderGrpcAddress() | ## Purpose of the PR
- close #2959
In a 3-node PD cluster running in Docker bridge network mode, `getLeaderGrpcAddress()` makes a bolt RPC call to discover the leader's gRPC address when the current node is a follower. This call fails in bridge mode — the TCP connection establishes but the bolt RPC response never r... | diff --git a/hugegraph-pd/hg-pd-core/src/main/java/org/apache/hugegraph/pd/raft/RaftEngine.java b/hugegraph-pd/hg-pd-core/src/main/java/org/apache/hugegraph/pd/raft/RaftEngine.java
index e70ac923405..494ca674d7a 100644
--- a/hugegraph-pd/hg-pd-core/src/main/java/org/apache/hugegraph/pd/raft/RaftEngine.java
+++ b/hugegr... | 6 | 4 | 3 | [{"id": "G0", "claim": "If the leader is still not elected after waitingForLeader(), the added code still dereferences raftNode.getLeaderId() (in the RPC call and the fallback) and will throw an NPE; capture the leader into a local variable after waiting and handle the null case explicitly.", "category": "correctness",... | null |
apache__hugegraph__2962 | apache/hugegraph | 2,962 | defect | 050581067ae5aa83c5d5e841b645eab7e2fcf4ca | 9b9154b2480680b6ee42df6da20ef40614605888 | fix(pd): resolve hostname entries in IpAuthHandler allowlist | ## Purpose of the PR
- fix #2960
`IpAuthHandler` only compared the client IP with the allowlist entries directly.
When the allowlist contains hostnames, connections from their resolved IPs could be rejected.
## Main Changes
- Resolve hostname allowlist entries using `InetAddress.getAllByName`
- Store re... | diff --git a/hugegraph-pd/hg-pd-core/src/main/java/org/apache/hugegraph/pd/raft/auth/IpAuthHandler.java b/hugegraph-pd/hg-pd-core/src/main/java/org/apache/hugegraph/pd/raft/auth/IpAuthHandler.java
index 2ac384541d..38ab3e9cf3 100644
--- a/hugegraph-pd/hg-pd-core/src/main/java/org/apache/hugegraph/pd/raft/auth/IpAuthHan... | 4 | 4 | 2 | [{"id": "G0", "claim": "The PR's new hostname-resolution behavior has no regression coverage, so at least one test for a hostname allowlist entry and one for a resolution failure/refresh scenario should be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cl... | null |
apache__hugegraph__2966 | apache/hugegraph | 2,966 | defect | 050581067ae5aa83c5d5e841b645eab7e2fcf4ca | cae50d142e9e1afc8329f6899d84a797efa03501 | refactor(server): disable GraphSpaceAPI and ManagerAPI in standalone mode | <!--
Thank you very much for contributing to Apache HugeGraph, we are happy that you want to help us improve it!
Here are some tips for you:
1. If this is your first time, please read the [contributing guidelines](https://github.com/apache/hugegraph/blob/master/CONTRIBUTING.md)
2. If a PR fix/close... | diff --git a/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/API.java b/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/API.java
index c476864711..d3624c4651 100644
--- a/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/API.java
+++ b/hugegraph-server/hug... | 7 | 6 | 2 | [{"id": "G0", "claim": "Throwing HugeException will typically surface as HTTP 500 instead of the intended and tested 400, so the guard should throw an exception type that maps to 400.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The private usePD(... | null |
apache__hugegraph__2972 | apache/hugegraph | 2,972 | defect | 41d0dbcd3adc91c87fc14540cf5b08ffa96c4a83 | c72f2f4d3acc8f00df841823dd35941e0f1b3b38 | optimize(api): add warning logs for load-based request rejection | <!--
Thank you very much for contributing to Apache HugeGraph, we are happy that you want to help us improve it!
Here are some tips for you:
1. If this is your first time, please read the [contributing guidelines](https://github.com/apache/hugegraph/blob/master/CONTRIBUTING.md)
2. If a PR fix/close... | diff --git a/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/filter/LoadDetectFilter.java b/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/filter/LoadDetectFilter.java
index 7ee5e7c0f7..a2e2ad9ddf 100644
--- a/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph... | 7 | 7 | 3 | [{"id": "G0", "claim": "The new busy-load rejection WARN is emitted for every rejected request and can produce a log storm under overload; rate-limit or sample the rejection logs.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test injects priva... | null |
apache__hugegraph__2987 | apache/hugegraph | 2,987 | defect | c0a2b93e455c2bfb4e571256e24571e80de89bd7 | ab0eb6d5b748c19072d6911a6071396694f3c34c | refactor(server): allow TinkerPop exceptions in Gremlin resp | ## Purpose of the PR
- Fixes #2986
## Main Changes
The Gremlin query API was filtering out TinkerPop exceptions like MissingPropertyException instead of passing them back to clients. Added `org.apache.tinkerpop.` to the exception allowlist so these errors bubble up properly. Also added a test to verify the behavior.
... | diff --git a/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/gremlin/GremlinQueryAPI.java b/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/gremlin/GremlinQueryAPI.java
index 1f35da5f1c..92da13d91b 100644
--- a/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph... | 3 | 2 | 2 | [{"id": "G0", "claim": "The package-wide `org.apache.tinkerpop.` allowlist entry would classify TinkerPop auth exceptions such as AuthenticationException and AuthorizationException as 400 even though they carry 401/403 semantics, changing the API contract for auth failures; whitelist only the concrete exception class(e... | null |
apache__hugegraph__974 | apache/hugegraph | 974 | defect | 26c449846350b8ea429b0b689cca552a9bd4cbd5 | 3f4bdb555cdfeeb0488000e4415c759d954999ee | Hbase shard improve and implement mysql/memory shard | Hbase shard range参考:https://blog.csdn.net/shenxiaoming77/article/details/22675919 | diff --git a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/BackendEntryIterator.java b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/BackendEntryIterator.java
index 7f6e7ecb55..0fe7c8b421 100644
--- a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/BackendEntryIterator.j... | 4 | 4 | 1 | [{"id": "G0", "claim": "The paging-limit check performed in BackendEntryIterator.next() (with the last-row trimming in MysqlEntryIterator.reduce2limit) should be moved down into fetch().", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The backend-specific... | null |
apache__iceberg-cpp__102 | apache/iceberg-cpp | 102 | defect | 1c4c047d712443eecee0ac35ba52a7c43abee180 | b0fd1ea8851ce7d6f68a67b92acc9e51cd1d740e | feat: add schema projection support | Implement a `SchemaProjection` companion data structure to work with expected `Schema` to carry projection result. This is useful to project data returned by different file format reader implementations. | diff --git a/src/iceberg/CMakeLists.txt b/src/iceberg/CMakeLists.txt
index 0dfb57790..d7f3fc8c0 100644
--- a/src/iceberg/CMakeLists.txt
+++ b/src/iceberg/CMakeLists.txt
@@ -30,6 +30,7 @@ set(ICEBERG_SOURCES
schema.cc
schema_field.cc
schema_internal.cc
+ schema_util.cc
snapshot.cc
sort_field.... | 7 | 4 | 1 | [{"id": "G0", "claim": "The kProjected doc comment has a spurious line break splitting 'supported' and 'schema evolution.' onto two lines; the suggestion joins them into one.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "ValidateSchemaEvolution d... | null |
apache__iceberg-cpp__117 | apache/iceberg-cpp | 117 | defect | 33f2a8ad3bc82209f83ff82f58530d58b1ab6b6f | 082c7e15074913bf052a4efe747391e8e69fb3d6 | feat: implement Primitive type Literal | Before implement expression, Primitive should be implemented. The spec follows: https://iceberg.apache.org/spec/#schemas-and-data-types
In this patch, only few types of Literals is supported, including int, long, float, double, boolean, string and binary.
TODO:
* [x] Implement detail logics about comparing
* [... | diff --git a/src/iceberg/CMakeLists.txt b/src/iceberg/CMakeLists.txt
index 09b419e7b..3ff9d096b 100644
--- a/src/iceberg/CMakeLists.txt
+++ b/src/iceberg/CMakeLists.txt
@@ -21,6 +21,7 @@ set(ICEBERG_SOURCES
arrow_c_data_internal.cc
catalog/in_memory_catalog.cc
demo.cc
+ datum.cc
expression/expres... | 30 | 19 | 1 | [{"id": "G0", "claim": "Since C++ std::string does not enforce UTF-8, consider whether std::vector<uint8_t> could be used for the string variant member instead.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Small String Optimization would grow PrimitiveLi... | null |
apache__iceberg-cpp__13 | apache/iceberg-cpp | 13 | defect | 158d509dc4e68b6634f8e5e035728c9ceaabc27e | 55eb59bcdd63d3c2e2cbc47997c3f72039925ec1 | Integrate Googletest as Test Framework | In the discussion #12 regarding the choice between Googletest and Catch2 for our testing framework, most of the developers have experience with Googletest, and while they are open to considering Catch2, they see no immediate advantage, as no one on the team has experience with it. Given this context, the decision to ad... | diff --git a/CMakeLists.txt b/CMakeLists.txt
index 22e24d6788..6e56c8b202 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -43,6 +43,7 @@ include(BuildUtils)
include(ExternalProject)
include(FindPackageHandleStandardArgs)
include(GNUInstallDirs)
+include(FetchContent)
set(ICEBERG_API_DIR "${CMAKE_SOURCE_DIR}/a... | 4 | 4 | 2 | [{"id": "G0", "claim": "The fetchcontent_declare(googletest ...) call in cmake_modules/FindGTestAlt.cmake should pass FIND_PACKAGE_ARGS GTest so FetchContent first tries the already-installed GTest package instead of always cloning it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduc... | null |
apache__iceberg-cpp__178 | apache/iceberg-cpp | 178 | defect | a54f116211258f4199b5b1665494e9eb4bec45b2 | 5c4f41c3ed485cedc045d6c245a03c442296837a | feat: implement manifest entry metadata inheritance | ## Summary
Implements the metadata inheritance system for manifest entries, enabling proper inheritance of
snapshot_id, sequence_number, and file_sequence_number from manifest list to manifest entries.
## Changes
- Add `InheritableMetadata` interface with `BaseInheritableMetadata`, `EmptyInheritableMeta... | diff --git a/src/iceberg/CMakeLists.txt b/src/iceberg/CMakeLists.txt
index 587b1596a3..84a0d46977 100644
--- a/src/iceberg/CMakeLists.txt
+++ b/src/iceberg/CMakeLists.txt
@@ -24,6 +24,7 @@ set(ICEBERG_SOURCES
expression/literal.cc
file_reader.cc
file_writer.cc
+ inheritable_metadata.cc
json_inter... | 9 | 7 | 1 | [{"id": "G0", "claim": "The explicitly defaulted ManifestReaderImpl() and ManifestListReaderImpl() default constructors are redundant and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The #include \"iceberg/file_reader.h\" ad... | null |
apache__iceberg-cpp__181 | apache/iceberg-cpp | 181 | defect | f2d0abde8f442dcfd4ab5a5ff2805d3ab5b6a890 | d40c29f08c11ae2a39aec58af41b1afc3d24a1d9 | feat: add row-based immutable data structure | - Add StructLike, MapLike, and ArrayLike interfaces
- Add wrapper for ManifestFile and ArrowArray | diff --git a/src/iceberg/CMakeLists.txt b/src/iceberg/CMakeLists.txt
index 587b1596a3..a7b3490a1f 100644
--- a/src/iceberg/CMakeLists.txt
+++ b/src/iceberg/CMakeLists.txt
@@ -31,6 +31,8 @@ set(ICEBERG_SOURCES
name_mapping.cc
partition_field.cc
partition_spec.cc
+ row/arrow_array_wrapper.cc
+ row/ma... | 7 | 2 | 0 | [{"id": "G0", "claim": "The bounds check in ManifestFileFieldFromIndex would read better standardized as index >= static_cast<int32_t>(ManifestFileField::kManifestPath) instead of comparing to the literal 0.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "c... | null |
apache__iceberg-cpp__198 | apache/iceberg-cpp | 198 | defect | 9f13bac62617e5b457be894e9f17eb89c78a0adb | 7458797d1d062d5f3b8047bf403cb097f188f78c | feat: implement basic parquet writer and add roundtrip tests | Add parquet writer factory and basic parquet writer without metrics. | diff --git a/.gitignore b/.gitignore
index 2b7154b0d6..74df5bd65c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,3 +23,6 @@ cmake-build-release/
# intellij files
.idea
+
+# vscode files
+.vscode
diff --git a/src/iceberg/CMakeLists.txt b/src/iceberg/CMakeLists.txt
index b509c25797..3cd39173a0 100644
--- a/src/icebe... | 5 | 4 | 2 | [{"id": "G0", "claim": "The placeholder metrics() and length() return an engaged empty optional/value when the writer is closed, but should return std::nullopt since metrics and length are not implemented yet.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c... | null |
apache__iceberg-cpp__206 | apache/iceberg-cpp | 206 | defect | 88f552079befcaac94f8d95f3cf12c0c351002e5 | 9dfc38a3c27472ad22dd1e939f2801f474a7cd1a | feat: Implement Type Casting and toString for Literals | - Implements the complete type casting logic for `iceberg::Literal` in the `LiteralCaster` class to align with the Java reference implementation. This is critical for expression evaluation and predicate pushdown.
- Add basic implementation for fixed type.
- Updated `ToString()` to match Java's output format for bette... | diff --git a/src/iceberg/expression/literal.cc b/src/iceberg/expression/literal.cc
index e3abb6a665..fbc6fdd3b3 100644
--- a/src/iceberg/expression/literal.cc
+++ b/src/iceberg/expression/literal.cc
@@ -26,6 +26,16 @@
namespace iceberg {
+namespace {
+
+constexpr int64_t kMicrosPerDay = 86400000000LL; // 24 * 60 ... | 21 | 15 | 0 | [{"id": "G0", "claim": "MicrosToDays can use simple integer division (static_cast<int32_t>(micros / kMicrosPerDay)) instead of the floating-point floor conversion.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The below-min check in CastFromDouble sh... | null |
apache__iceberg-cpp__231 | apache/iceberg-cpp | 231 | defect | 9b69e455e702630235fc30625e011827727b8e61 | 93d4f812fb0332aa9785a36d8719f32e5136165c | feat: add CRoaring dependency | - Integrated CRoaring library into the project by adding a new function to resolve its dependency in `IcebergThirdpartyToolchain.cmake`.
- Updated the CMakeLists to include CRoaring in both static and shared build interfaces. | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 23f29e649..7b383b229 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -85,7 +85,7 @@ jobs:
- name: Install dependencies
shell: cmd
run: |
- vcpkg install zlib:x64-windows nlohmann-json... | 4 | 3 | 1 | [{"id": "G0", "claim": "The `roaring::roaring` entries added to the interface-libs lists should be sorted alphabetically with the surrounding entries, and likewise further down.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CROARING generat... | null |
apache__iceberg-cpp__251 | apache/iceberg-cpp | 251 | defect | 9fa0d1501cc72b3fc5fc8cded6db617bd68b9dd8 | e393ddef86de68bfab353b598889e5b37f996a55 | feat: add json serde for REST Catalog request/response models | This PR depends on and should be merged after https://github.com/apache/iceberg-cpp/pull/230. #249 #245 #248 | diff --git a/src/iceberg/catalog/CMakeLists.txt b/src/iceberg/catalog/CMakeLists.txt
index 71675b5c00..13cdb0949c 100644
--- a/src/iceberg/catalog/CMakeLists.txt
+++ b/src/iceberg/catalog/CMakeLists.txt
@@ -15,8 +15,6 @@
# specific language governing permissions and limitations
# under the License.
-iceberg_install... | 39 | 35 | 5 | [{"id": "G0", "claim": "Remove nlohmann_json::nlohmann_json from the rest catalog's BUILD_INTERFACE link lists (and the install-interface lists below) because the iceberg library already exposes it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
apache__iceberg-cpp__284 | apache/iceberg-cpp | 284 | defect | 5cbf3df681c0b4032e55bbe8f1a8c73509041668 | 1494369ede824479e48a0863bc897c5ea98c2c94 | feat: add satisfies order for SortField/SortOrder and Transform | This PR also makes the `ToString` consistent with Java implementation. | diff --git a/src/iceberg/sort_field.cc b/src/iceberg/sort_field.cc
index e9b3bf7d84..29083baa01 100644
--- a/src/iceberg/sort_field.cc
+++ b/src/iceberg/sort_field.cc
@@ -41,10 +41,18 @@ SortDirection SortField::direction() const { return direction_; }
NullOrder SortField::null_order() const { return null_order_; }
... | 6 | 5 | 1 | [{"id": "G0", "claim": "Using std::views::zip, which is C++23-only, without confirming the codebase enforces C++23 may cause compilation failures on older compilers.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The accessors IsSorted/IsUnsorted shou... | null |
apache__iceberg-cpp__294 | apache/iceberg-cpp | 294 | defect | abd6b3f88e672f675654641c0136ecb8d4754920 | 2902e7699825010f364480a6d243f5b9b0934194 | feat: implement validation for table update requirements | Implement Validate() methods for remaining table requirement classes:
- AssertDoesNotExist: validates table doesn't exist
- AssertRefSnapshotID: validates snapshot references (branches/tags)
- AssertLastAssignedFieldId: validates last assigned field ID
- AssertLastAssignedPartitionId: validates last assigned partit... | diff --git a/src/iceberg/table_requirement.cc b/src/iceberg/table_requirement.cc
index 0b8e795783..65ba2e0ea7 100644
--- a/src/iceberg/table_requirement.cc
+++ b/src/iceberg/table_requirement.cc
@@ -19,13 +19,20 @@
#include "iceberg/table_requirement.h"
+#include "iceberg/snapshot.h"
#include "iceberg/table_metad... | 3 | 3 | 2 | [{"id": "G0", "claim": "AssertLastAssignedFieldId and AssertLastAssignedPartitionId should allow missing base metadata as the Java impl does (it makes sense for a new table), using the suggested `if (base && ...)` check instead of failing on nullptr.", "category": "correctness", "verdict": "supported", "priority": "P1"... | null |
apache__iceberg-cpp__299 | apache/iceberg-cpp | 299 | defect | 407c3d169b5fe89784457f463aa8316871ca6610 | bb499adc0aad2c8c26ff4596f26cefab3c6445e5 | refactor: change PartitionSpec to be independent of Schema | - Removing `schema_` member from `PartitionSpec`, Making `PartitionType()` method require a Schema parameter instead of using the stored schema.
- Add `table_schema_` in `ManifestEntryAdapter`.
- Fix bug in ManifestEntryAdapter::init(v1/v2/v3) to use `table_schema` in `metadata_["schema"]`.
- Fix error in related te... | diff --git a/src/iceberg/json_internal.cc b/src/iceberg/json_internal.cc
index 1bad8cc4b3..9d5f8d5cb3 100644
--- a/src/iceberg/json_internal.cc
+++ b/src/iceberg/json_internal.cc
@@ -519,8 +519,7 @@ Result<std::unique_ptr<PartitionField>> PartitionFieldFromJson(
std::move(tran... | 15 | 14 | 3 | [{"id": "G0", "claim": "Keep the schema parameter on PartitionSpecFromJson and ParsePartitionSpecs (definition, declaration and call sites) because it is needed to create bound partition specs, instead of dropping it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",... | null |
apache__iceberg-cpp__317 | apache/iceberg-cpp | 317 | defect | 6fe80fea621fbeca7897e347da4db584289a30c9 | 7a4c48e76a23e297971c310da594023562fba100 | feat: add partition summary and write added/existing/deleted entries to manifest writer | including AddEntry, AddExistingEntry, AddDeleteEntry | diff --git a/.gitignore b/.gitignore
index 9e79c86e7c..f5d4706558 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,6 +16,7 @@
# under the License.
build/
+cmake-build/
cmake-build-debug/
cmake-build-release/
.DS_Store
diff --git a/src/iceberg/CMakeLists.txt b/src/iceberg/CMakeLists.txt
index a13f095aaa..5ab748ff3... | 36 | 29 | 6 | [{"id": "G0", "claim": "ManifestEntry's status should be updated to Deleted when performing AddDeleteEntry.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ManifestFile's sequence number should be updated when writing to the manifest list, which ... | null |
apache__iceberg-cpp__335 | apache/iceberg-cpp | 335 | defect | 87270165d704e892da0e73adc51fa0ccca2e3636 | 098902656761382476fc54febd23da8473e3fc0b | feat: add aggregate expressions and evaluator | This PR addresses issue #330 by introducing aggregate expressions & execution support.
* Add aggregate expression family (count / count_null / count_star / max / min)
with bound/unbound types, visitor and binder support.
* Add `AggregateEvaluator` for count/max/min execution over `StructLike` rows.
* Expose... | diff --git a/src/iceberg/CMakeLists.txt b/src/iceberg/CMakeLists.txt
index 22c222182..0b6000e4e 100644
--- a/src/iceberg/CMakeLists.txt
+++ b/src/iceberg/CMakeLists.txt
@@ -20,6 +20,7 @@ set(ICEBERG_INCLUDES "$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/src>"
set(ICEBERG_SOURCES
arrow_c_data_guard_internal.cc
cat... | 24 | 16 | 4 | [{"id": "G0", "claim": "The Aggregate base class does not need to override is_unbound_aggregate and is_bound_aggregate, so those overrides should be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The unbound aggregate design should not define un... | null |
apache__iceberg-cpp__361 | apache/iceberg-cpp | 361 | defect | dbcbdf23ff7ebe5510431715fd66c7841df3d9fd | fac5354c3bd4388f5fc9075343144242628c34fe | test: add rest catalog integration test | Add integration testing infrastructure for the REST Catalog:
- Docker Compose setup (`docker-compose.yml`) for running a real REST catalog server
- Test utilities for process management (`cmd_util.cc/h`) - run cli commands
- Docker Compose control utilities (`docker_compose_util.cc/h`) - managing containerize... | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 3fafaa6f1a..b65b5287f9 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -54,7 +54,7 @@ jobs:
env:
CC: gcc-14
CXX: g++-14
- run: ci/scripts/build_iceberg.sh $(pwd)
+ run: ci/... | 19 | 17 | 6 | [{"id": "G0", "claim": "The integration tests use platform-specific headers, so ICEBERG_BUILD_REST_INTEGRATION_TESTS needs to be reset to off on Windows (guarded by the compilation environment) instead of being honored as is.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"},... | null |
apache__iceberg-cpp__371 | apache/iceberg-cpp | 371 | defect | 9805fae08eb18698bf7a8682739a5524e0f5974c | 518b85055b592ea24ae84e39201a90f7e55d9e28 | feat: add transform project | Add Transform::Project for inclusive predicate projection
This PR implements Transform::Project, which transforms a BoundPredicate to an inclusive predicate on partition values. StrictProject will be added in a separate PR to keep the review easier.
Move template implementations of Expressions into header file, o... | diff --git a/src/iceberg/expression/expressions.cc b/src/iceberg/expression/expressions.cc
index 786cc0ab74..7eef60232e 100644
--- a/src/iceberg/expression/expressions.cc
+++ b/src/iceberg/expression/expressions.cc
@@ -156,56 +156,21 @@ std::shared_ptr<UnboundPredicateImpl<BoundReference>> Expressions::IsNull(
retur... | 13 | 11 | 5 | [{"id": "G0", "claim": "In TruncateInteger the kLt (and kGt) adjustment wraps the shifted value in Literal::Int/Literal::Date regardless of T, so for a kLt predicate on a long (int64_t) column the literal is built with the wrong type.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intr... | null |
apache__iceberg-cpp__372 | apache/iceberg-cpp | 372 | defect | 9805fae08eb18698bf7a8682739a5524e0f5974c | cd1e6a7bb2b4de375d6b534183b68d2ed2f7542f | refactor: add a manifest dir to hold all manifest related files | Improve code organization by collecting manifest-related files into a dedicate directory. Writer helpers are renamed with _internal.h suffix to prevent installation, keeping the public API clean. | diff --git a/src/iceberg/CMakeLists.txt b/src/iceberg/CMakeLists.txt
index fb0c6ad70..9b3e3b892 100644
--- a/src/iceberg/CMakeLists.txt
+++ b/src/iceberg/CMakeLists.txt
@@ -33,12 +33,15 @@ set(ICEBERG_SOURCES
file_writer.cc
inheritable_metadata.cc
json_internal.cc
- manifest_adapter.cc
- manifest_e... | 4 | 1 | 0 | [{"id": "G0", "claim": "The ManifestEntryAdapter and ManifestFileAdapter forward declarations added to the public type_fwd.h should be removed, since these classes are not supposed to be used by downstream users.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla... | null |
apache__iceberg-cpp__374 | apache/iceberg-cpp | 374 | defect | 9805fae08eb18698bf7a8682739a5524e0f5974c | e54929de4e7654f9193621215c82041474df7fc6 | feat: eliminate GenericDatum in Avro reader for performance | Replace GenericDatum intermediate layer with direct Avro decoder access to improve manifest I/O performance.
Changes:
- Add avro_direct_decoder_internal.h with DecodeAvroToBuilder API
- Add avro_direct_decoder.cc implementing direct Avro→Arrow decoding
- Primitive types: bool, int, long, float, double, string, ... | diff --git a/src/iceberg/CMakeLists.txt b/src/iceberg/CMakeLists.txt
index fb0c6ad70f..b4b561cdbd 100644
--- a/src/iceberg/CMakeLists.txt
+++ b/src/iceberg/CMakeLists.txt
@@ -138,6 +138,7 @@ if(ICEBERG_BUILD_BUNDLE)
set(ICEBERG_BUNDLE_SOURCES
arrow/arrow_fs_file_io.cc
avro/avro_data_util.cc
+ avro... | 8 | 8 | 3 | [{"id": "G0", "claim": "Add a feature flag so users can fall back to the old GenericDatum-based reader in case the new direct decoder has any bug.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add test cases for the new reader, e.g. writing in-memory Av... | null |
apache__iceberg-cpp__430 | apache/iceberg-cpp | 430 | defect | 7b9595256ee9ed21eaedb0dde38f75fe9ee6f947 | 1006ae41040384f42c2579e2d33aef0435d4e780 | feat: assign fresh field ids for new schema | This PR mainly includes the following changes:
1. Modify NameToIdVisitor so that the visit method can set both name_to_id and id_to_name map simultaneously.
2. Add identifier_field_ids as a member of Schema to specify identifier_fields.
3. Add AssignFreshIdVisitor to assign entirely new field IDs to a Schema. This... | diff --git a/src/iceberg/schema.cc b/src/iceberg/schema.cc
index ca0d943fa0..800cf7f66b 100644
--- a/src/iceberg/schema.cc
+++ b/src/iceberg/schema.cc
@@ -33,8 +33,11 @@
namespace iceberg {
-Schema::Schema(std::vector<SchemaField> fields, std::optional<int32_t> schema_id)
- : StructType(std::move(fields)), sche... | 11 | 11 | 1 | [{"id": "G0", "claim": "IdentifierFieldIds should return a const reference (or std::span<const int32_t>) instead of returning the vector by value.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The SetIdentifierFieldIds setter should be avoided so t... | null |
apache__iceberg-cpp__442 | apache/iceberg-cpp | 442 | defect | 61a7de51c060a29bc35e00b8153d6a25d30035f0 | 5e1d5036b6037c7644feee0ef91175158795b0b8 | feat: implement ValidateRedundantPartitions for PartitionSpec | - Add ValidateRedundantPartitions method to detect redundant partition fields
- Use deduplication key (source_id + transform.DedupName()) to identify conflicts
- Integrate validation into PartitionSpec::Validate method | diff --git a/src/iceberg/partition_spec.cc b/src/iceberg/partition_spec.cc
index af77d1fe0..f533ef88d 100644
--- a/src/iceberg/partition_spec.cc
+++ b/src/iceberg/partition_spec.cc
@@ -23,9 +23,11 @@
#include <cstddef>
#include <cstdint>
#include <format>
+#include <map>
#include <memory>
#include <ranges>
#inclu... | 2 | 2 | 0 | [{"id": "G0", "claim": "ICEBERG_CHECK would be more appropriate than ICEBERG_PRECHECK for detecting duplicate partition names in ValidatePartitionName.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Test partition-field names should be made less mis... | null |
apache__iceberg-cpp__445 | apache/iceberg-cpp | 445 | defect | 61a7de51c060a29bc35e00b8153d6a25d30035f0 | 8128b171a06860e15b44f62171146d1e92c6a76f | feat: implement direct Avro encoder for performance | Implement direct Avro encoder to eliminate GenericDatum intermediate layer, matching the decoder approach for better performance.
Implementation:
- Add avro_direct_encoder_internal.h with EncodeArrowToAvro API
- Add avro_direct_encoder.cc implementing direct Arrow→Avro encoding
- All primitive types: bool, int,... | diff --git a/src/iceberg/CMakeLists.txt b/src/iceberg/CMakeLists.txt
index 519757d26..6c6c79b5f 100644
--- a/src/iceberg/CMakeLists.txt
+++ b/src/iceberg/CMakeLists.txt
@@ -153,6 +153,7 @@ if(ICEBERG_BUILD_BUNDLE)
arrow/arrow_fs_file_io.cc
avro/avro_data_util.cc
avro/avro_direct_decoder.cc
+ a... | 4 | 4 | 1 | [{"id": "G0", "claim": "Trim the EncodeArrowToAvro doc comment so it ends at \"methods from Arrow arrays.\", removing the Features and Error Handling blocks.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Drop \"(legacy)\" from the kAvroSkipDatum ... | null |
apache__iceberg-cpp__446 | apache/iceberg-cpp | 446 | defect | 61a7de51c060a29bc35e00b8153d6a25d30035f0 | 5cae02953c26c9315cd1f9acfbe6f5c4eef43dec | feat: add FileWriter base interface for data file writers | Add iceberg/data subdirectory with FileWriter base interface that defines common operations for writing Iceberg data files, including data files, equality delete files, and position delete files. | diff --git a/src/iceberg/CMakeLists.txt b/src/iceberg/CMakeLists.txt
index 519757d26..a65bb5b37 100644
--- a/src/iceberg/CMakeLists.txt
+++ b/src/iceberg/CMakeLists.txt
@@ -20,6 +20,7 @@ set(ICEBERG_INCLUDES "$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/src>"
set(ICEBERG_SOURCES
arrow_c_data_guard_internal.cc
cat... | 3 | 3 | 1 | [{"id": "G0", "claim": "The data_writer_test registration must be moved into the if(ICEBERG_BUILD_BUNDLE) block because the test depends on the Avro and Parquet libraries.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Test cases for the pure-interf... | null |
apache__iceberg-cpp__457 | apache/iceberg-cpp | 457 | defect | a89924de07963d35271ee243c505cf8301e75ffb | bbdfc0503c9097390aae33cd5f0bb6df60112d61 | feat: add simple url encoder & decoder | The url encode and decode function will be used for generating partitions' path, so move it to the common util for later use. | diff --git a/src/iceberg/CMakeLists.txt b/src/iceberg/CMakeLists.txt
index 36c3a483d2..0997e2b4cf 100644
--- a/src/iceberg/CMakeLists.txt
+++ b/src/iceberg/CMakeLists.txt
@@ -94,6 +94,7 @@ set(ICEBERG_SOURCES
util/timepoint.cc
util/truncate_util.cc
util/type_util.cc
+ util/url_encoder.cc
util/uui... | 2 | 2 | 1 | [{"id": "G0", "claim": "Avoid adding the cpr dependency to the core iceberg library and instead implement a minimal own URL encode/decode utility for partition paths.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G6", "claim": "Rename the local hex_chars constant to k... | null |
apache__iceberg-cpp__490 | apache/iceberg-cpp | 490 | defect | 68fe381366338a5d86b13dbd611a0b3f10212905 | 3b03dbaa6c64f1f92f624b55e3f1eface123763b | feat: support expire snapshots | This PR is part1 implements to support expire snapshots described in issue https://github.com/apache/iceberg-cpp/issues/364.
1 Add ExpireSnapshot in TableMetadataBuilder,Table,Transaction...
2 Add basic UT for TableMetadataBuilder and E2E with in memory catalog
TODO: FileCleanupStrategy and file recycle need an... | diff --git a/src/iceberg/CMakeLists.txt b/src/iceberg/CMakeLists.txt
index 2ecd652f7d..fbec4e5658 100644
--- a/src/iceberg/CMakeLists.txt
+++ b/src/iceberg/CMakeLists.txt
@@ -80,6 +80,7 @@ set(ICEBERG_SOURCES
transform.cc
transform_function.cc
type.cc
+ update/expire_snapshots.cc
update/pending_u... | 19 | 13 | 5 | [{"id": "G0", "claim": "Wait for PR #408 (which adds SetRef and AddSnapshot) to be merged and leave those methods as not implemented for now.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "RemoveRef does not align with the Java impl, which resets current... | null |
apache__iceberg-cpp__519 | apache/iceberg-cpp | 519 | defect | a457099e60cdd763b758d71c4c6a77e122dcb181 | e94fcc81f66a59e0aaae6f6166338389c87f1018 | chore: refactor DataFileSet and make WriteManifests to accept span | - Move DataFileSet out of content_file_util.h to data_file_set.h to reduce header dependencies
- Refactor WriteDataManifests and WriteDeleteManifests to accept span instead of vector | diff --git a/src/iceberg/test/CMakeLists.txt b/src/iceberg/test/CMakeLists.txt
index 3414a862e..28e0b8d51 100644
--- a/src/iceberg/test/CMakeLists.txt
+++ b/src/iceberg/test/CMakeLists.txt
@@ -109,6 +109,7 @@ add_iceberg_test(util_test
SOURCES
bucket_util_test.cc
co... | 3 | 3 | 0 | [{"id": "G0", "claim": "Install data_file_set.h via the meson build.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add data_file_set_test.cc to the meson test build.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "i... | null |
apache__iceberg-cpp__544 | apache/iceberg-cpp | 544 | defect | e7f1d0f539eb9586319cb9115e47e395e8377aea | 9da9f7603969a95738fe3e14820c06cf7eb7f02c | feat: Implement NoopAuthManager and integrate it with RestCatalog | - Add NoopAuthManager for "none" authentication type
- Register "none" auth type in static registry with case-insensitive matching
- Add KnownAuthTypes() to distinguish known-but-unimplemented types (NotImplemented) from unknown types (InvalidArgument)
- Integrate AuthManager into RestCatalog | diff --git a/src/iceberg/catalog/rest/auth/auth_managers.cc b/src/iceberg/catalog/rest/auth/auth_managers.cc
index ab076e97fc..0b7559a2b8 100644
--- a/src/iceberg/catalog/rest/auth/auth_managers.cc
+++ b/src/iceberg/catalog/rest/auth/auth_managers.cc
@@ -21,8 +21,10 @@
#include <algorithm>
#include <cctype>
+#inclu... | 13 | 13 | 4 | [{"id": "G0", "claim": "The new auth_manager_test.cc should also be registered in the meson.build test sources, not only in CMakeLists.txt.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "FetchServerConfig should take the session as an auth::AuthSession&... | null |
apache__iceberg-cpp__551 | apache/iceberg-cpp | 551 | defect | 5dda5a39aadd412b45d2b01d96d4dc6826e030bc | 8a10475f4c08b52c884bfd62df8b5fa753c99c31 | refactor(manifest): remove MakeVxWriter functions in favor of MakeWriter | Remove MakeVxWriter functions in favor of MakeWriter, and apply int8_t to all format version parameters for consistency. | diff --git a/src/iceberg/constants.h b/src/iceberg/constants.h
index 1d5941626..8c81ab60c 100644
--- a/src/iceberg/constants.h
+++ b/src/iceberg/constants.h
@@ -30,6 +30,11 @@
namespace iceberg {
+/// \brief Iceberg table format versions
+constexpr int8_t kFormatVersion1 = 1;
+constexpr int8_t kFormatVersion2 = 2;... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new kFormatVersion1/2/3 constants should be dropped in favor of using the literal format versions 1/2/3 as before.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__iceberg-cpp__552 | apache/iceberg-cpp | 552 | defect | 43b83c53f40c17991a4595c334694908e5392632 | a2019537c8958f7fad748bc6317cd6a78fc51446 | feat: implement DataWriter for Iceberg data files | Implements DataWriter class for writing Iceberg data files as part of issue #441 (task 2).
Implementation:
- Factory method DataWriter::Make() for creating writer instances
- Support for Parquet and Avro file formats via WriterFactoryRegistry
- Complete DataFile metadata generation including partition info, colum... | diff --git a/src/iceberg/data/data_writer.cc b/src/iceberg/data/data_writer.cc
index 0998e9efbe..2fa55d99b1 100644
--- a/src/iceberg/data/data_writer.cc
+++ b/src/iceberg/data/data_writer.cc
@@ -19,20 +19,124 @@
#include "iceberg/data/data_writer.h"
+#include "iceberg/file_writer.h"
+#include "iceberg/manifest/man... | 11 | 10 | 1 | [{"id": "G0", "claim": "Returning an always-empty Status from Initialize() is odd, and initialization should happen in the constructor instead of a separate Initialize() method.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Close() should arguably be id... | null |
apache__iceberg-cpp__553 | apache/iceberg-cpp | 553 | defect | 43b83c53f40c17991a4595c334694908e5392632 | 684d85c0454f9ac8e5bc996e0cb4f03959cdbd55 | feat: add json serde for expressions | This is the second PR in addressing serde for expression for predicate push down. It implements the rest of the expression serde logic. It closely matches the java Implementation at https://github.com/apache/iceberg/blob/main/core/src/main/java/org/apache/iceberg/expressions/ExpressionParser.java
I tried to achieve/... | diff --git a/src/iceberg/expression/json_serde.cc b/src/iceberg/expression/json_serde.cc
index 0fd7dd01df..d0a470725a 100644
--- a/src/iceberg/expression/json_serde.cc
+++ b/src/iceberg/expression/json_serde.cc
@@ -17,6 +17,7 @@
* under the License.
*/
+#include <cctype>
#include <format>
#include <ranges>
#in... | 9 | 7 | 0 | [{"id": "G0", "claim": "Add a [[unlikely]] hint to the is-string error branch in NamedReferenceFromJson.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The <cctype> include added at the top of json_serde.cc may not be needed.", "category": "maintain... | null |
apache__iceberg-cpp__562 | apache/iceberg-cpp | 562 | defect | 8bf089f50d71317741c2bd80ec9cdbc8fa61f918 | e1439d8e4119f03f5922805de5d9cb9bd17015cb | feat: bind literals with right type after serde | expressions serde will convert some types to string but right now, the binding process does not support translating from the string representation back to the right type this PR addresses this gap.
This PR must be landed after https://github.com/apache/iceberg-cpp/pull/553 is merged. | diff --git a/src/iceberg/expression/json_serde.cc b/src/iceberg/expression/json_serde.cc
index 9aea284d3a..bef3c4b49a 100644
--- a/src/iceberg/expression/json_serde.cc
+++ b/src/iceberg/expression/json_serde.cc
@@ -298,10 +298,126 @@ Result<nlohmann::json> ToJson(const Literal& literal) {
}
}
-Result<Literal> Lit... | 13 | 13 | 9 | [{"id": "G0", "claim": "ParseTime checks str.size() < 5 only after from_chars has already read str.data()+3..str.data()+5, which is undefined behaviour for short strings; the size check must come first.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
apache__iceberg-cpp__564 | apache/iceberg-cpp | 564 | defect | 721e5294e7ad6c734e5c91a92ecd6e53570e0431 | ba9354e6b4b38b97821ed5d55a8f3f24fab1944c | feat: Implement BasicAuthManager to support basic authentication | feat: Implement BasicAuthManager to support basic authentication | diff --git a/src/iceberg/catalog/rest/auth/auth_managers.cc b/src/iceberg/catalog/rest/auth/auth_managers.cc
index c1fe45f87..7ca7a0f63 100644
--- a/src/iceberg/catalog/rest/auth/auth_managers.cc
+++ b/src/iceberg/catalog/rest/auth/auth_managers.cc
@@ -24,6 +24,7 @@
#include "iceberg/catalog/rest/auth/auth_properties.... | 2 | 2 | 1 | [{"id": "G0", "claim": "BasicAuthManager should validate missing and empty basic-username/basic-password properties with ICEBERG_PRECHECK instead of returning InvalidArgument only when a property is absent.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai... | null |
apache__iceberg-cpp__577 | apache/iceberg-cpp | 577 | defect | f955a5529f018fddb284459502ae61870f3cbba4 | 0e741b91c70e6abbc22af7c9753946445fdbdfee | feat(rest): add initial oauth2 support to rest catalog | Add OAuth2 authentication support for the REST catalog, including:
- OAuth2AuthManager with static token and client_credentials grant flows
Also includes:
- Fix BuildHeaders in http_client.cc to use insert_or_assign so request-specific
headers properly override defaults
TODO:
RefreshToken and ExchangeTok... | diff --git a/src/iceberg/catalog/rest/CMakeLists.txt b/src/iceberg/catalog/rest/CMakeLists.txt
index 1da47d680..2fe8d21bf 100644
--- a/src/iceberg/catalog/rest/CMakeLists.txt
+++ b/src/iceberg/catalog/rest/CMakeLists.txt
@@ -21,6 +21,7 @@ set(ICEBERG_REST_SOURCES
auth/auth_manager.cc
auth/auth_managers.cc
... | 7 | 6 | 2 | [{"id": "G0", "claim": "OAuth2 credential parsing should follow Iceberg Java parity: a credential without a colon is treated as client_secret with empty client_id instead of being rejected, and client_id should only be appended to the token-request form data when it is not empty.", "category": "correctness", "verdict":... | null |
apache__iceberg-cpp__582 | apache/iceberg-cpp | 582 | defect | cd93b99b8704de6a4d3b716b9e45ecdd316c0f8d | 9a7f53abae7d087d8f0620c1d01bf7d7619b8258 | feat: Implement PositionDeleteWriter for position delete files | Implement the PositionDeleteWriter following the same PIMPL pattern as DataWriter. The writer supports both buffered WriteDelete(file_path, pos) calls and direct Write(ArrowArray*) for pre-formed batches. Metadata reports content=kPositionDeletes with sort_order_id=nullopt per spec, and tracks referenced_data_file when... | diff --git a/src/iceberg/data/position_delete_writer.cc b/src/iceberg/data/position_delete_writer.cc
index f58741083..6b9fdd224 100644
--- a/src/iceberg/data/position_delete_writer.cc
+++ b/src/iceberg/data/position_delete_writer.cc
@@ -19,26 +19,203 @@
#include "iceberg/data/position_delete_writer.h"
+#include <m... | 6 | 6 | 4 | [{"id": "G0", "claim": "The flush threshold constant kFlushThreshold should be configurable via writer options.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The automatic flush logic should be covered by a test.", "category": "testing", "verdict": "sup... | null |
apache__iceberg-cpp__583 | apache/iceberg-cpp | 583 | defect | cd93b99b8704de6a4d3b716b9e45ecdd316c0f8d | 3defec3d893af9076c774647797fcf0929f0ea15 | feat: Implement EqualityDeleteWriter for equality delete files | Implement the EqualityDeleteWriter following the same PIMPL pattern as DataWriter. The writer accepts Arrow data matching the equality delete schema (columns for the equality field values) and produces metadata with content=kEqualityDeletes, equality_ids set from options, and sort_order_id propagated from options. | diff --git a/src/iceberg/data/equality_delete_writer.cc b/src/iceberg/data/equality_delete_writer.cc
index 3edb942cb5..b379962ad1 100644
--- a/src/iceberg/data/equality_delete_writer.cc
+++ b/src/iceberg/data/equality_delete_writer.cc
@@ -19,24 +19,131 @@
#include "iceberg/data/equality_delete_writer.h"
+#include ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The C++ EqualityDeleteWriterOptions struct is missing the EncryptionKeyMetadata field the Java implementation's constructor accepts; add a `// TODO: add key_metadata for encryption` comment to the struct to track this missing functionality.", "category": "design", "verdict": "supported", "priori... | null |
apache__iceberg-cpp__608 | apache/iceberg-cpp | 608 | defect | 5666e67ae36973666249621acad460ab0b2900c8 | 520a868ee5a84c149591ac672cead1583bc2675c | feat/perf: optimize AddRange in RoaringPositionBitmap | Replace the per-position loop in `RoaringPositionBitmap::AddRange` with direct calls to `roaring::Roaring::addRange`, matching the optimization in the Java implementation (https://github.com/apache/iceberg/pull/15791).
Added tests for single-position ranges, large contiguous ranges, three-key spanning ranges, and in... | diff --git a/src/iceberg/deletes/roaring_position_bitmap.cc b/src/iceberg/deletes/roaring_position_bitmap.cc
index 04b97b811..dfb560474 100644
--- a/src/iceberg/deletes/roaring_position_bitmap.cc
+++ b/src/iceberg/deletes/roaring_position_bitmap.cc
@@ -128,8 +128,31 @@ void RoaringPositionBitmap::Add(int64_t pos) {
}
... | 6 | 5 | 1 | [{"id": "G0", "claim": "Merge the two consecutive early-return guard clauses in AddRange into a single if block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The three new standalone AddRange no-op tests could be parameterized.", "category": "... | null |
apache__iceberg-cpp__610 | apache/iceberg-cpp | 610 | defect | 36b588701d9e3a2f4a3ce57d3c76374d4a5f9d2b | 9093d1b3730b9c2db24b859d509188522c87241f | feat(data): add DeleteLoader for position and equality delete files | - LoadPositionDeletes dispatches to LoadPositionDelete (file-based) and LoadDV (deletion vectors, not yet implemented).
- LoadEqualityDeletes reads equality delete files into a StructLikeSet. | diff --git a/src/iceberg/CMakeLists.txt b/src/iceberg/CMakeLists.txt
index e0b13250b..4cd5e92c5 100644
--- a/src/iceberg/CMakeLists.txt
+++ b/src/iceberg/CMakeLists.txt
@@ -21,6 +21,7 @@ set(ICEBERG_SOURCES
arrow_c_data_guard_internal.cc
catalog/memory/in_memory_catalog.cc
data/data_writer.cc
+ data/d... | 3 | 3 | 1 | [{"id": "G0", "claim": "The loop should `continue` after handling a deletion vector, so it does not fall through to the position-delete precheck.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The header should use a forward declaration instead of i... | null |
apache__iceberg-cpp__97 | apache/iceberg-cpp | 97 | defect | 1c2530c9bba1a855c9a412d73692d6163351d936 | 6a0ff9b5131ff1334daa2ba825741fa0f2f06b0b | feat: add json serde to name mapping | - add roundtrip json conversion to name mapping
- change MappedField to use std::shared_ptr for better usability
- use optional field_id in MappedField | diff --git a/src/iceberg/json_internal.cc b/src/iceberg/json_internal.cc
index 2ffc543fd9..3614ed230b 100644
--- a/src/iceberg/json_internal.cc
+++ b/src/iceberg/json_internal.cc
@@ -28,6 +28,7 @@
#include <nlohmann/json.hpp>
+#include "iceberg/name_mapping.h"
#include "iceberg/partition_field.h"
#include "icebe... | 1 | 1 | 0 | [{"id": "G0", "claim": "The stale TODO(gangwu) note above field_id in src/iceberg/name_mapping.h can be deleted.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
apache__iceberg-go__452 | apache/iceberg-go | 452 | defect | ff2f3de32af5291ef4a35ce79978bb8000a9a5ff | 9ffe2da7874660b9dd767f2393ed43ded5e5662e | refactor: pass context into actual IO | related https://github.com/apache/iceberg-go/issues/437
All I/O operations must respect the context passed to PlanFiles(ctx) and simmilar methods.
To support that, we stop passing pre-constructed I/O objects and instead construct them ad hoc within PlanFiles, using the provided context | diff --git a/catalog/glue/glue.go b/catalog/glue/glue.go
index f3d14c525..a5ba00e02 100644
--- a/catalog/glue/glue.go
+++ b/catalog/glue/glue.go
@@ -223,13 +223,15 @@ func (c *Catalog) LoadTable(ctx context.Context, identifier table.Identifier, pr
}
ctx = utils.WithAwsConfig(ctx, c.awsCfg)
- // TODO: consider pro... | 2 | 2 | 0 | [{"id": "G0", "claim": "Instead of duplicating the LoadFS-into-closure pattern in every catalog call site, expose a standard helper function that does exactly this and pass that as the default factory.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The f... | null |
apache__iceberg-go__735 | apache/iceberg-go | 735 | defect | 7b2ea9b0393dccccefeffed93095fc44723066f6 | 92565108b52238aa9c5d51d4a66979f642066e07 | feat(table): Add support for row lineage in v3 | This should fully support read path and partially support write path
Unsupported write path:
- Rewrite/compaction: When overwrite or rewrite copies existing rows into new data files, existing non-null `_row_id` and `_last_updated_sequence_number` are not copied into the new files. Row lineage is preserved for append... | diff --git a/manifest.go b/manifest.go
index 68a7234ab0..74e983bd7d 100644
--- a/manifest.go
+++ b/manifest.go
@@ -303,6 +303,8 @@ func (m *manifestFileV1) Partitions() []FieldSummary {
return *m.PartitionList
}
+func (*manifestFileV1) FirstRowId() *int64 { return nil }
+
func (m *manifestFileV1) FetchEntries(fs ... | 15 | 14 | 6 | [{"id": "G0", "claim": "The new public ManifestFile interface method should be named FirstRowID, not FirstRowId, to follow the Go acronym convention used by the other ID names, since renaming a public API after merge would be a breaking change.", "category": "maintainability", "verdict": "supported", "priority": "P1", ... | null |
apache__iceberg-go__762 | apache/iceberg-go | 762 | defect | fd7042c5e41bd2a05383c8e2cbf6c50866214374 | a6f79f4f8d1c238bb3ab88e2ce0ead8e496c42c7 | fix(table): fix refcount leak in enrichRecordsWithPosDeleteFields | Arrays returned by NewArray() have refcount=1. NewRecordBatch calls Retain() on each column, bumping to refcount=2. Without an explicit Release() on the temporary arrays, the count never drops back to 1 when the record batch is released by the caller.
Fix by assigning NewArray() results to local variables and deferr... | diff --git a/table/arrow_scanner.go b/table/arrow_scanner.go
index 6621f6a4b..a0105f0f6 100644
--- a/table/arrow_scanner.go
+++ b/table/arrow_scanner.go
@@ -232,7 +232,12 @@ func enrichRecordsWithPosDeleteFields(ctx context.Context, filePath iceberg.Data
posBuilder.Append(i)
}
- columns := append(inData.Colum... | 2 | 2 | 0 | [{"id": "G0", "claim": "Use a RecordBuilder instead of the manual builders and per-call Release defers, which would manage the refcounts for you.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "Make the mem.AssertSize check a defer at the top of the test ... | null |
apache__iceberg-go__787 | apache/iceberg-go | 787 | defect | a012a1770d70e0df6babcb63e42058f484390602 | 4e8f459cd01b0c7391c0fbc28acf7f3d03e0d6f8 | feat(catalog): add TransactionalCatalog interface and REST multi-table commit | Add support for atomic multi-table commits via the Iceberg REST spec's POST /v1/transactions/commit endpoint.
- Add TableCommit type bundling identifier, requirements, and updates
- Add TransactionalCatalog optional interface with CommitTransaction
- Implement CommitTransaction on REST catalog
- Add Transaction.T... | diff --git a/catalog/catalog.go b/catalog/catalog.go
index cc93e5f2af..bfa573503a 100644
--- a/catalog/catalog.go
+++ b/catalog/catalog.go
@@ -60,6 +60,8 @@ var (
ErrNamespaceNotEmpty = errors.New("namespace is not empty")
ErrNoSuchView = errors.New("view does not exist")
ErrViewAlreadyExists ... | 2 | 2 | 2 | [{"id": "G0", "claim": "Instead of requiring callers to manually mark each transaction committed, the API should provide a separate MultiTableTransaction type backed by the table's catalog to manage multi-table commits.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1... | null |
apache__iceberg-go__789 | apache/iceberg-go | 789 | defect | a012a1770d70e0df6babcb63e42058f484390602 | ae8e7fb50f4dfc33a042ba5c1275e9c57aede4b9 | feat(table): add RowDelta API for atomic row-level mutations | Adds `Transaction.NewRowDelta()` — Go equivalent of Java's `BaseRowDelta`. Commits data files and delete files (position or equality) in one atomic snapshot. This is needed for row-level mutations: an UPDATE becomes an equality delete for the old row + append of the new row, both in one commit.
Resolves #602.
## ... | diff --git a/table/row_delta.go b/table/row_delta.go
new file mode 100644
index 000000000..59131720a
--- /dev/null
+++ b/table/row_delta.go
@@ -0,0 +1,185 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for... | 3 | 1 | 0 | [{"id": "G0", "claim": "NewRowDelta should possibly live in transaction.go instead of row_delta.go.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Since both equality and position delete files are added via appendPositionDeleteFile, that function should ... | null |
apache__iceberg-go__809 | apache/iceberg-go | 809 | defect | dc7a9c384ad425979543e70cbd5205c5f02e40a3 | acc8991ac06ec11b470b1969f2aafbebaa6b3301 | feat(table): equality delete write path | Add EqualityDeleteSchema() for projecting table schema to delete key columns and Transaction.WriteEqualityDeletes() for writing equality delete Parquet files with correct content type and EqualityFieldIDs metadata. Produced DataFiles integrate with the existing RowDelta API.
Wire EqualityFieldIDs through WriteFileIn... | diff --git a/table/equality_delete_writer.go b/table/equality_delete_writer.go
new file mode 100644
index 000000000..95f16e52e
--- /dev/null
+++ b/table/equality_delete_writer.go
@@ -0,0 +1,194 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE ... | 6 | 6 | 1 | [{"id": "G0", "claim": "The new EqualityDeleteSchema may duplicate schema-projection functionality that already exists (Schema.Select), unless the difference is that it flattens nested fields.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The empty-fiel... | null |
apache__iceberg-go__810 | apache/iceberg-go | 810 | defect | dc7a9c384ad425979543e70cbd5205c5f02e40a3 | 126e051ec000468d26393ffbfbce01688d4c1074 | fix(table): deadlock in MapExec when workers error | Use errgroup.WithContext so the first worker error cancels a derived context. Add select on ctx.Done() for both the feeder (ch <- v) and worker (out <- result) sends, allowing them to unblock when the context is cancelled instead of blocking forever.
Closes #796 | diff --git a/table/internal/utils.go b/table/internal/utils.go
index 95a1336d9..df4e0928e 100644
--- a/table/internal/utils.go
+++ b/table/internal/utils.go
@@ -20,6 +20,7 @@ package internal
import (
"bytes"
"container/heap"
+ "context"
"encoding/binary"
"errors"
"fmt"
@@ -525,7 +526,7 @@ func MapExec[T, S ... | 2 | 2 | 1 | [{"id": "G0", "claim": "Instead of using context.Background() internally, MapExec should take a context from its caller.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The producer goroutine should do close(ch), close(out) and err = g.Wait() in a single ... | null |
apache__iceberg-go__820 | apache/iceberg-go | 820 | defect | 884868cbe569a5a6867e6a7a1c5c8374a3d16e62 | e8e8db8ce49857a819e51b815dc9898a1e6ee9ef | feat(table): enforce write-default and initial-default for required fields | When a required field is missing from input data during schema projection, apply its default value instead of panicking:
- Write path (useWriteDefault=true): apply write-default
- Read path (useWriteDefault=false): apply initial-default
This aligns with the Iceberg v3 spec (#589): write-default is used at write ti... | diff --git a/table/arrow_utils.go b/table/arrow_utils.go
index 6af3af4b2..6b7ced3cd 100644
--- a/table/arrow_utils.go
+++ b/table/arrow_utils.go
@@ -973,11 +973,25 @@ func (a *arrowProjectionVisitor) Struct(st iceberg.StructType, structArr arrow.A
arr = array.MakeArrayOfNull(compute.GetAllocator(a.ctx), dt, struct... | 2 | 2 | 0 | [{"id": "G0", "claim": "The newly added defer arr.Release() in the missing-required-field branches looks unnecessary since release is already handled above or by subsequent steps (were we seeing an actual memory leak?), and this duplicated block is messy enough to be worth refactoring.", "category": "maintainability", ... | null |
apache__iceberg-go__850 | apache/iceberg-go | 850 | defect | f51578fc03182c70d9b1c0c29db48638e0bb7e40 | 2eb4e8026c392f228c7a2daf5abf6d678d610e50 | feat(table): add bin-pack compaction strategy | Add CompactionConfig and Plan() that groups FileScanTasks by partition, classifies files as candidates based on size thresholds and delete file counts, and bin-packs candidates into CompactionGroups using the existing SlicePacker. This is the planning layer for RewriteDataFiles (#832).
- Oversized files skipped unle... | diff --git a/table/compaction_strategy.go b/table/compaction_strategy.go
new file mode 100644
index 0000000000..b47210920b
--- /dev/null
+++ b/table/compaction_strategy.go
@@ -0,0 +1,277 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+/... | 8 | 6 | 0 | [{"id": "G0", "claim": "Compaction should live in a subpackage inside table (or the table package be reduced) instead of adding more to the table package.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The EstOutputBytes doc comment should also mention t... | null |
apache__iceberg-go__851 | apache/iceberg-go | 851 | defect | 42184e186a7be910ca40fcdd3ff24940fefe63f8 | a790ad5d7572ab90a9f32391c95327cd9ef7b371 | feat(table): support delete file removal in overwrite commits | Extend the overwrite snapshot producer to atomically remove delete files (position + equality) alongside data file replacement. This is the commit primitive needed for compaction (#832) to clean up fully-applied delete files.
- Add deletedDeleteFiles tracking to snapshotProducer with removeDeleteFile()
- existingMa... | diff --git a/table/snapshot_producers.go b/table/snapshot_producers.go
index 7f5ba973ee..809c4322ed 100644
--- a/table/snapshot_producers.go
+++ b/table/snapshot_producers.go
@@ -141,7 +141,14 @@ func (of *overwriteFiles) existingManifests() ([]iceberg.ManifestFile, error) {
foundDeleted := make([]iceberg.ManifestEn... | 1 | 1 | 1 | [{"id": "G0", "claim": "The pull request needs tests for the delete file removal in overwrite commits it introduces.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
apache__iceberg-go__855 | apache/iceberg-go | 855 | defect | f39fb26e2ff75f395116d728d8e4fdb4b83b979b | 139e28352e311eb2a075bc2eab794853833d18ef | feat(table): classify deletion vectors in scan planning | Separate deletion vectors from regular positional delete files during scan planning. DVs are identified by having ReferencedDataFile set on a positional delete manifest entry (Iceberg v3 spec).
- Add dvEntries bucket to manifestEntries with isDeletionVector() helper
- In collectManifestEntries: route DV entries sep... | diff --git a/table/dv_scan_planning_test.go b/table/dv_scan_planning_test.go
new file mode 100644
index 0000000000..fe6ebe6864
--- /dev/null
+++ b/table/dv_scan_planning_test.go
@@ -0,0 +1,263 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE f... | 2 | 2 | 1 | [{"id": "G0", "claim": "Combine the ref declaration and nil-check into a single if statement: `if ref := del.DataFile().ReferencedDataFile(); ref != nil {` instead of assigning ref on its own line.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
apache__iceberg-go__881 | apache/iceberg-go | 881 | defect | 526492a886ee2651de254eefedd863e10b77cd0d | 76a92f4d1d35ccb12909677959af13e66e141f02 | fix: emit proper Avro fixed schema for FixedType partition columns (#845) | Replace the bytes fallback with avro.NewFixedSchema of the correct size. Update write path to encode []byte as [N]byte fixed arrays, and read path to decode them back. Adds round-trip test for fixed partition columns. | diff --git a/internal/avro_schemas.go b/internal/avro_schemas.go
index 2e281866a7..c09cd53f3f 100644
--- a/internal/avro_schemas.go
+++ b/internal/avro_schemas.go
@@ -51,6 +51,10 @@ func DecimalSchema(precision, scale int) avro.Schema {
DecimalRequiredBytes(precision), avro.NewDecimalLogicalSchema(precision, scale))... | 2 | 1 | 0 | [{"id": "G0", "claim": "Use `rv.Bytes()` or, failing that, `rv.Slice(0, rv.Len()).Bytes()` instead of the manual reflect.Array-to-[]byte loop in convertAvroValueToIcebergType.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "This PR's fixed-schema... | null |
apache__iceberg-go__890 | apache/iceberg-go | 890 | defect | 5d312c6068dde48bd1be8c1ce354aec744e6554a | 699f42666ef1e6b56532a73d1b5a9a3ab827d2bc | fix: decode pre-1.4 Java Iceberg legacy manifest list field names (#889) | Iceberg Java used added_data_files_count, existing_data_files_count, and deleted_data_files_count as manifest list field names (IDs 504/505/506) until apache/iceberg#5338 renamed them to match the spec in the 1.4 release.
Tables written before that fix, or by engines still on older Java versions (Athena, some Trino ... | diff --git a/manifest.go b/manifest.go
index e2109a3780..72e9caa0a5 100644
--- a/manifest.go
+++ b/manifest.go
@@ -173,12 +173,15 @@ func (f *fallbackManifestFileV1) toFile() *manifestFile {
type manifestFileV1 struct {
manifestFile
- AddedFilesCount *int32 `avro:"added_files_count"`
- ExistingFilesCount *int32... | 1 | 1 | 1 | [{"id": "G0", "claim": "The PR's approach of adding parallel legacy struct fields with fallback coalescing repeated in every getter is fragile; the author should switch to an explicit reader schema with field aliases resolved through the avro library's schema resolution (or at least a single post-decode normalization) ... | null |
apache__iceberg-go__891 | apache/iceberg-go | 891 | defect | 5d312c6068dde48bd1be8c1ce354aec744e6554a | 627bb795f1becee43eda578194626185adec238d | feat(table): bloom filter scan pruning for Parquet row groups (#834) | After stats-based row group filtering, apply an additional bloom filter check for EqualTo and In predicates. Row groups where none of the queried values appear in the column bloom filter are skipped, reducing I/O for selective point lookups.
- Add RowGroupBloomPred and ParquetRowGroupTester types to parquet_files.go... | diff --git a/table/arrow_scanner.go b/table/arrow_scanner.go
index 7b4ce22fae..558b43c5c9 100644
--- a/table/arrow_scanner.go
+++ b/table/arrow_scanner.go
@@ -402,10 +402,20 @@ func (as *arrowScan) processRecords(
switch task.Value.File.FileFormat() {
case iceberg.ParquetFile:
- testRowGroups, err = newParquetRo... | 7 | 6 | 4 | [{"id": "G0", "claim": "Float literals must be normalized before bloom-filter hashing (-0.0 → 0.0, NaN → canonical NaN, as Parquet/Java writers do), otherwise searching for 0.0 can miss a row group where the writer stored -0.0, producing false negatives and incorrect query results.", "category": "correctness", "verdict... | null |
apache__iceberg-go__894 | apache/iceberg-go | 894 | defect | 5d312c6068dde48bd1be8c1ce354aec744e6554a | e8310dacbcc0fa3863477c9dcc9e5f8fc3cd7f36 | fix(table): warn on row count mismatch in Overwrite | Add a diagnostic slog.Warn in Transaction.Overwrite when the newly written data files contain fewer rows than the files being deleted. This surfaces silent row loss from broken RecordReader adapters or iterator issues that would otherwise go unnoticed.
The warning is non-blocking — callers that intentionally reduce ... | diff --git a/table/transaction.go b/table/transaction.go
index 6e635851c..bce21f916 100644
--- a/table/transaction.go
+++ b/table/transaction.go
@@ -24,6 +24,7 @@ import (
"errors"
"fmt"
"iter"
+ "log/slog"
"runtime"
"sync"
"time"
@@ -1057,6 +1058,24 @@ func (t *Transaction) Overwrite(ctx context.Context, r... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a test for the new row count mismatch warning in Overwrite, using an slog adapter so that the slog output can be captured.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
apache__iceberg-go__902 | apache/iceberg-go | 902 | defect | 5d312c6068dde48bd1be8c1ce354aec744e6554a | a9efcfddf96ed3d4129ee60f7d037d22243fac49 | feat(#492): implement SetStatistics, RemoveStatistics, AddEncryptionKey, RemoveEncryptionKey updates |
Adds the four remaining table update types required for REST catalog compatibility. Without these, any commit response containing these actions fails with "unknown update action".
Changes:
- table/encryption.go: new file; defines EncryptionKey type (key-id, key-metadata, key-algorithm) separate from statistics ... | diff --git a/table/encryption.go b/table/encryption.go
new file mode 100644
index 0000000000..c27b64dbd5
--- /dev/null
+++ b/table/encryption.go
@@ -0,0 +1,26 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work... | 4 | 4 | 4 | [{"id": "G0", "claim": "The EncryptionKey struct's JSON keys do not follow the V3 spec: it should be `encrypted-key-metadata` not `key-metadata`, there is no KeyAlgorithm in the spec, and the Properties member is missing.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"i... | null |
apache__iceberg-go__912 | apache/iceberg-go | 912 | defect | add5fce0fe83d29eb0f88b39ac8eedae5ee888cc | d5d1f9288da8d3f1ec186732d2cdb32fa7d9c189 | feat(table): retry doCommit on commit-conflict errors (#830) | Wrap Table.doCommit in an exponential-backoff retry loop that retries only on errors.Is(err, table.ErrCommitFailed). 5xx/unknown-state errors are never retried because the commit may have actually succeeded.
ErrCommitFailed is a new sentinel in the table package; catalog/rest's existing sentinel now wraps it via fmt... | diff --git a/catalog/rest/rest.go b/catalog/rest/rest.go
index aaa6f1cd2..a991523ca 100644
--- a/catalog/rest/rest.go
+++ b/catalog/rest/rest.go
@@ -90,9 +90,12 @@ var (
ErrAuthorizationExpired = fmt.Errorf("%w: authorization expired", ErrRESTError)
ErrServiceUnavailable = fmt.Errorf("%w: service unavailable", Er... | 5 | 3 | 1 | [{"id": "G0", "claim": "The new portable table.ErrCommitFailed sentinel duplicates the existing rest.ErrCommitFailed and the reviewer asks why both are needed.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The retry loop could iterate directly over cfg.... | null |
apache__iceberg-go__916 | apache/iceberg-go | 916 | defect | add5fce0fe83d29eb0f88b39ac8eedae5ee888cc | 1e0438710d18c245ffb084515a43b07ced1ccc10 | feat(io): add BulkRemovableIO interface(#914) | Why: Orphan cleanup and snapshot expiration delete files one at a time with Remove(). On cloud object stores (S3, GCS, Azure), this means one HTTP round-trip per file — extremely slow when cleaning up thousands of orphans.
... | diff --git a/io/io.go b/io/io.go
index 1eac931f08..3514591e34 100644
--- a/io/io.go
+++ b/io/io.go
@@ -90,6 +90,31 @@ type WriteFileIO interface {
WriteFile(name string, p []byte) error
}
+// BulkRemovableIO is an optional interface for IO implementations that
+// support deleting multiple files in a single batch ... | 8 | 8 | 5 | [{"id": "G0", "claim": "Merging this PR without #917 means every DeleteOrphanFiles call against a cloud backend fails because the new walkDirectory requires ListableIO which blobFileIO does not implement, and the intermediate reflection-based getBucketFS fallback that peers behind the interface should be dropped in fav... | null |
apache__iceberg-go__926 | apache/iceberg-go | 926 | defect | 021046913af19d3cef02d293682180241ec8a2a2 | c3a3a70729643ed8b7a62c5f5a5516d0de542a7e | fix: use floored division in HourTransform for pre-epoch timestamps (#924) | HourTransform used truncated division (rounds toward zero) which produced incorrect hour buckets for pre-epoch timestamps. Switch to floored division to match Java's Math.floorDiv behavior. | diff --git a/transforms.go b/transforms.go
index 18e799fb6..7094137de 100644
--- a/transforms.go
+++ b/transforms.go
@@ -561,6 +561,19 @@ type TimeTransform interface {
Transformer(Type) (func(any) Optional[int32], error)
}
+// floorDiv performs floored integer division, rounding toward negative infinity.
+// Unli... | 3 | 3 | 0 | [{"id": "G0", "claim": "HourTransform accepts TimestampNsType/TimestampTzNsType in CanTransform but its Transformer and Apply only handle the micros variants, so hour(ts_ns) on v3 tables hits ErrInvalidArgument instead of bucketing; the reviewer asks to fold nanosecond support (factor = time.Hour / time.Nanosecond) int... | null |
apache__iceberg-go__928 | apache/iceberg-go | 928 | defect | 021046913af19d3cef02d293682180241ec8a2a2 | 936dba1ad9cdb23244bbfacda66c3129ee4d29a7 | feat(table): add conflict validation framework | Adds the foundational types, errors, and validator functions that a producer uses to detect conflicting concurrent commits before re-issuing its updates. Framework part of #830.
No producer is wired to use these yet, that step lands with next slice; this change is library plumbing only and has no behavior impact on ... | diff --git a/table/conflict_validation.go b/table/conflict_validation.go
new file mode 100644
index 000000000..291945022
--- /dev/null
+++ b/table/conflict_validation.go
@@ -0,0 +1,541 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// ... | 4 | 4 | 0 | [{"id": "G0", "claim": "The per-snapshot manifest/entry loop in forEachAddedEntry could be simplified by using the existing Snapshot dataFiles(...) helper, with the caveat that the helper may need the ability to also filter manifests by content.", "category": "maintainability", "verdict": "supported", "priority": "P2",... | null |
apache__iceberg-go__934 | apache/iceberg-go | 934 | defect | bb94be70ecc5991cc173286ef4f011c1061ba801 | 07c06bd825b3c616dd707e2133599ff131e4a0a0 | feat(table): wire conflict validators into producers | Part of #830: fourth of five PRs.
The conflict-validation framework from the previous slice is now reachable: every producer runs a validate() pre-flight before cat.CommitTable.
Per producer:
- fastAppendFiles / mergeAppendFiles: no-op (appends are safe).
- overwriteFiles: rejects concurrent adds into the ... | diff --git a/table/commit_validation_test.go b/table/commit_validation_test.go
new file mode 100644
index 000000000..232d8ebb6
--- /dev/null
+++ b/table/commit_validation_test.go
@@ -0,0 +1,149 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE ... | 3 | 3 | 1 | [{"id": "G0", "claim": "A fast append could add a file that was already added by a concurrent fast append, which may be unsafe under specific isolation levels and require potential rejection.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add the fi... | null |
apache__iceberg-go__944 | apache/iceberg-go | 944 | defect | 6fdbf69efb2bb4433f0b0f5931a7ae2a8f0a08b9 | c545b6f82d987092fb41a9dce4cb89ab6f7652ff | feat(catalog): wrap concurrent-write conflicts with ErrCommitFailed | Part of #830 (concurrent-writer conflict detection). Today only the REST catalog wraps its 409 response with table.ErrCommitFailed, so the retry loop in Table.doCommit only fires on REST. Glue, SQL, and Hive return their native conflict errors raw, leaving users on those catalogs unable to opt into commit retries via c... | diff --git a/catalog/glue/glue.go b/catalog/glue/glue.go
index bd95d3eba..3770285d2 100644
--- a/catalog/glue/glue.go
+++ b/catalog/glue/glue.go
@@ -344,6 +344,15 @@ func (c *Catalog) CommitTable(ctx context.Context, identifier table.Identifier,
SkipArchive: aws.Bool(c.props.GetBool(SkipArchive, SkipArchiveDefault)... | 1 | 1 | 0 | [{"id": "G0", "claim": "Replace the unused errors.As target variable concurrentModErr with errors.Is instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.