[bug](inverted index) fix npe of InvertedIndexStorageFormat in table property (#32357)

Fix problem that if fe upgrade from a older version, it has error like:

```
MySQL [test]> show full tables;
ERROR 1105 (HY000): NullPointerException, msg: java.lang.NullPointerException: Cannot invoke "org.apache.doris.thrift.TInvertedIndexStorageFormat.toString()" because the return value of "org.apache.doris.catalog.OlapTable.getInvertedIndexStorageFormat()" is null
```
This commit is contained in:
xy720
2024-03-18 11:35:08 +08:00
committed by yiguolei
parent e99b33c274
commit 403820599d

View File

@ -573,6 +573,7 @@ public class TableProperty implements Writable {
.buildMinLoadReplicaNum()
.buildStorageMedium()
.buildStorageFormat()
.buildInvertedIndexStorageFormat()
.buildDataSortInfo()
.buildCompressionType()
.buildStoragePolicy()