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 08:35:40 UTC

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

zhangJiangKai opened a new issue #1599:
URL: https://github.com/apache/incubator-iotdb/issues/1599


   **Describe the bug**
   .
   例如
   GORILLA doesn't support data type: INT32
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. 设置INT32编码方式为GORILLA
   2. 插入多条数据
   3. 重启服务
   4. 数据丢失
   


----------------------------------------------------------------
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



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

Posted by GitBox <gi...@apache.org>.
qiaojialin commented on issue #1599:
URL: https://github.com/apache/incubator-iotdb/issues/1599#issuecomment-669175155


   感谢!0.9、0.10.0 版本,如果用 Session 的 createTimeseries 接口手动创建时间序列,需要保证数据类型和编码配套,不然数据持久化会失败。会在 0.10.1 版本修复。
   
   数据类型和编码的匹配关系:
   
   BOOLEAN : PLAIN, RLE(推荐)
   INT32/INT64: PLAIN, RLE(推荐), TS2_DIFF
   FLOAT/DOUBLE: PLAIN, GORILLA(推荐), 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



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

Posted by GitBox <gi...@apache.org>.
zhangJiangKai commented on issue #1599:
URL: https://github.com/apache/incubator-iotdb/issues/1599#issuecomment-669063863


   @qiaojialin 


----------------------------------------------------------------
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



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

Posted by GitBox <gi...@apache.org>.
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



[GitHub] [incubator-iotdb] jixuan1989 commented on issue #1599: 编码方式无法支持数据类型时,持久化失败 (If the encoding doesn't fit the data type, the data persistence will fail thus losing data)

Posted by GitBox <gi...@apache.org>.
jixuan1989 commented on issue #1599:
URL: https://github.com/apache/incubator-iotdb/issues/1599#issuecomment-670292624


   fixed by PR #1600 and #1602 


----------------------------------------------------------------
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