@SuppressWarnings("unchecked")
    public static List<String> getFieldsFromMixedRowData(RowData rowData) {
        return (List<String>) ((GenericRowData) rowData).getField(5);
    }
Creates the row with the given head fields and data row.

@param timeFieldName       The name of the time field. Null if the time field is not required.
@param attributesFieldName The name of the attributes field. Null if the attributes field is
                           not required.
@param time                The time of the inLongMsg.
@param attributes          The attributes of the inLongMsg.
@param dataRow             The data row.
@return The row decorated with head fields.
inlong-sort/sort-formats/format-rowdata/format-inlongmsg-rowdata-base/src/main/java/org/apache/inlong/sort/formats/inlongmsg/InLongMsgUtils.java