SQL Expressions: Return error on malformed input (#110479)

Fixup on a misleading error being returned due to a missing return statement in the code. Was returning the error "conversion succeeded but no frames" even though there was an error.
This commit is contained in:
Kyle Brandt
2025-09-02 14:49:04 -04:00
committed by GitHub
parent 099a43aa10
commit d97836f407
2 changed files with 12 additions and 0 deletions
+1
View File
@@ -378,6 +378,7 @@ func handleSqlInput(ctx context.Context, tracer trace.Tracer, refID string, forR
convertedFrames, err := ConvertToFullLong(dataFrames)
if err != nil {
result.Error = sql.MakeInputConvertError(err, refID, forRefIDs, dsType)
return result, true
}
if len(convertedFrames) == 0 {