v.23.2Improvement

Arrow format: support duration type and related PRs

Arrow format: support the duration type. Closes #45669. #45750 (flynn).
Arrow format: support the Duration type.

Why it matters

This feature adds support for the Duration data type when using the Apache Arrow format in ClickHouse. It resolves the limitation where duration values could not be correctly serialized or deserialized in Arrow, enhancing interoperability and data exchange with systems that leverage the Arrow format.

How to use it

Users can now import and export data containing Duration values using the Arrow format transparently. No additional configuration is required; simply use the Arrow format in your SELECT or INSERT queries as usual.