Skip to content

Commit

Permalink
Add support for columns without data types.
Browse files Browse the repository at this point in the history
  • Loading branch information
psbrandt committed Dec 1, 2015
1 parent 8765e67 commit 270a44b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public SimpleObject asRepresentation(DataSetMetaData metadata, Representation re
Map<String, String> columnMap = new HashMap<String, String>();
columnMap.put("name", column.getName());
columnMap.put("label", column.getLabel());
columnMap.put("datatype", column.getDataType().getName());
columnMap.put("datatype", column.getDataType() == null ? "null" : column.getDataType().getName());
columns.add(columnMap);
}

Expand Down

0 comments on commit 270a44b

Please sign in to comment.