> ## 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.

# delta_lake_* session settings

> ClickHouse session settings in the delta_lake_* 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).

## delta\_lake\_accurate\_write\_cast

Type

Bool

Default

1

When writing to a DeltaLake table, cast each value to the Delta write-schema type with an accurate cast that throws when a value does not fit the target type, instead of a plain cast that silently truncates it (e.g. `300` written into a Delta `byte` column). Set to `false`, or use a `compatibility` setting below 26.9, for the plain, non-throwing cast.

## delta\_lake\_enable\_engine\_predicate

Type

Bool

Default

1

Enables delta-kernel internal data pruning.

## delta\_lake\_enable\_expression\_visitor\_logging

Type

Bool

Default

0

Enables Test level logs of DeltaLake expression visitor. These logs can be too verbose even for test logging.

## delta\_lake\_insert\_max\_bytes\_in\_data\_file

Type

NonZeroUInt64

Default

1073741824

Defines a bytes limit for a single inserted data file in delta lake.

## delta\_lake\_insert\_max\_rows\_in\_data\_file

Type

NonZeroUInt64

Default

1000000

Defines a rows limit for a single inserted data file in delta lake.

## delta\_lake\_log\_metadata

Type

Bool

Default

0

Enables logging delta lake metadata files into system table.

## delta\_lake\_reload\_schema\_for\_consistency

Type

Bool

Default

0

If enabled, schema is reloaded from the DeltaLake metadata before each query execution to ensure
consistency between the schema used during query analysis and the schema used during execution.

## delta\_lake\_snapshot\_end\_version

Type

Int64

Default

-1

End version of delta lake snapshot to read. Value -1 means to read latest version (value 0 is a valid snapshot version).

## delta\_lake\_snapshot\_start\_version

Type

Int64

Default

-1

Start version of delta lake snapshot to read. Value -1 means to read latest version (value 0 is a valid snapshot version).

## delta\_lake\_snapshot\_version

Type

Int64

Default

-1

Version of delta lake snapshot to read. Value -1 means to read latest version (value 0 is a valid snapshot version).

## delta\_lake\_throw\_on\_engine\_predicate\_error

Type

Bool

Default

0

Enables throwing an exception if there was an error when analyzing scan predicate in delta-kernel.
