[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:
@ -573,6 +573,7 @@ public class TableProperty implements Writable {
|
||||
.buildMinLoadReplicaNum()
|
||||
.buildStorageMedium()
|
||||
.buildStorageFormat()
|
||||
.buildInvertedIndexStorageFormat()
|
||||
.buildDataSortInfo()
|
||||
.buildCompressionType()
|
||||
.buildStoragePolicy()
|
||||
|
||||
Reference in New Issue
Block a user