databendlabs / databend

𝗗𝗮𝘁𝗮, 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀 & 𝗔𝗜. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://databend.com
https://docs.databend.com
Other
7.85k stars 750 forks source link

bug: flaky test in parser #16640

Open sundy-li opened 4 weeks ago

sundy-li commented 4 weeks ago

Summary

The parser is not stable which makes the test flaky.

It's hard to reproduce it but the error occurs multiple times recently.

https://github.com/databendlabs/databend/actions/runs/11400060258/job/31721149523#step:4:688

0: statement failed: Databend sqllogictests error: http query error: code: 1005, Text: error: 
Error: SelfError("sqllogictest failed")
  --> SQL:1:15
  |
1 | SELECT * FROM "default"."default"."t"
  | ------        ^^^^^^^^^ invalid uri
  | |              
  | while parsing `SELECT ...`

[SQL] copy into @s from t;
at tests/sqllogictests/suites/base/05_ddl/05_0016_ddl_stage.test:70