Skip to content

[Bug][Manager] Wrong separator in CSV deserialization info #3799

@vernedeng

Description

@vernedeng

What happened

when generate sort deserialization info, both in KAFKA and File source, the way to get separator is wrong.

image

The row separator field is represented by ASCII in String format.
For example, separator "|" will be represeted by “124” in String.
The process SerializationUtils to get will result in separator in char format to char 1.

What you expected to happen

fix it

How to reproduce

Generate one sort task of file or kafka source with CSV format and set separator to "|".

Environment

No response

InLong version

1.1.0

InLong Component

InLong Manager

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    stage/staleIssues or PRs that had no activity for a long timetype/bugSomething is wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions