imay commented on a change in pull request #1255: Change strategy of incorrect 
data
URL: https://github.com/apache/incubator-doris/pull/1255#discussion_r290651357
 
 

 ##########
 File path: be/src/exec/broker_scanner.cpp
 ##########
 @@ -585,21 +594,55 @@ bool BrokerScanner::fill_dest_tuple(const Slice& line, 
Tuple* dest_tuple, MemPoo
             continue;
         }
 
-        ExprContext* ctx = _dest_expr_ctx[ctx_idx++];
+        ExprContext* ctx = _dest_expr_ctx[ctx_idx];
         void* value = ctx->get_value(_src_tuple_row);
-        if (value == nullptr) {
+        // if not in strict mode or ctx is a column function expr     
 
 Review comment:
   if (value == null) {
   // process strict or no-strict logical
   }
   // process value

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

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

Reply via email to