hierarchy.add(hiveDimAttrFromXDimAttr(hd)); hiveDim = new HierarchicalDimAttribute(xd.getName(), xd.getDescription(), hierarchy); } else if (xd.getChainRefColumn() != null && !xd.getChainRefColumn().isEmpty()) { hiveDim = new ReferencedDimAttribute(new FieldSchema(xd.getName(), xd.getType().toLowerCase(), xd.getDescription()), xd.getDisplayString(), getChainRefColumns(xd.getChainRefColumn()), } else { hiveDim = new BaseDimAttribute(new FieldSchema(xd.getName(), xd.getType().toLowerCase(), xd.getDescription()), xd.getDisplayString(), startDate,
hierarchy.add(hiveDimAttrFromXDimAttr(hd)); hiveDim = new HierarchicalDimAttribute(xd.getName(), xd.getDescription(), hierarchy); } else if (xd.getChainRefColumn() != null && !xd.getChainRefColumn().isEmpty()) { hiveDim = new ReferencedDimAttribute(new FieldSchema(xd.getName(), xd.getType().toLowerCase(), xd.getDescription()), xd.getDisplayString(), getChainRefColumns(xd.getChainRefColumn()), } else { hiveDim = new BaseDimAttribute(new FieldSchema(xd.getName(), xd.getType().toLowerCase(), xd.getDescription()), xd.getDisplayString(), startDate,