Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
318155561b |
@@ -18,6 +18,8 @@ build:
|
||||
expire_in: 1d
|
||||
reports:
|
||||
dotenv: job.env
|
||||
rules:
|
||||
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
|
||||
|
||||
release:
|
||||
image: registry.gitlab.com/gitlab-org/release-cli
|
||||
@@ -38,3 +40,5 @@ release:
|
||||
url: "https://git.karaolidis.com/karaolidis/telegraf-clickhouse-plugin/-/jobs/$JOB_ID/artifacts/raw/telegraf-clickhouse-plugin-linux-amd64"
|
||||
- name: "telegraf-clickhouse-plugin-linux-arm64"
|
||||
url: "https://git.karaolidis.com/karaolidis/telegraf-clickhouse-plugin/-/jobs/$JOB_ID/artifacts/raw/telegraf-clickhouse-plugin-linux-arm64"
|
||||
rules:
|
||||
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
|
||||
|
@@ -206,7 +206,7 @@ func (ch *ClickHouse) generateCreateTable(tablename string, columns *orderedmap.
|
||||
columnDefs = append(columnDefs, fmt.Sprintf("%s %s", quoteIdent(pair.Key), ch.toNullable(pair)))
|
||||
}
|
||||
|
||||
orderBy := make([]string, 0, 3)
|
||||
orderBy := make([]string, 0, 2)
|
||||
if _, ok := columns.Get("host"); ok {
|
||||
orderBy = append(orderBy, "host")
|
||||
}
|
||||
|
Reference in New Issue
Block a user