liaoxin01 opened a new pull request, #64281: URL: https://github.com/apache/doris/pull/64281
### What problem does this PR solve? Issue Number: None Related PR: None Problem Summary: Stream load failed the whole load when a VARIANT JSON object key exceeded variant_max_json_key_length. The failure happened inside VARIANT deserialization and returned before the JSON reader wrote a row-level error log, so the load result had no ErrorURL and users could not locate the source row. This change converts direct VARIANT column INVALID_ARGUMENT failures in the JSON load reader into row-level load errors, writes the source row to the error log, and enriches the key length error with key length, key preview, and parent path when available. ### Release note Stream load now reports direct VARIANT JSON key length parse failures through the load error URL. ### Check List (For Author) - Test: Added regression test test_variant_stream_load_key_error_url. Ran git diff --check. Attempted ./run-be-ut.sh --run --filter=JsonParserTest.KeyLengthLimitByConfig, but it stopped before running tests because thirdparty/installed/lib/libcrc32c.a is missing in this workspace. - Behavior changed: Yes. Direct VARIANT column key length parse failures during JSON stream load are reported as row-level load errors with ErrorURL instead of only aborting without an error log. - Does this need documentation: No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
