def METHOD_NAME(schema):
    row = []
    for field_schema in schema.fields:
        field_type = field_schema.dataType
        if isinstance(field_type, BooleanType):
            row.append(random.choice([True, False]))
        elif isinstance(field_type, ShortType):
            row.append(random.randint(- (1 << 15), 1 << 15 - 1))
        elif isinstance(field_type, IntegerType):
            row.append(random.randint(- (1 << 31), 1 << 31 - 1))
        elif isinstance(field_type, LongType):
            row.append(random.randint(-(1 << 63), 1 << 63 - 1))
        elif isinstance(field_type, StringType):
            row.append(random_string(field_schema.name, 10))
        elif isinstance(field_type, TimestampType):
            # in milliseconds
            row.append(int(time.time()) * 1000)
        elif isinstance(field_type, DateType):
            row.append(random_date())
        elif isinstance(field_type, DoubleType):
            row.append(random.uniform(-128.0, 128.0))
        elif isinstance(field_type, FloatType):
            row.append(random.uniform(-128.0, 128.0))
        else:
            row.append('{unknown}')
    return row