v.23.9Improvement
Added is_deterministic Field to system.functions Table
Added fieldis_deterministicto system tablesystem.functionswhich indicates whether the result of a function is stable between two invocations (given exactly the same inputs) or not. #54766 #55035 (Robert Schulze).
Why it matters
This feature helps users and developers identify which functions in ClickHouse are deterministic, meaning they return consistent results given the same inputs. It aids in query optimization, correctness verification, and understanding function behavior.How to use it
Query thesystem.functions table and check the is_deterministic column to determine if a function is deterministic. For example: sql<br>SELECT name, is_deterministic FROM system.functions WHERE name = 'function_name'<br>