mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
Backport #62090 to 24.3: Revert output Pretty in tty
This commit is contained in:
parent
4a98ff8069
commit
dd9f411b14
@ -753,7 +753,7 @@ void ClientBase::setDefaultFormatsFromConfiguration()
|
||||
else
|
||||
default_output_format = "TSV";
|
||||
}
|
||||
else if (is_interactive || stdout_is_a_tty)
|
||||
else if (is_interactive)
|
||||
{
|
||||
default_output_format = "PrettyCompact";
|
||||
}
|
||||
|
@ -21,12 +21,6 @@ expect_after {
|
||||
-i $any_spawn_id timeout { exit 1 }
|
||||
}
|
||||
|
||||
spawn bash -c "source $basedir/../shell_config.sh ; \$CLICKHOUSE_CLIENT --query 'SELECT 1'"
|
||||
expect "│ 1 │"
|
||||
expect "└───┘"
|
||||
expect eof
|
||||
|
||||
spawn bash -c "source $basedir/../shell_config.sh ; \$CLICKHOUSE_LOCAL --query 'SELECT 2'"
|
||||
expect "│ 2 │"
|
||||
expect "└───┘"
|
||||
spawn bash -c "source $basedir/../shell_config.sh ; \$CLICKHOUSE_CLIENT --query 'SELECT 1, 2'"
|
||||
expect "1\t2"
|
||||
expect eof
|
||||
|
Loading…
Reference in New Issue
Block a user