csv: A string type, representing the CSV string to be parsed.
Return Value Type
Returns an object containing two properties:
fieldInfo: Type of FieldInfo[], representing the parsed field information, each element is an object, containing the following properties:
- fieldName: string type, representing the field name.
- description: string type, representing the field description, optional.
- type: DataType type, representing the field type, can be "string", "int", "float", "date".
- role: ROLE type, representing the field role, can be "dimension", "measure".
dataset: DataItem type, representing the parsed dataset, each element is an object, the key is the field name, and the value is the corresponding data: