Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
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.
Attachments
Attachments
Issue Links
- links to