This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch branch-2.1 in repository https://gitbox.apache.org/repos/asf/doris.git
commit 9cd9207304006e12dc2c2e1004b0a34c00ed8ccc Author: qiye <[email protected]> AuthorDate: Thu May 30 10:19:15 2024 +0800 [fix](inverted index) Remove float/double support in index writer (#35615) `float` and `double` is not allowed to build inverted index. We remove them in `inverted_index_writer` to keep consistent with FE. And to avoid unnecessary exception. Co-authored-by: Luennng <[email protected]> --- be/src/olap/rowset/segment_v2/inverted_index_writer.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/be/src/olap/rowset/segment_v2/inverted_index_writer.cpp b/be/src/olap/rowset/segment_v2/inverted_index_writer.cpp index 189cf71bef5..6b8208ba4cd 100644 --- a/be/src/olap/rowset/segment_v2/inverted_index_writer.cpp +++ b/be/src/olap/rowset/segment_v2/inverted_index_writer.cpp @@ -678,8 +678,6 @@ Status InvertedIndexColumnWriter::create(const Field* field, M(FieldType::OLAP_FIELD_TYPE_DECIMAL128I) M(FieldType::OLAP_FIELD_TYPE_DECIMAL256) M(FieldType::OLAP_FIELD_TYPE_BOOL) - M(FieldType::OLAP_FIELD_TYPE_DOUBLE) - M(FieldType::OLAP_FIELD_TYPE_FLOAT) #undef M default: return Status::NotSupported("unsupported type for inverted index: " + --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
