def METHOD_NAME(params, stress_cmds_part: str, search_for_user_profile: str, view_name_substr: str):
    """
    Get materialized view name from user profile defined in the test yaml.
    It may be used when we want query from materialized view that was created during running user profile
    """
    stress_cmd = get_stress_command_for_profile(params=params, stress_cmds_part=stress_cmds_part,
                                                search_for_user_profile=search_for_user_profile)
    if not stress_cmd:
        return ""
    _, profile = get_profile_content(stress_cmd[0])
    mv_cmd = get_view_cmd_from_profile(profile, view_name_substr)
    return get_view_name_from_stress_cmd(mv_cmd[0], view_name_substr)