#!/usr/bin/env bash CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) # shellcheck source=../shell_config.sh . "$CURDIR"/../shell_config.sh function get_table_comment_info() { $CLICKHOUSE_CLIENT --query="SHOW CREATE TABLE comment_test_table;" $CLICKHOUSE_CLIENT --query="SELECT 'comment=', comment FROM system.tables WHERE database=currentDatabase() and name='comment_test_table'" echo # just a newline } function test_table_comments() { local ENGINE_NAME="$1" echo "engine : ${ENGINE_NAME}" $CLICKHOUSE_CLIENT -nm <