Re: Can it be configured to return 0/1 or true/false when Boolean data is retrieved 可否通过配置,在获取boolean类型数据时,返回0/1 或 true/false #1565

2020-08-20 Thread Xiangdong Huang
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]

Can it be configured to return 0/1 or true/false when Boolean data is retrieved 可否通过配置,在获取boolean类型数据时,返回0/1 或 true/false #1565

2020-08-20 Thread 陈 鹏
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,