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

abeizn 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 6c5262e1 feat: add missing be_host and order_by to api docs (#3649)
6c5262e1 is described below

commit 6c5262e12f9b01f462971fea77808ce7442ed2ee
Author: long2ice <[email protected]>
AuthorDate: Wed Nov 2 14:11:27 2022 +0800

    feat: add missing be_host and order_by to api docs (#3649)
---
 plugins/starrocks/api/connection.go | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

diff --git a/plugins/starrocks/api/connection.go 
b/plugins/starrocks/api/connection.go
index 79f81002..7ea0d2de 100644
--- a/plugins/starrocks/api/connection.go
+++ b/plugins/starrocks/api/connection.go
@@ -37,17 +37,19 @@ func PostStarRocksPipeline(input *core.ApiResourceInput) 
(*core.ApiResourceOutpu
 type StarRocksPipelinePlan [][]struct {
        Plugin  string `json:"plugin"`
        Options struct {
-               SourceType  string   `json:"source_type"`
-               SourceDsn   string   `json:"source_dsn"`
-               Host        string   `json:"host"`
-               Port        int      `json:"port"`
-               User        string   `json:"user"`
-               Password    string   `json:"password"`
-               Database    string   `json:"database"`
-               BePort      int      `json:"be_port"`
-               Tables      []string `json:"tables"`
-               BatchSize   int      `json:"batch_size"`
-               Extra       string   `json:"extra"`
-               DomainLayer string   `json:"domain_layer"`
+               SourceType  string            `json:"source_type"`
+               SourceDsn   string            `json:"source_dsn"`
+               Host        string            `json:"host"`
+               Port        int               `json:"port"`
+               User        string            `json:"user"`
+               Password    string            `json:"password"`
+               Database    string            `json:"database"`
+               BeHost      string            `json:"be_host"`
+               BePort      int               `json:"be_port"`
+               Tables      []string          `json:"tables"`
+               BatchSize   int               `json:"batch_size"`
+               OrderBy     map[string]string `json:"order_by"`
+               Extra       string            `json:"extra"`
+               DomainLayer string            `json:"domain_layer"`
        } `json:"options"`
 }

Reply via email to