Jialin Qiao created IOTDB-218:
---------------------------------
Summary: Using exception instead of returning true/false
Key: IOTDB-218
URL: https://issues.apache.org/jira/browse/IOTDB-218
Project: Apache IoTDB
Issue Type: Improvement
Reporter: Jialin Qiao
"boolean insert(InsertPlan insertPlan) throws ProcessorException;"
For example, this is the insert interface in IQueryProcessExecutor, we should
use exception instead of returning true or false because exception could return
a message to the client. Otherwise, the client only know an "Execute statement
error", which is not friendly at all.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)