You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2019/07/11 01:05:14 UTC

[GitHub] [incubator-doris] morningman commented on a change in pull request #1457: Validate the UTF-8 encode of loading data

morningman commented on a change in pull request #1457: Validate the UTF-8 encode of loading data
URL: https://github.com/apache/incubator-doris/pull/1457#discussion_r302328757
 
 

 ##########
 File path: be/src/exec/broker_scanner.cpp
 ##########
 @@ -453,6 +454,16 @@ bool BrokerScanner::convert_one_row(
 
 // Convert one row to this tuple
 bool BrokerScanner::line_to_src_tuple(const Slice& line) {
+
+    if (!validate_utf8_fast(line.data, line.size)) {
 
 Review comment:
   OK

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


With regards,
Apache Git Services

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