[
https://issues.apache.org/jira/browse/IOTDB-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tian Jiang closed IOTDB-276.
----------------------------
> Inconsistent ways of judging the nullness of a Field
> ----------------------------------------------------
>
> Key: IOTDB-276
> URL: https://issues.apache.org/jira/browse/IOTDB-276
> Project: Apache IoTDB
> Issue Type: Bug
> Reporter: Tian Jiang
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.9.0
>
> Attachments: image-2019-10-29-11-43-40-180.png,
> image-2019-10-29-11-45-53-763.png
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Several places are using the `dataType == null` to judge whether a field is
> null or not, while there is a field `isNull` which better suits this job.
> The inconsistent usages may result in that one sets `isNull` to true but find
> that the displayed result is not null.
> !image-2019-10-29-11-43-40-180.png|thumbnail!
> !image-2019-10-29-11-45-53-763.png|thumbnail!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)