Github user jackylk commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1571#discussion_r154120304
--- Diff:
core/src/main/java/org/apache/carbondata/core/metadata/schema/table/TableInfo.java
---
@@ -341,4 +351,268 @@ public static TableInfo deserialize(byte[] bytes)
throws IOException {
return parentRelationIdentifiers;
}
+ public static TableInfoBuilder builder() {
+ return new TableInfo.TableInfoBuilder();
+ }
+
+ public static class TableInfoBuilder {
--- End diff --
I prefer this style because they are used together (TableInfo and
TableInfoBuilder), some style is used for TableSchema also
---