l2280212 commented on code in PR #9665:
URL: https://github.com/apache/iotdb/pull/9665#discussion_r1173303957
##########
server/src/main/java/org/apache/iotdb/db/mpp/plan/statement/metadata/GetTimeSlotListStatement.java:
##########
@@ -93,8 +108,8 @@ public QueryType getQueryType() {
@Override
public List<PartialPath> getPaths() {
try {
- return Collections.singletonList(new PartialPath(storageGroup));
- } catch (IllegalPathException e) {
+ return Collections.singletonList(new PartialPath(database));
+ } catch (IllegalPathException | NullPointerException e) {
return new ArrayList<>();
Review Comment:
fix
##########
server/src/main/java/org/apache/iotdb/db/mpp/plan/statement/metadata/GetRegionIdStatement.java:
##########
@@ -115,8 +94,8 @@ public QueryType getQueryType() {
@Override
public List<PartialPath> getPaths() {
try {
- return Collections.singletonList(new PartialPath(storageGroup));
- } catch (IllegalPathException e) {
+ return Collections.singletonList(new PartialPath(database));
+ } catch (IllegalPathException | NullPointerException e) {
return new ArrayList<>();
}
Review Comment:
fix
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]