v.22.2New Feature

Add bitSlice function for extracting bit subsequences from String/FixedString

Add function bitSlice to extract bit subsequences from String/FixedString. #33360 (RogerYK).
Added the bitSlice function to extract subsequences of bits from String and FixedString data types.

Why it matters

The bitSlice function enables users to extract specific ranges of bits from binary string data, allowing more precise and efficient bit-level data manipulation and analysis within ClickHouse.

How to use it

Use the bitSlice function by providing a String or FixedString value along with the start position and length of the bit subsequence to extract:
SELECT bitSlice(your_string_column, start_position, length) FROM your_table