Tian Jiang created IOTDB-665:
--------------------------------

             Summary: [Distributed] Pull up possible semantic checks
                 Key: IOTDB-665
                 URL: https://issues.apache.org/jira/browse/IOTDB-665
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Engine
            Reporter: Tian Jiang


The life cycle of a PhysicalPlan can be roughly divided into two phases: 
generation and execution. In the stand-alone IoTDB, the two phases are all done 
within the same thread, so if an error occurs in the execution, it can still be 
reported to the client.

But in the distributed version, when the PhysicalPlan moves to the execution, 
it must have been replicated to other nodes and the result is returned to the 
client, so there is no chance for the client to know whether there is an error 
in the execution.

To resolve this, semantic checks should be performed as early as possible, 
including the check of path existence, the match of value and data type, and so 
on.



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

Reply via email to