morningman commented on a change in pull request #1641: Print src tuple in
error_sample file
URL: https://github.com/apache/incubator-doris/pull/1641#discussion_r313731396
##########
File path: be/src/exec/base_scanner.cpp
##########
@@ -154,17 +154,18 @@ bool BaseScanner::fill_dest_tuple(const Slice& line,
Tuple* dest_tuple, MemPool*
raw_string = raw_value->to_string();
}
std::stringstream error_msg;
- error_msg << " column(" << slot_desc->col_name() << ") value
is incorrect "
- << "while strict mode is " << std::boolalpha
<< _strict_mode;
- _state->append_error_msg_to_file(raw_string,
error_msg.str());
+ error_msg << "column(" << slot_desc->col_name() << ") value is
incorrect "
+ << "while strict mode is " << std::boolalpha <<
_strict_mode
+ << "src value is " << raw_string;
Review comment:
```suggestion
<< ", src value is " << raw_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.
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]