xinyiZzz commented on code in PR #9301:
URL: https://github.com/apache/incubator-doris/pull/9301#discussion_r863506407


##########
be/src/olap/tablet_schema.cpp:
##########
@@ -309,16 +309,21 @@ void TabletColumn::init_from_pb(const ColumnPB& column) {
     _has_default_value = column.has_default_value();
     if (_has_default_value) {
         _default_value = column.default_value();
+    } else {
+        _default_value = "";

Review Comment:
   I understand std::string cannot be made `null`, the default value when 
created is `empty string`. 



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to