提交 8d99910b 编写于 作者: Q qiaojialin

Merge branch 'rel/0.9' of github.com:apache/incubator-iotdb into rel/0.9

......@@ -174,7 +174,11 @@ public class MManager {
BufferedReader br = new BufferedReader(fr)) {
String cmd;
while ((cmd = br.readLine()) != null) {
operation(cmd);
try {
operation(cmd);
} catch (Exception e) {
logger.error("Skip error cmd log: " + cmd, e);
}
}
}
}
......
......@@ -81,9 +81,12 @@ import org.apache.iotdb.tsfile.read.expression.IExpression;
import org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet;
import org.apache.iotdb.tsfile.utils.Binary;
import org.apache.iotdb.tsfile.utils.Pair;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class QueryProcessExecutor extends AbstractQueryProcessExecutor {
private static final Logger logger = LoggerFactory.getLogger(QueryProcessExecutor.class);
private StorageEngine storageEngine;
private MManager mManager = MManager.getInstance();
......@@ -244,6 +247,10 @@ public class QueryProcessExecutor extends AbstractQueryProcessExecutor {
}
}
MNode measurementNode = node.getChild(measurementList[i]);
if (measurementNode == null) {
logger.error(measurementList[i] + " is not created under " + node.getFullPath());
throw new PathException(measurementList[i] + " is not created under " + node.getFullPath());
}
if (!measurementNode.isLeaf()) {
throw new QueryProcessException(
String.format("Current Path is not leaf node. %s.%s", deviceId,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册