Re: [jira] [Created] (IOTDB-359) [0.9.0] TsFile Sketch Tool prints wrong results when the tsfile is very large

2019-12-10 Thread Xiangdong Huang
Hi,

Does this bug only affects the sketch-print-tool, or the TsFile actually?

Best,
---
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院


Lei Rui (Jira)  于2019年12月10日周二 下午5:53写道:

> Lei Rui created IOTDB-359:
> -
>
>  Summary: [0.9.0] TsFile Sketch Tool prints wrong results when
> the tsfile is very large
>  Key: IOTDB-359
>  URL: https://issues.apache.org/jira/browse/IOTDB-359
>  Project: Apache IoTDB
>   Issue Type: Bug
> Reporter: Lei Rui
>
>
> I used the TsFile sketch tool on a TsFile sized 2.2G, and the printed
> result is wrong for that the ChunkGroupMetaDatas are not printed in their
> address ascending order.
>
> I analyzed this bug and find that `int` is used when comparing the address
> of ChunkGroupMetaDatas. However, the address should be long data type.
>
> I'll fix this bug soon :)
>
>
>
> --
> This message was sent by Atlassian Jira
> (v8.3.4#803005)
>


[jira] [Created] (IOTDB-359) [0.9.0] TsFile Sketch Tool prints wrong results when the tsfile is very large

2019-12-10 Thread Lei Rui (Jira)
Lei Rui created IOTDB-359:
-

 Summary: [0.9.0] TsFile Sketch Tool prints wrong results when the 
tsfile is very large
 Key: IOTDB-359
 URL: https://issues.apache.org/jira/browse/IOTDB-359
 Project: Apache IoTDB
  Issue Type: Bug
Reporter: Lei Rui


I used the TsFile sketch tool on a TsFile sized 2.2G, and the printed result is 
wrong for that the ChunkGroupMetaDatas are not printed in their address 
ascending order.

I analyzed this bug and find that `int` is used when comparing the address of 
ChunkGroupMetaDatas. However, the address should be long data type.

I'll fix this bug soon :)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)