databendlabs / databend

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

`query_max_failures` settings to retry the query #16771

Open sundy-li opened 2 weeks ago

sundy-li commented 2 weeks ago

We can support query_max_failures settings to retry the query when encountering the retriable errors (network etc)

Originally posted by @sundy-li in https://github.com/databendlabs/databend/discussions/16765#discussioncomment-11150027

sundy-li commented 2 weeks ago

Logical Plan could be reused.

We need to add fn is_retriable in ErrorCode.