HappenLee commented on code in PR #42888:
URL: https://github.com/apache/doris/pull/42888#discussion_r1821832810


##########
be/src/vec/data_types/serde/data_type_array_serde.cpp:
##########
@@ -220,19 +221,19 @@ Status 
DataTypeArraySerDe::serialize_one_cell_to_hive_text(
 
 void DataTypeArraySerDe::write_one_cell_to_jsonb(const IColumn& column, 
JsonbWriter& result,
                                                  Arena* mem_pool, int32_t 
col_id,
-                                                 int row_num) const {
-    result.writeKey(col_id);
+                                                 int64_t row_num) const {
+    result.writeKey(cast_set<JsonbKeyValue::keyid_type>(col_id));

Review Comment:
   add a comment  for the cast_set, seems `JsonbKeyValue::keyid_type` is 
uint16_t 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to