yiguolei commented on code in PR #63153:
URL: https://github.com/apache/doris/pull/63153#discussion_r3231061469


##########
be/src/storage/index/inverted/inverted_index_reader.cpp:
##########
@@ -851,15 +849,15 @@ Status BkdIndexReader::get_bkd_reader(const 
IndexQueryContextPtr& context,
     auto searcher_variant = inverted_index_cache_handle.get_index_searcher();
     bkd_searcher = std::get_if<BKDIndexSearcherPtr>(&searcher_variant);
     if (bkd_searcher) {
-        _type_info = get_scalar_type_info((FieldType)(*bkd_searcher)->type);
-        if (_type_info == nullptr) {
+        _type = (FieldType)(*bkd_searcher)->type;

Review Comment:
   为什么需要强制类型转换



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

Reply via email to