Fix tests

This commit is contained in:
Alexey Milovidov 2024-03-23 02:50:00 +01:00
parent 2758bb3883
commit 487ac4c828
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -6,7 +6,7 @@
┏━━━━━━━━━━━━━━┓
┃ -1230000000. ┃
┡━━━━━━━━━━━━━━┩
│ -1230000000 │-- -1.23 billion
│ -1230000000 │ -- -1.23 billion
└──────────────┘
┏━━━━━┓
┃ inf ┃