EJTTianyu created IOTDB-403:
-------------------------------
Summary: Method encode xxx is not supported by Encoder
Key: IOTDB-403
URL: https://issues.apache.org/jira/browse/IOTDB-403
Project: Apache IoTDB
Issue Type: Bug
Reporter: EJTTianyu
Hi,
Currently, when I use a TSFileWriter to generate a tsfile, write the same
measurement with different data type, the whole tsfile(maybe just the page) can
not be read.
This bug can be reproduced as follows(suppose the measurement is d0.s0):
First, new a Measurement s0 as INT64.
Second, write some LongDataPoint to the tsfile.
Third, write some FloatDataPoint to the tsfile.
Then the exception occurs: Method encode xxx is not supported by Encoder.
Expectedly, user should be able to read the LongDataPoint in the tsfile then.
While in actual, the tsfile is broken. When read,
java.nio.BufferUnderflowException will be thrown.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)