In Session, the JDBC module can set the Boolean return data type to 0/1 or true/false. 可以通过在 Session,JDBC模块中可以设置Boolean的返回数据类型为0/1或true/false
Session Demo: org.apache.iotdb.session.Session#executeQueryStatement TSExecuteStatementReq execReq = new TSExecuteStatementReq(sessionId, sql, statementId); execReq.setFetchSize(fetchSize); RpcConfig.setBoolFormat(RpcConfig.Constant.NUMBER); //RpcConfig.setBoolFormat(RpcConfig.Constant.BOOLEAN); JDBC Demo: org.apache.iotdb.jdbc.IoTDBConnection#IoTDBConnection if (url == null) { throw new IoTDBURLException("Input url cannot be null"); } params = Utils.parseUrl(url, info); RpcConfig.setBoolFormat(RpcConfig.Constant.NUMBER); //RpcConfig.setBoolFormat(RpcConfig.Constant.BOOLEAN); openTransport(); Cli Demo: -h 127.0.0.1 -p 6667 -u root -pw root -bf number -h 127.0.0.1 -p 6667 -u root -pw root -bf bool And the migration of configuration items from part of the JDBC module to the RPC module 以及将部分JDBC模块中的配置项迁移到RPC模块