Skip to content

Commit

Permalink
[apache#1339] feat(table): Add index for tables.
Browse files Browse the repository at this point in the history
  • Loading branch information
Clearvive authored and Clearvive committed Jan 10, 2024
1 parent 7b0f1cf commit 3c62f53
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 + "\"";
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 3c62f53

Please sign in to comment.