mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-06 22:42:22 +00:00
fa6090f588
This patch will: - fix the issue when table had been tried to create multiple times for --queries-files - create these table for --interactive mode (before it works only if you had some queries already, i.e. when it run interactive after non-interactive) This will also make ClientBase interface a little bit cleaner, by removing one abstract method getQueryTextPrefix()
8 lines
308 B
Bash
Executable File
8 lines
308 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
# shellcheck source=../shell_config.sh
|
|
. "$CURDIR"/../shell_config.sh
|
|
|
|
$CLICKHOUSE_LOCAL --file /dev/null --structure "key String" --input-format TSVWithNamesAndTypes --interactive --send_logs_level=trace <<<'show create table table'
|