Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: missing quotation marks in json (#17432)
ecmadao9d546b34ec54
diff --git a/backend/api/v1/sql_service_export_utils.go b/backend/api/v1/sql_service_export_utils.goindex 32f4fc2933..be183681c3 100644--- a/backend/api/v1/sql_service_export_utils.go+++ b/backend/api/v1/sql_service_export_utils.go@@ -749,7 +749,7 @@ func convertValueToStringInJSON(value *v1pb.RowValue) string {if err != nil {return ""}- return value+ return `"` + value + `"`case *v1pb.RowValue_NullValue:return "null"case *v1pb.RowValue_TimestampValue:diff --git a/backend/api/v1/sql_service_export_utils_test.go b/backend/api/v1/sql_service_export_utils_test.goindex a534e30987..df077bdd05 100644--- a/backend/api/v1/sql_service_export_utils_test.go+++ b/backend/api/v1/sql_service_export_utils_test.go@@ -263,7 +263,7 @@ func TestExportJSON(t *testing.T) {},},},- want: "[{\"a\":0b00000101}]",+ want: "[{\"a\":\"0b00000101\"}]",},{result: &v1pb.QueryResult{