v.23.5Improvement

Enhance extractKeyValuePairs Function to Accept Key-Value Delimiter in Values

For the extractKeyValuePairs function: improve the "best-effort" parsing logic to accept key_value_delimiter as a valid part of the value. This also simplifies branching and might even speed up things a bit. #49760 (Arthur Passos).
Improved extractKeyValuePairs function to better parse values containing the key_value_delimiter, enhancing parsing accuracy and performance.

Why it matters

The enhancement addresses limitations in the previous parsing logic of the extractKeyValuePairs function, which struggled when the delimiter appeared within values. This improvement ensures more reliable extraction of key-value pairs in cases where delimiter characters are part of the values, simplifying the parsing process and potentially improving execution speed.

How to use it

Users benefit from this improved parsing automatically when using the extractKeyValuePairs function, without any additional configuration or changes to their queries.