eldenmoon commented on code in PR #34925:
URL: https://github.com/apache/doris/pull/34925#discussion_r1619010874
##########
be/src/vec/columns/column_object.cpp:
##########
@@ -749,8 +749,13 @@ void ColumnObject::insert_from(const IColumn& src, size_t
n) {
void ColumnObject::try_insert(const Field& field) {
if (field.get_type() != Field::Types::VariantMap) {
auto* root = get_subcolumn({});
- if (!root) {
- doris::Exception(doris::ErrorCode::INVALID_ARGUMENT, "Failed to
find root column_path");
+ if (root == nullptr) {
+ bool succ = add_sub_column({}, num_rows);
Review Comment:
done
--
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]