Skip to content

Commit

Permalink
[Fix-1638] [core] Fix dlink web could not correct display Boolean typ…
Browse files Browse the repository at this point in the history
…e data (DataLinkDC#1684) (DataLinkDC#1783)

Co-authored-by: aiwenmo <32723967+aiwenmo@users.noreply.github.com>
Co-authored-by: wenmo <32723967+wenmo@users.noreply.github.com>
  • Loading branch information
3 people authored Mar 27, 2023
1 parent 4aee133 commit 7471ba6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dinky-core/src/main/java/org/dinky/result/ResultRunnable.java
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ private Map<String, Object> getFieldMap(List<String> columns, Row row) {
map.put(
column,
((Instant) field).atZone(ZoneId.of(timeZone)).toLocalDateTime().toString());
} else if (field instanceof Boolean) {
map.put(column, field.toString());
} else {
map.put(column, field);
}
Expand Down

0 comments on commit 7471ba6

Please sign in to comment.