This is an automated email from the ASF dual-hosted git repository.
yuqi4733 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new 40a41213b [#4190] improvement(jdbc-doris): Remove redundant method
call `toString` in log (#4244)
40a41213b is described below
commit 40a41213bf8281e35191c00d3c110cbbb5dbab1e
Author: Pravin Kumar <[email protected]>
AuthorDate: Mon Jul 29 09:19:31 2024 +0530
[#4190] improvement(jdbc-doris): Remove redundant method call `toString` in
log (#4244)
### What changes were proposed in this pull request?
removed unnecessary call of toString
### Why are the changes needed?
Fix: #4190
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
existing tests
---------
Signed-off-by: pravo23 <[email protected]>
Signed-off-by: pravo23 <[email protected]>
Co-authored-by: pravo23 <[email protected]>
Co-authored-by: pravo23 <[email protected]>
---
.../gravitino/catalog/doris/operation/DorisTableOperations.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git
a/catalogs/catalog-jdbc-doris/src/main/java/org/apache/gravitino/catalog/doris/operation/DorisTableOperations.java
b/catalogs/catalog-jdbc-doris/src/main/java/org/apache/gravitino/catalog/doris/operation/DorisTableOperations.java
index 180924589..2ac519cb5 100644
---
a/catalogs/catalog-jdbc-doris/src/main/java/org/apache/gravitino/catalog/doris/operation/DorisTableOperations.java
+++
b/catalogs/catalog-jdbc-doris/src/main/java/org/apache/gravitino/catalog/doris/operation/DorisTableOperations.java
@@ -392,10 +392,7 @@ public class DorisTableOperations extends
JdbcTableOperations {
if (jobStatus.length() > 0) {
LOG.info(
- "Table {}.{} schema-change execution status: {}",
- databaseName,
- tableName,
- jobStatus.toString());
+ "Table {}.{} schema-change execution status: {}", databaseName,
tableName, jobStatus);
}
} catch (SQLException e) {