Skip to content

Commit

Permalink
Merge pull request #6335 from dataease/pr@dev-v2@fix_bool
Browse files Browse the repository at this point in the history
fix: calcite中布尔类型将使用true/false表示,而不是1/0
  • Loading branch information
XiaJunjie2020 authored Oct 24, 2023
2 parents ab44ebc + 8a5993f commit 33305cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ private List<String[]> getDataResult(ResultSet rs) {
}
break;
case Types.BOOLEAN:
row[j] = rs.getBoolean(j + 1) ? "1" : "0";
row[j] = rs.getBoolean(j + 1) ? "true" : "false";
break;
default:
if (metaData.getColumnTypeName(j + 1).toLowerCase().equalsIgnoreCase("blob")) {
Expand Down

0 comments on commit 33305cb

Please sign in to comment.