yuqi1129 commented on issue #3926:
URL: https://github.com/apache/gravitino/issues/3926#issuecomment-2311635951
Test code
```java
for (int i = 0; i < 10; i++) {
try {
ResultSet rs = statement.executeQuery("SELECT (UNIX_TIMESTAMP() *
1000.0), EXTRACT(MICROSECOND FROM CURRENT_TIMESTAMP(3)) / 1000");
rs.next();
String v1 = rs.getString(1);
String v2 = rs.getString(2);
LOG.info("Current timestamp-yq: {}, {}", v1, v2);
statement.execute("update schema_meta set deleted_at = 1000 where
schema_id = 1");
} catch (Exception e) {
LOG.error("Failed to connect to H2 database. Retrying...", e);
Thread.sleep(1000);
}
}
```
--
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]