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 Apr 16, 2023
1 parent 33142aa commit f79972e
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 f79972e

Please sign in to comment.