You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2020/08/05 12:56:26 UTC

[GitHub] [incubator-iotdb] qiaojialin edited a comment on issue #1599: 编码方式无法支持数据类型时,持久化失败

qiaojialin edited a comment on issue #1599:
URL: https://github.com/apache/incubator-iotdb/issues/1599#issuecomment-669175155


   感谢!0.9、0.10.0 版本,如果用 Session 的 createTimeseries 接口手动创建时间序列,需要保证数据类型和编码配套,不然数据持久化会失败。会在 0.10.1 版本修复。
   
   In 0.9 and 0.10.0, If you use Session.createTimeseries manually, please make sure the encoding is corresponding to the data type. Otherwise, the data persistence will fail and thus losing data.
   
   TSDataType: TSEncoding
   
   BOOLEAN : PLAIN, RLE(recommended)
   INT32/INT64: PLAIN, RLE(recommended), TS2_DIFF
   FLOAT/DOUBLE: PLAIN, GORILLA(recommended), RLE(lossy)
   TEXT: PLAIN


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org