imay 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_r302138372
##########
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:
I think you can use a macro to use avx version in avx supported CPU
----------------------------------------------------------------
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]