tulip628 commented on issue #2836: URL: https://github.com/apache/iotdb/issues/2836#issuecomment-799871529
> > json为啥不能通用 > > 假设我给一个json结果,然后与你现在业务中用的json格式不一样的话,肯定需要重新解析json吧? > 相同的数据量,json的字符串大小应该大雨SessionDataSet的结构吧? > 然后对json字符串进行解析和重组,想起来应该是更耗时的吧? > > 另外就是,json没办法分页。现在iotdb客户端一次返回一部分数据,当用户消费完前面的数据时,才继续返回后面的数据。 > 这样即使返回几个G的数据也没事。但是json这里也不好处理吧? 嗯,对的,如果是重新解析和重组应该是更耗时。我想的是类似常用框架mybatis这样,当我使用sessionPool.executeQueryStatement(sql)时,直接返回了数据库字段+内容的形式。 分页问题和json类型的关系不太明白,您说的客户端部分返回持续消费这个我没用到,刚开始用,可能想得不全,我再仔细看看文档,好好想一下,谢谢您 ---------------------------------------------------------------- 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: [email protected]
