v.23.9Improvement

Allow File Name Hashing in MergeTree Data Parts to Prevent Length Errors

Allow to replace long names of files of columns in MergeTree data parts to hashes of names. It helps to avoid File name too long error in some cases. #50612 (Anton Popov).
Allows replacing long column file names in MergeTree data parts with hashed names to prevent file name length errors.

Why it matters

This feature addresses the problem of File name too long errors that occur when column file names within MergeTree data parts exceed filesystem limits. By hashing long names, it ensures stability and compatibility of data storage on systems with file name length restrictions.

How to use it

Users can enable this feature by configuring the corresponding setting that replaces column file names with their hashes in MergeTree table data parts. This typically involves setting a parameter before table creation or during server configuration to activate the hashed naming behavior.