v.23.4Improvement
Support Enum in BSONEachRow and Optimize Map Key Types
Support Enum output/input in BSONEachRow, allow all map key types and avoid extra calculations on output. #48122 (Kruglov Pavel).Why it matters
This feature enables ClickHouse to correctly serialize and deserialize Enum types when using theBSONEachRow format, broadens the range of supported map key types for better flexibility, and improves performance by eliminating unnecessary calculations during output serialization. This enhances data interchange with BSON consumers and improves efficiency.How to use it
Use theBSONEachRow output and input format as usual. Enums will now be correctly handled automatically. You can also utilize maps with any key types supported by this update. No additional configuration is required.