Hi, Thanks for responding this github issue [1].
I want to confirm that... is this your design? Normally, we can put the configurations in jdbc URL, so, getting the configuration from the URL(parameters after the ?) can be a choice. And, is there some better name for RpcConfig? [1] https://github.com/apache/incubator-iotdb/issues/1565 ----------------------------------- Xiangdong Huang School of Software, Tsinghua University 黄向东 清华大学 软件学院 陈 鹏 <peng...@outlook.com> 于2020年8月20日周四 下午11:09写道: > 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模块 > > >