The data line contains \n text, causing pt-archiver to mistake it for a newline character when archiving, and the target data is incorrect,Is there a good solution
#################################################
#I did a perl code test, maybe this is the problem
[root@iZ2ze0pd59pbghfhou3e6cZ ~]$cat test.pl
my $row = {
id => 1,
name => “Hello\nWorld”,
desc => “This is\na test”,
};
foreach my $key (keys %$row) {
my $value = $row->{$key};
print “$key: $value\n”;
}
[root@iZ2ze0pd59pbghfhou3e6cZ ~]$perl test.pl
desc: This is
a test
name: Hello
World
id: 1