Skip to content

Commit

Permalink
[warehouse] bugfix inttIotDB collectCheck Bug (#881)
Browse files Browse the repository at this point in the history
Co-authored-by: shenyumin <s_43011024>
  • Loading branch information
shenyumin authored and tomsun28 committed Jan 16, 2024
1 parent 86d75d1 commit 32e2238
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ private boolean initIotDbSession(WarehouseProperties.StoreProperties.IotDbProper

private boolean checkConnection() {
try {
this.sessionPool.executeNonQueryStatement(SHOW_STORAGE_GROUP);
this.sessionPool.executeQueryStatement(SHOW_STORAGE_GROUP);
return true;
} catch (Exception e) {
log.error(e.getMessage(), e);
Expand Down

0 comments on commit 32e2238

Please sign in to comment.