mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fix tests
This commit is contained in:
parent
2758bb3883
commit
487ac4c828
@ -423,7 +423,7 @@ void PrettyBlockOutputFormat::writeReadableNumberTip(const Chunk & chunk)
|
||||
auto value = columns[0]->getFloat64(0);
|
||||
auto threshold = format_settings.pretty.output_format_pretty_single_large_number_tip_threshold;
|
||||
|
||||
if (threshold && isFinite(value) && abs(value) >= threshold)
|
||||
if (threshold && isFinite(value) && abs(value) > threshold)
|
||||
{
|
||||
if (color)
|
||||
writeCString("\033[90m", out);
|
||||
|
@ -6,7 +6,7 @@
|
||||
┏━━━━━━━━━━━━━━┓
|
||||
┃ -1230000000. ┃
|
||||
┡━━━━━━━━━━━━━━┩
|
||||
│ -1230000000 │-- -1.23 billion
|
||||
│ -1230000000 │ -- -1.23 billion
|
||||
└──────────────┘
|
||||
┏━━━━━┓
|
||||
┃ inf ┃
|
||||
|
Loading…
Reference in New Issue
Block a user