fix: calcite中布尔类型将使用true/false表示,而不是1/0
This commit is contained in:
parent
ab44ebca43
commit
8a5993fc58
@ -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")) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user