backupccl: invalid serialization of the AST #63216
Labels
A-disaster-recovery
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-disaster-recovery
See this comment by @dt which points to this code:
this is paired with the following code in
schedule_exec.go
:The expectation is thus that ParseOne will restore the original statement. That is not true however;
AsString
implies theFmtSimple
flag, which is meant for display for human users. It is not guaranteed to preserve the statement.The model to follow is the one set by DistSQL; this needs to format using
FmtParsable
instead.cc @pbardea @dt for triage
Epic CRDB-8816
The text was updated successfully, but these errors were encountered: