You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by "hubcio (via GitHub)" <gi...@apache.org> on 2026/08/26 08:39:36 UTC

[PR] fix(connectors): write iceberg sink data into real table partitions [iggy]

hubcio opened a new pull request, #3969:
URL: https://github.com/apache/iggy/pull/3969

   The Iceberg sink built its partition key from an empty
   PartitionSpec::builder() with hardcoded zero literals, so every
   record landed in one dummy partition (e.g. year=1970) whatever the
   table's spec said, and a batch spanning several partitions was
   never split.
   
   Read the default partition spec from table metadata instead and
   push every batch through one TableWriter: partitioned tables split
   it with RecordBatchPartitionSplitter and fan out to one data file
   writer per partition value, unpartitioned tables map it to the
   single key of their spec (with one null per void field, which the
   commit-time arity check requires). Files finalized by a failed
   batch are deleted before the error is returned so nothing is left
   orphaned on the object store; files are kept on commit failure
   because the catalog may already have applied the commit.
   
   Ports #3860 with its review feedback applied. Fixes #3853
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(connectors): write iceberg sink data into real table partitions [iggy]

Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #3969:
URL: https://github.com/apache/iggy/pull/3969#issuecomment-5423383105

   ## [Codecov](https://app.codecov.io/gh/apache/iggy/pull/3969?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   :white_check_mark: All modified and coverable lines are covered by tests.
   :white_check_mark: Project coverage is 83.15%. Comparing base ([`2e42039`](https://app.codecov.io/gh/apache/iggy/commit/2e420398b9da1fb55de5da24a3b8ba5a2bc13f90?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`4aaa0d3`](https://app.codecov.io/gh/apache/iggy/commit/4aaa0d313d4beffa06d2e5b46e6a842b8d204f53?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   :warning: Report is 1 commits behind head on master.
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   ```diff
   @@             Coverage Diff              @@
   ##             master    #3969      +/-   ##
   ============================================
   - Coverage     84.08%   83.15%   -0.93%     
     Complexity     1358     1358              
   ============================================
     Files          1217     1215       -2     
     Lines        171841   171513     -328     
     Branches     139597   139476     -121     
   ============================================
   - Hits         144484   142627    -1857     
   - Misses        23428    25002    +1574     
   + Partials       3929     3884      -45     
   ```
   
   | [Components](https://app.codecov.io/gh/apache/iggy/pull/3969/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
   |---|---|---|
   | [Rust Core](https://app.codecov.io/gh/apache/iggy/pull/3969/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `85.02% <ø> (+0.03%)` | :arrow_up: |
   | [Java SDK](https://app.codecov.io/gh/apache/iggy/pull/3969/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `66.67% <ø> (ø)` | |
   | [C# SDK](https://app.codecov.io/gh/apache/iggy/pull/3969/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `74.96% <ø> (ø)` | |
   | [Python SDK](https://app.codecov.io/gh/apache/iggy/pull/3969/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `90.10% <ø> (ø)` | |
   | [PHP SDK](https://app.codecov.io/gh/apache/iggy/pull/3969/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `85.65% <ø> (ø)` | |
   | [Node SDK](https://app.codecov.io/gh/apache/iggy/pull/3969/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `88.98% <ø> (-6.83%)` | :arrow_down: |
   | [Go SDK](https://app.codecov.io/gh/apache/iggy/pull/3969/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `54.53% <ø> (-13.77%)` | :arrow_down: |
   
   | [Files with missing lines](https://app.codecov.io/gh/apache/iggy/pull/3969?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
   |---|---|---|
   | [...re/connectors/sinks/iceberg\_sink/src/router/mod.rs](https://app.codecov.io/gh/apache/iggy/pull/3969?src=pr&el=tree&filepath=core%2Fconnectors%2Fsinks%2Ficeberg_sink%2Fsrc%2Frouter%2Fmod.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29yZS9jb25uZWN0b3JzL3NpbmtzL2ljZWJlcmdfc2luay9zcmMvcm91dGVyL21vZC5ycw==) | `53.24% <ø> (+17.57%)` | :arrow_up: |
   
   ... and [94 files with indirect coverage changes](https://app.codecov.io/gh/apache/iggy/pull/3969/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   </details>
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
   - :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(connectors): iceberg sink writes real partitions on iceberg 0.10 [iggy]

Posted by "hubcio (via GitHub)" <gi...@apache.org>.
hubcio merged PR #3969:
URL: https://github.com/apache/iggy/pull/3969


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org