diff --git a/common/src/test/java/com/datastrato/gravitino/json/TestDTOJsonSerDe.java b/common/src/test/java/com/datastrato/gravitino/json/TestDTOJsonSerDe.java index 8f9feb3e351..774041c5e6d 100644 --- a/common/src/test/java/com/datastrato/gravitino/json/TestDTOJsonSerDe.java +++ b/common/src/test/java/com/datastrato/gravitino/json/TestDTOJsonSerDe.java @@ -46,7 +46,7 @@ public class TestDTOJsonSerDe { "{\"name\":%s,\"type\":%s,\"comment\":%s,\"nullable\":%s,\"autoIncrement\":%s}"; private final String tableJson = - "{\"name\":%s,\"comment\":%s,\"columns\":[%s],\"properties\":%s,\"audit\":%s,\"distribution\":%s,\"sortOrders\":%s,\"partitioning\":%s}"; + "{\"name\":%s,\"comment\":%s,\"columns\":[%s],\"properties\":%s,\"audit\":%s,\"distribution\":%s,\"sortOrders\":%s,\"partitioning\":%s,\"indexes\":%s}"; private String withQuotes(String str) { return "\"" + str + "\""; @@ -242,6 +242,7 @@ public void testTableDTOSerDe() throws Exception { String.format(auditJson, withQuotes(creator), withQuotes(now.toString()), null, null), null, null, + null, null); Assertions.assertEquals(expectedJson, serJson); }