This is an automated email from the ASF dual-hosted git repository.
loogn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/geaflow.git
The following commit(s) were added to refs/heads/master by this push:
new bec40e07 chore: deleting useless methods & translated into Chinese
(#667)
bec40e07 is described below
commit bec40e0757a976cf1643f34a4d66490237cb37f6
Author: shown <[email protected]>
AuthorDate: Fri Nov 14 13:41:58 2025 +0800
chore: deleting useless methods & translated into Chinese (#667)
* chore: deleting useless methods & translated into Chinese
Signed-off-by: jishiwen.jsw <[email protected]>
* fix: remove useless import
Signed-off-by: jishiwen.jsw <[email protected]>
---------
Signed-off-by: jishiwen.jsw <[email protected]>
---
.gitignore | 2 +-
build.sh | 2 +-
.../java/org/apache/geaflow/console/core/service/ChatService.java | 2 +-
.../app/core/service/src/main/resources/datasource.init.sql | 2 +-
.../app/core/service/src/main/resources/runtimemeta.init.sql | 2 +-
geaflow-kubernetes-operator/README.md | 2 +-
geaflow-kubernetes-operator/README_cn.md | 2 +-
geaflow-mcp/pom.xml | 4 ++--
.../main/java/org/apache/geaflow/mcp/server/util/QueryFormatUtil.java | 1 +
geaflow-mcp/src/main/resources/app.yml | 2 +-
geaflow-mcp/src/main/resources/log4j.properties | 2 +-
11 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/.gitignore b/.gitignore
index 1cb6e8ee..1c46983c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -130,4 +130,4 @@ geaflow-console/geaflow-web/node_modules
geaflow-console/app/bootstrap/src/main/resources/public
# vs code
-.vscode
\ No newline at end of file
+.vscode
diff --git a/build.sh b/build.sh
index f2a8f00c..cc5410ca 100755
--- a/build.sh
+++ b/build.sh
@@ -241,4 +241,4 @@ if [[ -n "$BUILD_IMAGE" ]]; then
fi
fi
-echo -e "\033[32mbuild success !\033[0m"
\ No newline at end of file
+echo -e "\033[32mbuild success !\033[0m"
diff --git
a/geaflow-console/app/core/service/src/main/java/org/apache/geaflow/console/core/service/ChatService.java
b/geaflow-console/app/core/service/src/main/java/org/apache/geaflow/console/core/service/ChatService.java
index 80d42642..c57480df 100644
---
a/geaflow-console/app/core/service/src/main/java/org/apache/geaflow/console/core/service/ChatService.java
+++
b/geaflow-console/app/core/service/src/main/java/org/apache/geaflow/console/core/service/ChatService.java
@@ -72,7 +72,7 @@ public class ChatService extends IdService<GeaflowChat,
ChatEntity, ChatSearch>
@Autowired
private JobService jobService;
- private static final String HINT_STATEMENT = "使用如下图schema: ";
+ private static final String HINT_STATEMENT = "Use the schema shown below:
";
private final Cache<String, String> schemaCache = CacheBuilder.newBuilder()
.maximumSize(50)
diff --git
a/geaflow-console/app/core/service/src/main/resources/datasource.init.sql
b/geaflow-console/app/core/service/src/main/resources/datasource.init.sql
index 0e8d06ea..0311e49c 100644
--- a/geaflow-console/app/core/service/src/main/resources/datasource.init.sql
+++ b/geaflow-console/app/core/service/src/main/resources/datasource.init.sql
@@ -608,4 +608,4 @@ CREATE TABLE `geaflow_chat` (
`status` varchar(32) DEFAULT NULL COMMENT 'stauts',
PRIMARY KEY (`id`),
UNIQUE KEY `uk_guid` (`guid`)
-) DEFAULT CHARSET = utf8mb4 COMMENT = 'Chat Records';
\ No newline at end of file
+) DEFAULT CHARSET = utf8mb4 COMMENT = 'Chat Records';
diff --git
a/geaflow-console/app/core/service/src/main/resources/runtimemeta.init.sql
b/geaflow-console/app/core/service/src/main/resources/runtimemeta.init.sql
index 01639756..fd99d690 100644
--- a/geaflow-console/app/core/service/src/main/resources/runtimemeta.init.sql
+++ b/geaflow-console/app/core/service/src/main/resources/runtimemeta.init.sql
@@ -30,4 +30,4 @@ CREATE TABLE IF NOT EXISTS `backend_meta` (
UNIQUE KEY `uk_pk` (`pk`),
KEY `idx_gmt_modified` (`gmt_modified`)
) DEFAULT CHARSET = utf8mb4 COMMENT = 'GeaFlow Task Runtime Meta'
-;
\ No newline at end of file
+;
diff --git a/geaflow-kubernetes-operator/README.md
b/geaflow-kubernetes-operator/README.md
index 13c98648..56646d1f 100644
--- a/geaflow-kubernetes-operator/README.md
+++ b/geaflow-kubernetes-operator/README.md
@@ -30,4 +30,4 @@ is completed, execute this command to submit the example job
into your kubernete
```shell
cd geaflow-kubernetes-operator
kubectl apply -f example/example_hla.yml
-```
\ No newline at end of file
+```
diff --git a/geaflow-kubernetes-operator/README_cn.md
b/geaflow-kubernetes-operator/README_cn.md
index 91d950ec..28f25918 100644
--- a/geaflow-kubernetes-operator/README_cn.md
+++ b/geaflow-kubernetes-operator/README_cn.md
@@ -28,4 +28,4 @@ dashboard会展示集群内的作业统计,并展示它们的当前状态和
```shell
cd geaflow-kubernetes-operator
kubectl apply -f example/example_hla.yml
-```
\ No newline at end of file
+```
diff --git a/geaflow-mcp/pom.xml b/geaflow-mcp/pom.xml
index 95020ac3..9beed452 100644
--- a/geaflow-mcp/pom.xml
+++ b/geaflow-mcp/pom.xml
@@ -106,7 +106,7 @@
<version>${log4j.slf4j.version}</version>
</dependency>
- <!-- 异步日志依赖 -->
+ <!-- Asynchronous log dependency -->
<dependency>
<groupId>com.lmax</groupId>
<artifactId>disruptor</artifactId>
@@ -204,4 +204,4 @@
</repository>
</repositories>
-</project>
\ No newline at end of file
+</project>
diff --git
a/geaflow-mcp/src/main/java/org/apache/geaflow/mcp/server/util/QueryFormatUtil.java
b/geaflow-mcp/src/main/java/org/apache/geaflow/mcp/server/util/QueryFormatUtil.java
index 08ce8217..ec739308 100644
---
a/geaflow-mcp/src/main/java/org/apache/geaflow/mcp/server/util/QueryFormatUtil.java
+++
b/geaflow-mcp/src/main/java/org/apache/geaflow/mcp/server/util/QueryFormatUtil.java
@@ -95,4 +95,5 @@ public class QueryFormatUtil {
throw new RuntimeException("Cannt convert type name: " +
iType);
}
}
+
}
diff --git a/geaflow-mcp/src/main/resources/app.yml
b/geaflow-mcp/src/main/resources/app.yml
index 2c2dbe40..9a5d9f95 100644
--- a/geaflow-mcp/src/main/resources/app.yml
+++ b/geaflow-mcp/src/main/resources/app.yml
@@ -20,4 +20,4 @@ server.port: 8088
analytics.server.host: localhost
analytics.server.port: 8090
# Just for test, unnecessary configuration.
-analytics.client.config:
"{\"geaflow.analytics.client.max.inbound.message.size\": 4194304}"
\ No newline at end of file
+analytics.client.config:
"{\"geaflow.analytics.client.max.inbound.message.size\": 4194304}"
diff --git a/geaflow-mcp/src/main/resources/log4j.properties
b/geaflow-mcp/src/main/resources/log4j.properties
index c506e9b7..fc10019e 100644
--- a/geaflow-mcp/src/main/resources/log4j.properties
+++ b/geaflow-mcp/src/main/resources/log4j.properties
@@ -33,4 +33,4 @@ log4j.appender.file.File=logs/mcp.log
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.Target=System.out
log4j.appender.console.layout=org.apache.log4j.PatternLayout
-log4j.appender.console.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p
%c{1}:%L - %m%n
\ No newline at end of file
+log4j.appender.console.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p
%c{1}:%L - %m%n
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]