function_base58_max_input_size
Maximum size, in bytes, of a single input value for the functionsbase58Encode, base58Decode and tryBase58Decode. The generic base58 conversion is quadratic in the input length, so a single large value can run for a very long time. base58 is meant for short data (keys, hashes, addresses), so the default of 10 KB is a generous safety threshold. base58Encode and base58Decode throw TOO_LARGE_STRING_SIZE for larger inputs, while tryBase58Decode returns an empty string. A value of 0 disables the limit (the behavior before this setting was introduced). The linear base32 and base64 functions are unaffected.
function_date_trunc_return_type_behavior
Allows to change the behaviour of the result type ofdateTrunc function.
Possible values:
- 0 - When the second argument is
DateTime64/Date32the return type will beDateTime64/Date32regardless of the time unit in the first argument. - 1 - For
Date32the result is alwaysDate. ForDateTime64the result isDateTimefor time unitssecondand higher.
function_implementation
Choose function implementation for specific target or variant (experimental). If empty enable all of them.function_locate_has_mysql_compatible_argument_order
Controls the order of arguments in function locate. Possible values:- 0 — Function
locateaccepts arguments(haystack, needle[, start_pos]). - 1 — Function
locateaccepts arguments(needle, haystack, [, start_pos])(MySQL-compatible behavior)
function_range_max_elements_in_block
Sets the safety threshold for data volume generated by function range. Defines the maximum number of values generated by function per block of data (sum of array sizes for every row in a block). Possible values:- Positive integer.
function_sleep_max_microseconds_per_block
Maximum number of microseconds the functionsleep is allowed to sleep for each block. If a user called it with a larger value, it throws an exception. It is a safety threshold.
function_visible_width_behavior
The version ofvisibleWidth behavior. 0 - only count the number of code points; 1 - correctly count zero-width and combining characters, count full-width characters as two, estimate the tab width, count delete characters.