You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2023/04/06 07:22:54 UTC
[inlong] branch master updated: [INLONG-7785][Dashboard] Clickhouse sink engine defaults to MergeTree (#7786)
This is an automated email from the ASF dual-hosted git repository.
dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git
The following commit(s) were added to refs/heads/master by this push:
new de4f2b6d5 [INLONG-7785][Dashboard] Clickhouse sink engine defaults to MergeTree (#7786)
de4f2b6d5 is described below
commit de4f2b6d57bb8dd16723676bcd4d2b49bfb4a4d0
Author: Lizhen <88...@users.noreply.github.com>
AuthorDate: Thu Apr 6 15:22:46 2023 +0800
[INLONG-7785][Dashboard] Clickhouse sink engine defaults to MergeTree (#7786)
---
inlong-dashboard/src/plugins/sinks/defaults/ClickHouse.ts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/inlong-dashboard/src/plugins/sinks/defaults/ClickHouse.ts b/inlong-dashboard/src/plugins/sinks/defaults/ClickHouse.ts
index b417b4ae0..60b50721e 100644
--- a/inlong-dashboard/src/plugins/sinks/defaults/ClickHouse.ts
+++ b/inlong-dashboard/src/plugins/sinks/defaults/ClickHouse.ts
@@ -203,7 +203,7 @@ export default class ClickHouseSink
@FieldDecorator({
type: 'input',
- initialValue: 'Log',
+ initialValue: 'MergeTree',
rules: [{ required: true }],
props: values => ({
disabled: [110, 130].includes(values?.status),
@@ -241,6 +241,7 @@ export default class ClickHouseSink
@FieldDecorator({
type: 'inputnumber',
+ visible: values => values.engine === 'MergeTree',
suffix: {
type: 'select',
name: 'ttlUnit',