v.20.11Improvement
ClickHouse-Local Creates Temporary Folder if None Exists
If there is no tmp folder in the system (chroot, misconfigutation etc) clickhouse-local will create temporary subfolder in the current directory. #16280 (filimonov).Why it matters
This feature addresses issues whereclickhouse-local fails due to missing or inaccessible system temporary directories (e.g., in chroot environments or misconfigurations). By creating a temporary subfolder locally, it ensures clickhouse-local can operate smoothly without dependency on the system's tmp folder.How to use it
No explicit user action is required. Whenclickhouse-local detects the absence of a system temporary directory, it automatically creates a temporary subfolder in the current working directory and uses it for temporary files.