databend icon indicating copy to clipboard operation
databend copied to clipboard

rm (while in processor thread 0) in error message?

Open youngsofun opened this issue 3 years ago • 1 comments

some tests expect exact error message

while the number 0 may change for each run.

cc @zhang2014

youngsofun avatar Sep 23 '22 08:09 youngsofun

Can we check error code?

Xuanwo avatar Sep 23 '22 09:09 Xuanwo

  1. sometimes we want to give a pretty error message, like SQL syntax error, which point out where is the error, what I encounter is format error, although not need to be as pretty as sql syntax error.
  2. the are error like the sql syntax error or format can not have an error code for each case

currently I use | grep -c 'somekeyword' or | head -c N to work around

youngsofun avatar Sep 23 '22 13:09 youngsofun