Skip to content

Conversation

@eldenmoon
Copy link
Member

…th (apache#38213)

```
curl --location-trusted -u root:  -T value.json -H "read_json_by_line:true" -H "format:json"  -H "max_filter_ratio:0.5" -H "jsonpaths: [\"$.id\", \"$.entity_id\", \"$.\"]" http://127.0.0.1:8149/api/regression_test/records/_stream_load
```
When using `JsonFunctions::extract_from_object`, but input obj is not
object type but other types like null, then Status should be
`simdjson::INCORRECT_TYPE` to fill the default value in the later
process. Example, json path is `$.city.name`, but input json is `{"city"
: null}` then `Status::NotFound` should be returned, in the following,
column will be filled with default values.
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@eldenmoon
Copy link
Member Author

run buildall

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 36.53% (9319/25513)
Line Coverage: 28.01% (76332/272510)
Region Coverage: 26.82% (39211/146207)
Branch Coverage: 23.54% (19901/84542)
Coverage Report: http://coverage.selectdb-in.cc/coverage/775afb61d33ae1433368ca0477d828369ab70ed5_775afb61d33ae1433368ca0477d828369ab70ed5/report/index.html

@yiguolei yiguolei merged commit 677435c into apache:branch-2.1 Aug 13, 2024
@eldenmoon eldenmoon deleted the branch-2.1 branch August 13, 2024 12:00
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