You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/04/07 03:01:28 UTC

[GitHub] [incubator-doris] wuyunfeng commented on a change in pull request #5401: [Doris On ES][Bug-Fix] Query es table failed when es index included null value

wuyunfeng commented on a change in pull request #5401:
URL: https://github.com/apache/incubator-doris/pull/5401#discussion_r608307294



##########
File path: be/src/exec/es/es_scroll_parser.cpp
##########
@@ -314,9 +314,13 @@ Status ScrollParser::fill_tuple(const TupleDescriptor* tuple_desc, Tuple* tuple,
             continue;
         }
 
-        tuple->set_not_null(slot_desc->null_indicator_offset());
         const rapidjson::Value& col = line[col_name];
+        if ((pure_doc_value && col.IsArray() && col[0].IsNull()) || col.IsNull()) {

Review comment:
       Can you give this document example for this condition. As far as I know, doc_value would not be null




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

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



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