关于2.10版本开始禁止在variant上建倒排索引问题

Viewed 11

背景:目前我们生产使用的是2.1.6版本。是可以在variant上建倒排索引的。使用上也没发现什么问题。(可能是没发现)。现在我们想升级到2.1.10版本。但是发现之前的建表语句出现

ERROR 1105 (HY000): errCode = 2, detailMessage = VARIANT is not supported in inverted index format V1,Please set properties("inverted_index_storage_format"= "v2"),or upgrade to a newer version

修改inverted_index_storage_format版本后能够建表。
问题:
1.如果环境直接升级到2.1.10版本,需要重新建表吗,现在升级测试了一下,可以直接升级,但是表的结构还是"inverted_index_storage_format"= "v1",历史索引会变更成v2版本吗?新索引还会构建吗?,如果构建是那个版本。会有什么影响。

2.https://github.com/apache/doris/pull/49159 中提到Index files are not created for variant columns during the build index process, causing link file operations to fail,那后面还推荐在variant columns上建倒排索引吗。

3.如果不升级。那在2.1.6版本上在variant columns上建倒排索引会引发哪些问题呢。

0 Answers