fix: calcite中布尔类型将使用true/false表示,而不是1/0

This commit is contained in:
junjun 2023-10-24 16:28:19 +08:00
parent ab44ebca43
commit 8a5993fc58

View File

@ -419,7 +419,7 @@ public class CalciteProvider {
} }
break; break;
case Types.BOOLEAN: case Types.BOOLEAN:
row[j] = rs.getBoolean(j + 1) ? "1" : "0"; row[j] = rs.getBoolean(j + 1) ? "true" : "false";
break; break;
default: default:
if (metaData.getColumnTypeName(j + 1).toLowerCase().equalsIgnoreCase("blob")) { if (metaData.getColumnTypeName(j + 1).toLowerCase().equalsIgnoreCase("blob")) {