From 6e3247ad1038d6c72ee48a719ca29d335f9350d2 Mon Sep 17 00:00:00 2001 From: Rohit Nayak Date: Fri, 23 Aug 2024 09:39:54 +0200 Subject: [PATCH] Improve comment for Type RAW Signed-off-by: Rohit Nayak --- go/vt/proto/query/query.pb.go | 3 +-- proto/query.proto | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/go/vt/proto/query/query.pb.go b/go/vt/proto/query/query.pb.go index 3c19246e135..a959b96b624 100644 --- a/go/vt/proto/query/query.pb.go +++ b/go/vt/proto/query/query.pb.go @@ -318,8 +318,7 @@ const ( // VECTOR specifies a VECTOR type // Properties: 35, IsQuoted. Type_VECTOR Type = 2083 - // RAW specifies a type which won't be quoted but used as is. - // Internal use only. TODO: check if we can use EXPRESSION instead of defining a new one + // RAW specifies a type which won't be quoted but the value used as-is while encoding. Type_RAW Type = 2084 ) diff --git a/proto/query.proto b/proto/query.proto index e343fcf0550..ecb4f7a58ba 100644 --- a/proto/query.proto +++ b/proto/query.proto @@ -218,9 +218,7 @@ enum Type { // VECTOR specifies a VECTOR type // Properties: 35, IsQuoted. VECTOR = 2083; - - // RAW specifies a type which won't be quoted but used as is. - // Internal use only. TODO: check if we can use EXPRESSION instead of defining a new one + // RAW specifies a type which won't be quoted but the value used as-is while encoding. RAW = 2084; }