v.23.8Improvement

Add partition column to system part_log and merge table

Add partition column to the system part_log and merge table. #48990 (Jianfei Hu).
Added the partition column to the system.part_log table and to the merge table, enabling direct visibility of partition information in part logs.

Why it matters

This feature allows users to easily track and analyze parts by their partition directly from the system.part_log and merge table. It improves observability and debugging capabilities related to partitioning in ClickHouse, providing more detailed metadata for parts.

How to use it

Users can query the system.part_log or merge table to see the new partition column included automatically without any additional configuration or enablement steps required.