`SELECT ... WHERE match(key, '^prefix...')`
should use index similarly to
`SELECT ... WHERE key LIKE 'prefix%'`
return true;
    }
    if (node.isFunction())
    {
        auto func = node.asFunction();
        size_t num_args = func.numArguments();
        if (num_args > 2 || num_args == 0)
            return false;
        out_functions_chain.push_back(func);
        bool ret = false;
        if (num_args == 2)
        {
            if (func.getArgumentAt(0).isConstant())
            {
                ret = isKeyPossiblyWrappedByMonotonicFunctionsImpl(func.getArgumentAt(1), out_key_column_num, out_key_column_type, out_functions_chain);
            }
            else if (func.getArgumentAt(1).isConstant())
            {
                ret = isKeyPossiblyWrappedByMonotonicFunctionsImpl(func.getArgumentAt(0), out_key_column_num, out_key_column_type, out_functions_chain);
            }
        }
        else
        {
            ret = isKeyPossiblyWrappedByMonotonicFunctionsImpl(func.getArgumentAt(0), out_key_column_num, out_key_column_type, out_functions_chain);
        }
        return ret;
    }
    return false;
}
static void castValueToType(const DataTypePtr & desired_type, Field & src_value, const DataTypePtr & src_type, const KeyCondition::Tree & node)