[
https://issues.apache.org/jira/browse/IOTDB-2060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhong Wang reassigned IOTDB-2060:
---------------------------------
Assignee: Zhong Wang
> NPE when using fill without a filter
> ------------------------------------
>
> Key: IOTDB-2060
> URL: https://issues.apache.org/jira/browse/IOTDB-2060
> Project: Apache IoTDB
> Issue Type: Bug
> Reporter: Zhong Wang
> Assignee: Zhong Wang
> Priority: Major
> Labels: pull-request-available
>
> To reproduce:
> {code:sql}
> insert into root.sg.d1(time, s1) values(0, 1)
> select * from root.sg.d1 fill(float[previous])
> {code}
> Result:
> {code}
> Msg: 500: [INTERNAL_SERVER_ERROR(500)] Exception occurred: "select * from
> root.sg.d1 fill(float[previous])". executeStatement failed. null
> {code}
> Reason:
> FillQueryOperator#check doesn't check if the whereComponent or
> whereComponent.getFilterOperator() is null.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)