v.24.1Improvement

Add Settings for Index Type Control in Arrow Dictionary

Add settings for better control of indexes type in Arrow dictionary. Use signed integer type for indexes by default as Arrow recommends. Closes #57401. #58519 (Kruglov Pavel).
Added new settings to control the index type used in Arrow dictionary encoding, defaulting to signed integer indexes as recommended by the Arrow specification.

Why it matters

This feature addresses the need for better control over the index types in Arrow dictionaries, improving compatibility and correctness by using signed integers by default as per Arrow recommendations. It resolves issues related to index type handling in Arrow dictionary encoding.

How to use it

Users can enable or adjust the index type in Arrow dictionary encoding by configuring the new settings introduced in ClickHouse. By default, the indexes are signed integers, but users can override this behavior through the relevant configuration options.