Skip to content

[Bug] String Casting Problem in MongoVersionStrategy.parseFieldsFromJsonRecord #6062

@qq2413273056

Description

@qq2413273056

Search before asking

  • I searched in the issues and found nothing similar.

Paimon version

Issue Description
The parseFieldsFromJsonRecordmethod in MongoVersionStrategycontains a problematic string casting operation that may cause runtime exceptions when processing JSON data.

Problem Location
String evaluate = JsonPath.read(record, parseNames[i]);

Image Image

Compute Engine

fink 1.20.1

Minimal reproduce step

.

What doesn't meet your expectations?

.

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions