liaoxin01 commented on code in PR #57887:
URL: https://github.com/apache/doris/pull/57887#discussion_r2536023754
##########
regression-test/suites/insert_p0/test_insert_partition_fail_url.groovy:
##########
@@ -80,19 +80,31 @@ suite("test_insert_partition_fail_url") {
// or like this:
// [DATA_QUALITY_ERROR]Encountered unqualified data, stop processing. url:
http://172.16.0.10:8041/api/_load_error_log?
//
file=__shard_303/error_log_insert_stmt_a1ccfb9c67ba40f5-900d0db1d06a19dd_a1ccfb9c67ba40f5_900d0db1d06a19dd
- expectExceptionLike({
+ // or like this (without URL, when error rows exceed MAX_ERROR_NUM):
+ // [DATA_QUALITY_ERROR]Encountered unqualified data, stop processing.
Please check if the source data matches the schema...
+ try {
sql """
INSERT INTO ${dstName} SELECT `id`, `score` FROM ${srcName};
"""
- }, "error_log", "first_error_msg")
+ assertTrue(false, "Expected exception but got none")
Review Comment:
We can't change the case directly; we should investigate the root cause.
--
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]