Skip to content

Commit

Permalink
fix: Table mode supports null value display
Browse files Browse the repository at this point in the history
  • Loading branch information
kl7sn committed Jan 11, 2023
1 parent bcbf719 commit 2a26573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/internal/service/inquiry/clickhouse.go
Original file line number Diff line number Diff line change
Expand Up @@ -1837,7 +1837,7 @@ func (c *ClickHouse) doQuery(sql string) (res []map[string]interface{}, err erro
}
for k := range fields {
if isEmpty(values[k]) {
line[fields[k]] = ""
line[fields[k]] = "[NULL]"
} else {
line[fields[k]] = values[k]
}
Expand Down

0 comments on commit 2a26573

Please sign in to comment.