apache / apache/iotdb

Support SHORT or INT16 datatype

未关闭
#7,666 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
6.4k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
115

描述

OPC quality code standards request 16 bit for each quality code. If I try to store a series of quality codes (each is a 16-bit integer) in iotdb now, I have to specify its data type as INT32, which leaves 16 unused bits, causing a waste of storage. This will be more significant where there is a lot series of quality codes.

I don't know if current compressing method could deal with that. If so, it will be okay to just use INT32.

贡献指南

打开贡献指南

调研方向

该 issue 未指定任何文件、测试或入口点。首先定位 IoTDB 的数据类型定义以及 INT32 的存储/压缩处理,然后确定是否可以在不浪费存储空间的情况下支持 SHORT 或 INT16。完成的标准是:16 位质量码序列可以使用合适的数据类型存储,或者压缩行为已被记录为足够。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
databases
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。