> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# engine_file_* session settings

> ClickHouse session settings in the engine_file_* generated group.

These settings are available in [system.settings](https://clickhouse.com/docs/reference/system-tables/settings.md) and are autogenerated from [source](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp).

## engine\_file\_allow\_create\_multiple\_files

Type

Bool

Default

0

Enables or disables creating a new file on each insert in file engine tables if the format has the suffix (`JSON`, `ORC`, `Parquet`, etc.). If enabled, on each insert a new file will be created with a name following this pattern:

`data.Parquet` -> `data.1.Parquet` -> `data.2.Parquet`, etc.

Possible values:

* 0 — `INSERT` query appends new data to the end of the file.
* 1 — `INSERT` query creates a new file.

## engine\_file\_empty\_if\_not\_exists

Type

Bool

Default

0

Allows to select data from a file engine table without file.

Possible values:

* 0 — `SELECT` throws exception.
* 1 — `SELECT` returns empty result.

## engine\_file\_skip\_empty\_files

Type

Bool

Default

0

Enables or disables skipping empty files in [File](https://clickhouse.com/docs/reference/engines/table-engines/special/file.md) engine tables.

Possible values:

* 0 — `SELECT` throws an exception if empty file is not compatible with requested format.
* 1 — `SELECT` returns empty result for empty file.

## engine\_file\_truncate\_on\_insert

Type

Bool

Default

0

Enables or disables truncate before insert in [File](https://clickhouse.com/docs/reference/engines/table-engines/special/file.md) engine tables.

Possible values:

* 0 — `INSERT` query appends new data to the end of the file.
* 1 — `INSERT` query replaces existing content of the file with the new data.
