dictGet('name', ...) should check for XML dictionary 'name' if XML dict=name does not exists then use SQL dictionary from the currectDatabase()

{
        String resolved_name = DatabaseCatalog::instance().resolveDictionaryName(dictionary_name);
        auto load_result = external_loader.getLoadResult(resolved_name);
        if (!load_result.config)
            throw Exception("Dictionary " + backQuote(dictionary_name) + " not found", ErrorCodes::BAD_ARGUMENTS);
        return ExternalDictionariesLoader::getDictionaryStructure(*load_result.config);
    }
private:
    const Context & context;
    const ExternalDictionariesLoader & external_loader;
    
    std::atomic<bool> access_checked = false;
    
    
    
    
    
};
class FunctionDictHas final : public IFunction