HappenLee commented on code in PR #51283:
URL: https://github.com/apache/doris/pull/51283#discussion_r2110884144
##########
be/src/vec/columns/column_string.cpp:
##########
@@ -777,6 +777,14 @@ void ColumnStr<T>::insert(const Field& x) {
sanity_check_simple();
}
+template <typename T>
+bool ColumnStr<T>::is_ascii() const {
+ if (chars.empty()) {
Review Comment:
if empty() the `simd::VStringFunctions::is_ascii(StringRef(chars.data(),
chars.size()));` also return true
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]