Hi, This is because the written data type is not compatible with the filter constructed in TsFileRead.
I fixed this bug in this PR [1]. [1] https://github.com/apache/incubator-iotdb/pull/378 Best, -- Jialin Qiao School of Software, Tsinghua University 乔嘉林 清华大学 软件学院 > -----原始邮件----- > 发件人: "Yuan Tian (Jira)" <[email protected]> > 发送时间: 2019-09-06 15:14:00 (星期五) > 收件人: [email protected] > 抄送: > 主题: [jira] [Created] (IOTDB-202) Bug in example module > > Yuan Tian created IOTDB-202: > ------------------------------- > > Summary: Bug in example module > Key: IOTDB-202 > URL: https://issues.apache.org/jira/browse/IOTDB-202 > Project: Apache IoTDB > Issue Type: Bug > Reporter: Yuan Tian > Attachments: WechatIMG111.png > > When I use TsFileWriteWithRowBatch class to write into test.tsfile, both of > TsFileRead and TsFileSequenceRead work fine. However, while using > TsFileWriteWithTSRecord to write, TsFileSequenceRead still work well, but > TsFileRead will crash. After printing some record, it will throw an exception > as following: > > !WechatIMG111.png! > > > > > > > > -- > This message was sent by Atlassian Jira > (v8.3.2#803003)
