問題描述
使用Clickhouse的客戶端查詢數據時末尾添加";"報錯,
執行語句:
select * from system.settings where name='max_execution_time' ;
報錯信息如下:
Code: 62, e.displayText() = DB::Exception: Syntax error (Multi-statements are not allowed): failed at position 92 (end of query) (line 1, col 92): ;
解決
添加兩個分號,問題解決!!
select * from system.settings where name='max_execution_time' ;;