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


##########
be/src/storage/index/index_writer.cpp:
##########
@@ -67,12 +66,12 @@ Status IndexColumnWriter::create(const StorageField* field, 
std::unique_ptr<Inde
     if (index_meta->is_inverted_index()) {
         bool single_field = true;
         if (type == FieldType::OLAP_FIELD_TYPE_ARRAY) {
-            const auto* array_typeinfo = dynamic_cast<const 
ArrayTypeInfo*>(typeinfo);
+            const auto& column = field->get_desc();

Review Comment:
   这个找到array 里面是什么类型,之前是根据typeinfo 里面拿一下,这里是通过column 拿array 的内部类型,是一样的。



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