Open michae2 opened 2 months ago
Hi @michae2, please add branch-* labels to identify which branch(es) this C-bug affects.
:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.
Actually, I went all the way back to v2.1 and it looks like distsql=always has never returned an error. I must have been thinking of vectorize=experimental_always?
But regardless, it would be nice to have a mode like this.
It can be difficult to understand why a plan cannot distribute. One tool we could use to investigate this is
SET distsql = always
, if it caused statements that cannot distribute to fail with an error explaining why. However, it seems that this mode has never returned an error, and is functionally equivalent to distsql=on.Here's a demonstration on v24.2.0-rc.1:
It would be nice to have a distsql mode (or a variant of EXPLAIN) that helps us understand why a plan cannot distribute.
Jira issue: CRDB-41114