v.18.12Experimental Feature

Added JIT Compilation Cache and Expression Compilation Setting

Added a cache of JIT-compiled functions and a counter for the number of uses before compiling. To JIT compile expressions, enable the compile_expressions setting. #2990 #3077
Added a cache for JIT-compiled functions along with a usage counter to delay compilation until functions are used enough times.

Why it matters

This feature improves query performance by compiling expressions just-in-time (JIT) after they have been used multiple times, reducing unnecessary compilation overhead and speeding up execution for frequently used expressions.

How to use it

Enable JIT compilation of expressions by setting compile_expressions to 1 (true) in your query or session settings.