def pa_to_feast_value_attr(pa_type: object):
    """
    Returns the equivalent Feast ValueType string for the given pa.lib type.

    Args:
        pa_type (object):
            PyArrow type.

    Returns:
        str:
            Feast attribute name in Feast ValueType string-ed representation.
    """
    type_map = {'timestamp[ms]': 'int64_val', 'int32': 'int32_val', 'int64':
        'int64_val', 'double': 'double_val', 'float': 'float_val', 'string':
        'string_val', 'binary': 'bytes_val', 'bool': 'bool_val',
        'list<item: int32>': 'int32_list_val', 'list<item: int64>':
        'int64_list_val', 'list<item: double>': 'double_list_val',
        'list<item: float>': 'float_list_val', 'list<item: string>':
        'string_list_val', 'list<item: binary>': 'bytes_list_val',
        'list<item: bool>': 'bool_list_val'}
    return type_map[pa_type.__str__()]
