v.21.4New Features

Functions dictGet and dictHas Use Current Database Name for DDL-Created Dictionaries

Functions dictGet, dictHas use current database name if it is not specified for dictionaries created with DDL. Closes #21632. #21859 (Maksim Kita).
Functions dictGet and dictHas now use the current database name by default when dictionaries are created with DDL and no database name is specified.

Why it matters

This feature fixes the issue where dictGet 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 calling dictGet or dictHas on dictionaries created via DDL in the current database. The functions will automatically infer the current database context.