apache / apache/iotdb

[IoTDB-1518] Session null pointer when create timeseries

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

描述

In org.apache.iotdb.session.Session, createMultiTimeseries don't support encoding or compressor to be null, which will throw null pointer error. But in client, it is supported to create series without encoding and compressor. The details are as follows

![image](https://user-images.githubusercontent.com/46039728/129471549-fc78ceb9-cb22-4f03-8afa-8470abd1c375.png)

![image](https://user-images.githubusercontent.com/46039728/129471608-794546d6-4981-4d38-93f8-4c362c92ddd4.png)

贡献指南

打开贡献指南

调研方向

从 org.apache.iotdb.session.Session 开始检查 createMultiTimeseries,重点关注如何处理为 null 的 encoding 和 compressor 值。复现报告的 null-pointer 情况,并验证在不提供这些值的情况下创建 timeseries 能够成功,同时不改变受支持客户端的行为。

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

评估

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

把新 issue 发到你的邮箱

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