Skip to content

Commit

Permalink
Add a test
Browse files Browse the repository at this point in the history
Revert changes from another branch

Revert changes from another branch

Revert changes from another branch
  • Loading branch information
alexey-milovidov committed Mar 22, 2024
1 parent 4621fe6 commit 1a7494f
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
25 changes: 25 additions & 0 deletions tests/queries/0_stateless/03019_numbers_pretty.reference
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
┏━━━━━━━━━━━━━┓
┃ 1230000000. ┃
┡━━━━━━━━━━━━━┩
│ 1230000000 │ -- 1.23 billion
└─────────────┘
┏━━━━━━━━━━━━━━┓
┃ -1230000000. ┃
┡━━━━━━━━━━━━━━┩
│ -1230000000 │-- -1.23 billion
└──────────────┘
┏━━━━━┓
┃ inf ┃
┡━━━━━┩
│ inf │
└─────┘
┏━━━━━━┓
┃ -inf ┃
┡━━━━━━┩
│ -inf │
└──────┘
┏━━━━━┓
┃ nan ┃
┡━━━━━┩
│ nan │
└─────┘
6 changes: 6 additions & 0 deletions tests/queries/0_stateless/03019_numbers_pretty.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
SET output_format_pretty_row_numbers = 0;
SELECT 1.23e9 FORMAT Pretty;
SELECT -1.23e9 FORMAT Pretty;
SELECT inf FORMAT Pretty;
SELECT -inf FORMAT Pretty;
SELECT nan FORMAT Pretty;

0 comments on commit 1a7494f

Please sign in to comment.