From 0b0119f433ba46a26b45f7e4d2ea12dd894eade1 Mon Sep 17 00:00:00 2001 From: zy-kkk Date: Tue, 5 Nov 2024 15:30:26 +0800 Subject: [PATCH] [fix](test) fix clickhouse jdbc catalog func push down case (#43196) Related PR: #42102 Because we previously disabled the pushdown of cast, a test case error occurred when checking the pushdown of the clickhosue function. Because the column type is largeint, a cast will be generated when using from_unixtime, causing the function to fail to be pushed down. So we changed the column type to bigint. --- .../docker-compose/clickhouse/init/03-create-table.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/thirdparties/docker-compose/clickhouse/init/03-create-table.sql b/docker/thirdparties/docker-compose/clickhouse/init/03-create-table.sql index 34f03796e76381..fdc33ef13213a8 100644 --- a/docker/thirdparties/docker-compose/clickhouse/init/03-create-table.sql +++ b/docker/thirdparties/docker-compose/clickhouse/init/03-create-table.sql @@ -276,7 +276,7 @@ ORDER BY key; CREATE TABLE doris_test.ts ( id Int64, - ts UInt64 + ts Int64 ) ENGINE = MergeTree ORDER BY id;