xieqijun created IOTDB-1690:
-------------------------------

             Summary: Align by device related code type conversion failed, and 
an error occurred
                 Key: IOTDB-1690
                 URL: https://issues.apache.org/jira/browse/IOTDB-1690
             Project: Apache IoTDB
          Issue Type: Bug
            Reporter: xieqijun
             Fix For: master branch
         Attachments: image-2021-09-15-22-08-44-487.png

Use align by device function:

select * from root.database.student align by device

Will print error:

Msg: 500: [INTERNAL_SERVER_ERROR] Exception occurred: "select * from 
root.database.student align by device". executeStatement failed. 
org.apache.iotdb.db.metadata.mnode.EntityMNode cannot be cast to 
org.apache.iotdb.db.metadata.mnode.IMeasurementMNode

In 1276 lines, var child not instance of IMeasurementMNode type ,so will throw 
ClassCastException. 

!image-2021-09-15-22-08-44-487.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to