apache / apache/iotdb

当字符串里面包含逗号 ","时。默认的解析可能会失败

Open
#12,424 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
115

Description

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/iotdb/issues) and found nothing similar.

### Version

1.3.1

### Describe the bug and provide the minimal reproduce step

当字符串里面包含逗号 ","时。默认的解析失败。

### What did you expect to see?

修改DefaultIoTSerializationSchema 的separator;

### What did you see instead?

package org.apache.iotdb.flink;
public class DefaultIoTSerializationSchema implements IoTSerializationSchema> {
...
private String separator = "^_^";

### Anything else?

_No response_

### Are you willing to submit a PR?

- [X] I'm willing to submit a PR!

Contributor guide

Open the contributing guide

Research direction

Start by locating DefaultIoTSerializationSchema in the IoTDB Flink integration and inspect how its separator is used when parsing strings. Reproduce the failure with a value containing a comma, then verify that the chosen separator allows such values to be parsed successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.