Why it matters
This feature addresses the issue where tables with incorrect sampling columns cause server startup exceptions even if sampling is never used. By validating the hash function at table creation rather than at sampling time and introducing settings to disable related exceptions, it improves server stability and flexibility when handling MergeTree tables with sampling clauses.How to use it
When creating a MergeTree table, the hash function for the sampling key is checked immediately. If the sampling column is invalid but sampling is not used, you can enable the new server settings to disable exceptions on startup, allowing the server to start normally. Configure these settings in the server configuration file or via command line options to control this behavior.