You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Wendi He (Jira)" <ji...@apache.org> on 2022/10/13 04:23:00 UTC
[jira] [Created] (IOTDB-4633) Unequal value after bytes transformation by BytesUtils in Tsfile
Wendi He created IOTDB-4633:
-------------------------------
Summary: Unequal value after bytes transformation by BytesUtils in Tsfile
Key: IOTDB-4633
URL: https://issues.apache.org/jira/browse/IOTDB-4633
Project: Apache IoTDB
Issue Type: Bug
Components: TsFile
Reporter: Wendi He
Attachments: example-1-1.jpg, example-1.jpg, example-2.jpg
In iotdb/tsfile, there seems to be some bugs in BytesUtils. BytesUtils.longToBytes is to transform data to bytes and BytesUtils.bytesToLong is to transform the bytes back to the data. The data after transformation is suppoesed to be equal to the data before transformation.
However, in some cases and certain values of data, the value has changed after such transformation. The following examples shows a simple test of this problem.
!example-1.jpg!!example-2.jpg!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)