Skip to content

Add processing when a deviceId contains null#185

Merged
JackieTien97 merged 2 commits intoty/iotdb_tsfile_v4from
deviceId_with_null
Jul 31, 2024
Merged

Add processing when a deviceId contains null#185
JackieTien97 merged 2 commits intoty/iotdb_tsfile_v4from
deviceId_with_null

Conversation

@jt2594838
Copy link
Contributor

When constructing an IDeviceID with String[]:
(1) If all segments are null (or length == 0), throw an IllegalDeviceID exception;
(2) If the segments contain tailing nulls, remove them;
(3) If the segments have only one segment after (2), add a tailing null to it.

@JackieTien97 JackieTien97 merged commit 1628f5d into ty/iotdb_tsfile_v4 Jul 31, 2024
@JackieTien97 JackieTien97 deleted the deviceId_with_null branch July 31, 2024 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants