v.19.16New Feature
Add a Function Getmacro(name) That Returns String with the Value of Corresponding from Server Configuration
Add a functiongetMacro(name)that returns String with the value of corresponding<macros>from server configuration. #7240 (alexey-milovidov)
Why it matters
This feature enables users to access the values of configuration macros defined in theHow to use it
Use the function by callinggetMacro('macro_name') in your SQL queries or expressions, where 'macro_name' is the name of the macro defined in the server