v.21.4New Features
Functions dictGet and dictHas Use Current Database Name for DDL-Created Dictionaries
FunctionsdictGet,dictHasuse current database name if it is not specified for dictionaries created with DDL. Closes #21632. #21859 (Maksim Kita).
Why it matters
This feature fixes the issue wheredictGet and dictHas functions did not correctly resolve dictionaries without an explicit database name, causing errors or unexpected behavior. By using the current database name implicitly, it simplifies dictionary usage and improves usability when working with dictionaries created via DDL.How to use it
Users do not need to explicitly specify the database name when callingdictGet or dictHas on dictionaries created via DDL in the current database. The functions will automatically infer the current database context.