Re: Var-Length-Numeric encoding?

2022-06-19 Thread Yuan Tian
e to confirm that IoTDB uses ZigZag encoding for variable > length signed integers. Possibly a comment to the utils class to which > encoding is actually used, would be a great addition. I’ll probably add one > asap. > > Chris > > > > > From: Xiangdong Huang >

RE: Var-Length-Numeric encoding?

2022-06-17 Thread Christofer Dutz
: Freitag, 17. Juni 2022 09:33 To: dev ; Yuan Tian Subject: Re: Var-Length-Numeric encoding? Hi, I think the encoding implementation is in src/main/java/org/apache/iotdb/tsfile/utils/ReadWriteForEncodingUtils.java @Yuan Tian<mailto:jackiet...@apache.org> implemented it.

Re: Var-Length-Numeric encoding?

2022-06-17 Thread Xiangdong Huang
<https://www.instagram.com/pragmaticindustries/> > Pflichtinformationen > <https://pragmaticindustries.com/datenschutzerklaerung/> gemäß Artikel > 13 DSGVO > > *Von: *Christofer Dutz > *Datum: *Montag, 13. Juni 2022 um 09:50 > *An: *dev@iotdb.apache.org > *Betr

Var-Length-Numeric encoding?

2022-06-13 Thread Christofer Dutz
Hi all, Just out of curiosity. Julian told me TSFiles make use of variable length encoding of numeric types. I would expect the encoding for unsigned integers to be the "ordinary" one where 7 bits of a byte are being used for encoding the numeric value and new bytes are added as long as the fir