apache / apache/iotdb

[IoTDB-1518] Session null pointer when create timeseries

Open
#3,745 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
115

Description

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)

Contributor guide

Open the contributing guide

Research direction

Start at org.apache.iotdb.session.Session and inspect createMultiTimeseries, focusing on how null encoding and compressor values are handled. Reproduce the reported null-pointer case and verify that creating timeseries without those values succeeds without changing supported client behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.