From 0d3d91e57464657919e2299b5a0d713de3e08016 Mon Sep 17 00:00:00 2001 From: Jeronimo Irazabal Date: Thu, 6 May 2021 17:07:07 -0300 Subject: [PATCH] chore(pkg/api): render varchar as quoted string Signed-off-by: Jeronimo Irazabal --- pkg/api/schema/row_value.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/schema/row_value.go b/pkg/api/schema/row_value.go index c0d5fb6c68..4c3d27f25b 100644 --- a/pkg/api/schema/row_value.go +++ b/pkg/api/schema/row_value.go @@ -33,7 +33,7 @@ func RenderValue(op isSQLValue_Value) string { } case *SQLValue_S: { - return v.S + return fmt.Sprintf("\"%s\"", v.S) } case *SQLValue_B: {