SQL Expressions: Rework backend errors and error instrumentation (#109633)

* Capture error_type label on metrics/traces
* Make error messages more helpful to user
* Use errutil, categorized errors, and tie them to error_type (category in code)
* Misc trace fixes
* Add metric to track SQL input conversion
This commit is contained in:
Kyle Brandt
2025-08-25 11:13:42 -04:00
committed by GitHub
parent 539b413584
commit 4f0cb47d3c
18 changed files with 858 additions and 299 deletions
+7
View File
@@ -1596,3 +1596,10 @@ func (f fakeNode) String() string {
func (f fakeNode) NeedsVars() []string {
return nil
}
func (f fakeNode) IsInputTo() map[string]struct{} {
return nil
}
func (f fakeNode) SetInputTo(a string) {
}