apache / apache/iotdb

The java sessionDataset's functions is somehow redundant

Open
#7,574 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

![image](https://user-images.githubusercontent.com/87789683/195266390-ae2404f3-5eae-4584-9939-85f6dce95ad8.png)
Given a column index, the data type is unique, so we should provide users with a single "Get" api instead of apis with type. Besides, getting timestamp can be done without making sure what the column is, and the current logic is false when users gives column names or indexes other than "Time" or 1

Contributor guide

Open the contributing guide

Research direction

Start by locating the Java sessionDataset implementation and its typed Get APIs. Compare timestamp retrieval for column names and indexes other than “Time” or 1; done means the redundant typed APIs are consolidated and timestamp lookup works for valid column identifiers without the current assumption.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.