jixuan1989 commented on issue #1565: URL: https://github.com/apache/incubator-iotdb/issues/1565#issuecomment-671443229
在增加这个功能之前,可以通过以下两种方式来达到你想要的输出: 1.使用jdbc的话,resultset的getBoolean方法返回的就是布尔型,自己定义输出就行; 2.使用session api的话,使用sessionDataSet的getObjectValue()方法而不是getStringValue()方法,就可以得到布尔型,再自行输出。 before we add this feature, if you want to return 0/1 rather than true/false, try: 1. when you use JDBC, call `resultset.getBoolean()` method 2. when you use session API, call `sessionDataSet.getObjectValue() rather than getStringValue()` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org