mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Avoid using :: to cast
There is an issue with the ANTRL parser, reported https://github.com/ClickHouse/ClickHouse/issues/25855
This commit is contained in:
parent
97823600e3
commit
0d7d8320f9
@ -47,7 +47,7 @@ function test()
|
||||
|
||||
${CLICKHOUSE_CLIENT} -q "
|
||||
SELECT
|
||||
replaceOne(type::String, 'ExceptionWhileProcessing', 'Excep****WhileProcessing')
|
||||
replaceOne(CAST(type AS String), 'ExceptionWhileProcessing', 'Excep****WhileProcessing')
|
||||
exception_code
|
||||
FROM system.query_log
|
||||
WHERE
|
||||
@ -62,7 +62,7 @@ function test()
|
||||
${CLICKHOUSE_CLIENT} -q "
|
||||
SELECT
|
||||
view_name,
|
||||
replaceOne(status::String, 'ExceptionWhileProcessing', 'Excep****WhileProcessing'),
|
||||
replaceOne(CAST(status AS String), 'ExceptionWhileProcessing', 'Excep****WhileProcessing'),
|
||||
exception_code,
|
||||
view_target,
|
||||
view_query
|
||||
|
Loading…
Reference in New Issue
Block a user