Skip to content

Conversation

wuxueyang96
Copy link
Contributor

When inserting data like the below:

String[] records = new String[]{
        "[{\"id\":400, \"name\":\"400\"}]",
        "[{\"id\":500, \"name\":\"500\"}]"
};
DataStream<String> source = env.fromElements(records);

It fails since connector wrapped the json array into json array's array.

What type of PR is this:

  • BugFix
  • Feature
  • Enhancement
  • Refactor
  • UT
  • Doc
  • Tool

Which issues of this PR fixes :

Fixes #

Problem Summary(Required) :

Checklist:

  • I have added test cases for my bug fix or my new feature
  • This pr will affect users' behaviors
  • This pr needs user documentation (for new or modified features or behaviors)
  • I have added documentation for my new feature or new function

@wuxueyang96 wuxueyang96 force-pushed the wxy/disable_wrapping_json branch from 3fa9b92 to 17e42c9 Compare April 16, 2025 02:45
@wuxueyang96 wuxueyang96 force-pushed the wxy/disable_wrapping_json branch from 8500a40 to 600c0ca Compare April 16, 2025 02:54
@banmoy banmoy merged commit 3e17b7b into StarRocks:main Apr 16, 2025
4 checks passed
@wuxueyang96 wuxueyang96 deleted the wxy/disable_wrapping_json branch April 16, 2025 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants