def map_to_twinmaker_data_type(attr_name, data_type):
    """
    DATA_TYPE	Type
    -------------------
    6	        Int16
    8	        Int32
    11	        Float16
    12	        Float32
    13	        Float64
    101	        Digital
    104	        Timestamp
    105	        String
    102	        Blob
    """
    data_type_mapping = {
        6: 'INTEGER',
        8: 'INTEGER',
        11: 'DOUBLE',
        12: 'DOUBLE',
        13: 'DOUBLE',
        101: 'STRING',
        104: 'STRING',
        105: 'STRING',
        102: 'STRING'
    }

    if data_type in data_type_mapping.keys():
        return data_type_mapping[data_type]
    else:
        raise ValueError('Invalid data type {} for attribute {}'.format(str(data_type), attr_name))