mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-31 10:04:47 +08:00
The chunk-wise aggregation pushdown code creates a copy of the existing paths; it copies the existing paths to create new ones with pushed-down aggregates. However, the copy_merge_append_path function behaves differently than other copy functions (e.g., copy_append_path); it resets the pathtarget on the copy. This leads to a wrong pathlist and crashes. This PR fixes the wrong pathtarget by setting it after the path is copied.
2 lines
91 B
Plaintext
2 lines
91 B
Plaintext
Fixes: #6571 Fix pathtarget adjustment for MergeAppend paths in aggregation pushdown code
|