You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by ki...@apache.org on 2022/02/15 06:23:55 UTC
[incubator-seatunnel] branch dev updated: [BUG#1229] fix bug in #1142 (#1235)
This is an automated email from the ASF dual-hosted git repository.
kirs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new 2d4e9e5 [BUG#1229] fix bug in #1142 (#1235)
2d4e9e5 is described below
commit 2d4e9e59239c46db832699918d3d69453b89342a
Author: CenterCode <yx...@users.noreply.github.com>
AuthorDate: Tue Feb 15 14:23:52 2022 +0800
[BUG#1229] fix bug in #1142 (#1235)
---
.../main/java/org/apache/seatunnel/spark/batch/SparkBatchExecution.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/seatunnel-apis/seatunnel-api-spark/src/main/java/org/apache/seatunnel/spark/batch/SparkBatchExecution.java b/seatunnel-apis/seatunnel-api-spark/src/main/java/org/apache/seatunnel/spark/batch/SparkBatchExecution.java
index cc62195..3bf1103 100644
--- a/seatunnel-apis/seatunnel-api-spark/src/main/java/org/apache/seatunnel/spark/batch/SparkBatchExecution.java
+++ b/seatunnel-apis/seatunnel-api-spark/src/main/java/org/apache/seatunnel/spark/batch/SparkBatchExecution.java
@@ -85,7 +85,7 @@ public class SparkBatchExecution implements Execution<SparkBatchSource, BaseSpar
Dataset<Row> fromDs;
Config config = sink.getConfig();
if (config.hasPath(SparkBatchExecution.SOURCE_TABLE_NAME)) {
- String sourceTableName = config.getString(SparkBatchExecution.RESULT_TABLE_NAME);
+ String sourceTableName = config.getString(SparkBatchExecution.SOURCE_TABLE_NAME);
fromDs = environment.getSparkSession().read().table(sourceTableName);
} else {
fromDs = ds;