v.18.12New Feature
Added Support for UInt, Int, and DateTime as Range Hashed External Dictionary Keys
Added the ability to useUInt*,Int*, andDateTimedata types (along with theDatetype) as arange_hashedexternal dictionary key that defines the boundaries of ranges. NowNULLcan be used to designate an open range. Vasily Nemkov
Why it matters
This feature enhances the flexibility ofrange_hashed external dictionaries by allowing a wider variety of data types as range boundaries, including signed and unsigned integers and datetime types. It solves the problem of limited data type support for range keys and introduces the ability to specify open-ended ranges using NULL, thereby improving range querying capabilities and usability for users working with diverse data.How to use it
To use this feature, define your external dictionary with therange_hashed layout and specify UInt*, Int*, or DateTime as the key data types that represent range boundaries. Use NULL values in the key columns to indicate open ranges in the dictionary definition.