You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by kl...@apache.org on 2022/07/21 07:04:24 UTC
[incubator-devlake] branch main updated: fix: loadData columns type (#2548)
This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 5e2542ae fix: loadData columns type (#2548)
5e2542ae is described below
commit 5e2542ae7405b1b97a7756e258d1f70a4a55ef58
Author: long2ice <ji...@merico.dev>
AuthorDate: Thu Jul 21 15:04:19 2022 +0800
fix: loadData columns type (#2548)
---
plugins/starrocks/tasks.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/starrocks/tasks.go b/plugins/starrocks/tasks.go
index b23e9db3..5a85b96e 100644
--- a/plugins/starrocks/tasks.go
+++ b/plugins/starrocks/tasks.go
@@ -153,7 +153,7 @@ func loadData(starrocks *sql.DB, c core.SubTaskContext, starrocksTable string, t
}
for rows.Next() {
row := make(map[string]interface{})
- columns := make([]string, len(cols))
+ columns := make([]interface{}, len(cols))
columnPointers := make([]interface{}, len(cols))
for i := range columns {
columnPointers[i] = &columns[i]