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

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


The following commit(s) were added to refs/heads/release-v0.21 by this push:
     new 20633ab66 feat: keep source table name as destination table name 
(#8108) (#8110)
20633ab66 is described below

commit 20633ab6657af46b7cd256b9f11e4b3d53c1094d
Author: Chaojie Yan <[email protected]>
AuthorDate: Fri Sep 27 09:42:54 2024 +0800

    feat: keep source table name as destination table name (#8108) (#8110)
---
 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 {

Reply via email to