github-actions[bot] commented on code in PR #29423:
URL: https://github.com/apache/doris/pull/29423#discussion_r1439326621


##########
be/src/util/jsonb_writer.h:
##########
@@ -248,6 +248,18 @@ class JsonbWriterT {
         return 0;
     }
 
+    uint32_t writeDecimal(int128_t decimal) {
+        if ((first_ && stack_.empty()) || (!stack_.empty() && 
verifyValueState())) {
+            if (!writeFirstHeader()) return 0;

Review Comment:
   warning: statement should be inside braces 
[readability-braces-around-statements]
   
   ```suggestion
               if (!writeFirstHeader()) { return 0;
   }
   ```
   



-- 
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