You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ab...@apache.org on 2024/09/27 02:00:05 UTC

(incubator-devlake) branch release-v1.0 updated: feat: keep source table name as destination table name (#8108) (#8111)

This is an automated email from the ASF dual-hosted git repository.

abeizn pushed a commit to branch release-v1.0
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/release-v1.0 by this push:
     new 988805bca feat: keep source table name as destination table name (#8108) (#8111)
988805bca is described below

commit 988805bcafc9d00c55b698ce9e22dcbd89dfd4fb
Author: Chaojie Yan <ch...@merico.dev>
AuthorDate: Fri Sep 27 10:00:01 2024 +0800

    feat: keep source table name as destination table name (#8108) (#8111)
---
 backend/plugins/starrocks/tasks/tasks.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/plugins/starrocks/tasks/tasks.go b/backend/plugins/starrocks/tasks/tasks.go
index 2604f62e0..cc33db282 100644
--- a/backend/plugins/starrocks/tasks/tasks.go
+++ b/backend/plugins/starrocks/tasks/tasks.go
@@ -110,7 +110,7 @@ func ExportData(c plugin.SubTaskContext) errors.Error {
 			SrcDb:         db,
 			DestDb:        starrocksDb,
 			SrcTableName:  table,
-			DestTableName: strings.TrimLeft(table, "_"),
+			DestTableName: table,
 		}
 		columnMap, orderBy, skip, err := createTmpTableInStarrocks(&dc)
 		if skip {