v.1.1.54337New Feature

Added format_schema_path Configuration for Cap'n Proto Schema Files

Added the format_schema_path configuration parameter (Marek Vavruşa). It is used for specifying a schema in Cap'n Proto format. Schema files can be located only in the specified directory.
Added the format_schema_path configuration parameter to specify the directory where Cap'n Proto schema files are located for ClickHouse format parsing.

Why it matters

This feature was created to enable users to specify the directory containing Cap'n Proto schema files, which are required to correctly parse or format data using the Cap'n Proto format. It solves the problem of schema file location ambiguity and ensures that schemas are loaded only from a predefined secure directory, improving usability and security for data operations involving Cap'n Proto formats.

How to use it

Set the format_schema_path configuration parameter to the directory path containing your Cap'n Proto schema files. Once configured, ClickHouse will look for schema files only in this directory when processing data in Cap'n Proto format. For example, in the configuration file:

format_schema_path = /path/to/capnp/schemas


This allows you to use Cap'n Proto formats in queries or table definitions by referencing the schema names located in the specified directory.