Zhong Wang created IOTDB-2060:
---------------------------------

             Summary: 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


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)

Reply via email to