apache / apache/seatunnel

[Feature][Module Name] The column_error_handle_way in JsonPath configuration does not take effect

Open
#9,778 1 comment 0 reactions 1 assignee Claimed by @goutamadwant View on GitHub
Dominant language
Java
Stars
9.7k
Forks
2.4k
Avg merge
3d 9h
Merged PRs (30d)
204

Description

### Search before asking

- [x] I had searched in the [feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22) and found no similar feature requirement.

### Description

```
JsonPath {
plugin_input = "data1"
plugin_output = "data2"
row_error_handle_way = SKIP

columns = [
{
"src_field" = "content"
"path" = "$.parsedata.address2nd"
"dest_field" = "address2nd"
"column_error_handle_way" = "SKIP"
},
{
"src_field" = "content"
"path" = "$.parsedata.sysReadTime"
"dest_field" = "sysReadTime"
"dest_type" = "date"
"column_error_handle_way" = "SKIP"
}
]
# 输出的json数据包含content,address2nd,sysReadTime
}
```

sysReadTime配置了跳过,还是报错空指针异常,导致task退出

Image

### Usage Scenario

_No response_

### Related issues

_No response_

### Are you willing to submit a PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.