Repository navigation
Backport #115832 to 26.7: Support decimal types for writing in data lakes - #116859
Conversation
|
Workflow [BackportPR], commit [feeb3d0] Summary: ✅ |
The automatic backport dropped the local `field_id` binding in `extendSchemaForPartitions`, so `getAvroType(partition_types[i], field_id)` referenced an undeclared identifier and every build job failed. On 26.7 the partition field ids are always assigned sequentially from 1000 (the `spec_has_all_ids` logic on `master` comes from a different change), so bind the id once and reuse it for both `field_id` and `getAvroType`.
Resolve the conflict in `extendSchemaForPartitions`: `26.7` now derives the partition `field_id` from the persisted partition spec (falling back to the sequential ids starting at 1000), which supersedes the plain fallback binding added here to fix the build. Keep the branch version and pass that `field_id` to the two-argument `getAvroType` introduced by this backport.
|
🕵 @groeneai, investigate the failure: Stateless tests (amd_asan_ubsan, distributed plan, parallel) and provide a fix in a separate PR. If the fix is already in progress, link it here. It is unrelated to this backport (which only touches Iceberg writes): the server aborts on SELECT toStartOfDay(check_start_time) AS day, count(), groupUniqArray(pull_request_number)
FROM checks
WHERE check_start_time > now() - INTERVAL 21 DAY
AND test_name LIKE 'Logical error%part.empty%'
AND test_status IN ('FAIL', 'ERROR')
GROUP BY day ORDER BY day DESCNote that the original fix for that test, #108735, is already present on both |
|
The stack on that row (sha Line 62 on The
It is also not reproducing on master. Every What no merged fix covers: the consumer-side backports are in, and the abort continues on commits that contain them.
The surviving producer is the distributed-plan There is an open tracking issue as well: #115986, So I am not opening a separate PR for this one: #116446 is the fix, and |
Original pull-request #115832
This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.
The PR source
The PR is created in the CI job
Version info
26.7.7.46