forked from github/dataease
Merge pull request #6335 from dataease/pr@dev-v2@fix_bool
fix: calcite中布尔类型将使用true/false表示,而不是1/0
This commit is contained in:
commit
33305cbdce
@ -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