This is an automated email from the ASF dual-hosted git repository.
zykkk pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new bf5d426c18b [branch-2.0][regression test](jdbc catalog) Enable
CLICKHOUSE_ALWAYS_RUN_INITDB_SCRIPTS for clickhouse docke (#39668)
bf5d426c18b is described below
commit bf5d426c18bdcb7d8ff7eef1fed40985f90283a7
Author: zy-kkk <[email protected]>
AuthorDate: Thu Aug 22 12:09:01 2024 +0800
[branch-2.0][regression test](jdbc catalog) Enable
CLICKHOUSE_ALWAYS_RUN_INITDB_SCRIPTS for clickhouse docke (#39668)
pick (#39425) #39693
---
.../docker-compose/clickhouse/clickhouse.yaml.tpl | 5 +++--
.../jdbc/test_clickhouse_jdbc_catalog.out | Bin 5437 -> 4290 bytes
.../jdbc/test_clickhouse_jdbc_catalog.groovy | 1 -
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docker/thirdparties/docker-compose/clickhouse/clickhouse.yaml.tpl
b/docker/thirdparties/docker-compose/clickhouse/clickhouse.yaml.tpl
index 6827c02e2a3..b0ac62cc84d 100644
--- a/docker/thirdparties/docker-compose/clickhouse/clickhouse.yaml.tpl
+++ b/docker/thirdparties/docker-compose/clickhouse/clickhouse.yaml.tpl
@@ -19,10 +19,11 @@ version: "2.1"
services:
doris--clickhouse:
- image: "clickhouse/clickhouse-server:23.3"
+ image: "clickhouse/clickhouse-server:23.8"
restart: always
environment:
CLICKHOUSE_PASSWORD: 123456
+ CLICKHOUSE_ALWAYS_RUN_INITDB_SCRIPTS: "true" # Add this line to always
run init scripts
ulimits:
nofile:
soft: 262144
@@ -50,4 +51,4 @@ networks:
ipam:
driver: default
config:
- - subnet: 168.35.0.0/24
\ No newline at end of file
+ - subnet: 168.35.0.0/24
diff --git
a/regression-test/data/external_table_p0/jdbc/test_clickhouse_jdbc_catalog.out
b/regression-test/data/external_table_p0/jdbc/test_clickhouse_jdbc_catalog.out
index 65b53290116..5112b00a838 100644
Binary files
a/regression-test/data/external_table_p0/jdbc/test_clickhouse_jdbc_catalog.out
and
b/regression-test/data/external_table_p0/jdbc/test_clickhouse_jdbc_catalog.out
differ
diff --git
a/regression-test/suites/external_table_p0/jdbc/test_clickhouse_jdbc_catalog.groovy
b/regression-test/suites/external_table_p0/jdbc/test_clickhouse_jdbc_catalog.groovy
index ff89e1b9a30..d56853d941e 100644
---
a/regression-test/suites/external_table_p0/jdbc/test_clickhouse_jdbc_catalog.groovy
+++
b/regression-test/suites/external_table_p0/jdbc/test_clickhouse_jdbc_catalog.groovy
@@ -74,7 +74,6 @@ suite("test_clickhouse_jdbc_catalog",
"p0,external,clickhouse,external_docker,ex
order_qt_query_ctas_arr_null """ select * from
internal.${internal_db_name}.ck_arr_null order by id; """
sql """ insert into internal.${internal_db_name}.${inDorisTable}
select * from student; """
order_qt_in_tb """ select id, name, age from
internal.${internal_db_name}.${inDorisTable} order by id; """
- order_qt_system """ show tables from `system`; """
order_qt_filter """ select k1,k2 from type where 1 = 1 order by 1
; """
order_qt_filter2 """ select k1,k2 from type where 1 = 1 and k1 =
true order by 1 ; """
order_qt_filter3 """ select k1,k2 from type where k1 = true order
by 1 ; """
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]