yujun777 opened a new pull request, #64408:
URL: https://github.com/apache/doris/pull/64408

   Case 5 (DUJ1 template) uses `sample rows 3` on a table with 5 rows, but
   only 1 row had a long string exceeding statistics_max_string_column_length
   (1024). With `sample rows 3` reading only 3 of 5 rows, there was a ~40%
   chance that the long row was missed and the assert_true guard never fired.
   When missed, big_str completed normally with an empty skip message,
   causing the test assertion to fail:
   
     expected skip reason visible for col big_str, got msg=
     ==> expected: <true> but was: <false>
   
   The fix makes all 5 rows have repeat('z', 2048) for big_str, so the
   long-string guard always triggers regardless of which rows are sampled.
   
   No other cases are affected: Case 1/2/6 use full-table analyze, Case 3
   uses sample percent 100, and Case 4 explicitly expects the guard NOT
   to apply (partition path).


-- 
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]

Reply via email to