mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 07:01:59 +00:00
Change markdown format test
This commit is contained in:
parent
15153e504a
commit
8bd77e1c0c
@ -1,5 +1,5 @@
|
||||
| id | name | array |
|
||||
|-:|:-|:-:|
|
||||
| 1 | name1 | [1,2,3] |
|
||||
| 2 | name2 | [4,5,6] |
|
||||
| 3 | name3 | [7,8,9] |
|
||||
| id | name | array | nullable | low_cardinality | decimal |
|
||||
|-:|:-|:-|:-|:-|-:|
|
||||
| 1 | name1 | [1,2,3] | Some long string | name1 | 1.110000 |
|
||||
| 2 | name2 | [4,5,60000] | \N | Another long string | 222.222222 |
|
||||
| 30000 | One more long string | [7,8,9] | name3 | name3 | 3.330000 |
|
||||
|
@ -1,6 +1,8 @@
|
||||
DROP TABLE IF EXISTS makrdown;
|
||||
CREATE TABLE markdown (id UInt32, name String, array Array(Int8)) ENGINE = Memory;
|
||||
INSERT INTO markdown VALUES (1, 'name1', [1,2,3]), (2, 'name2', [4,5,6]), (3, 'name3', [7,8,9]);
|
||||
CREATE TABLE markdown (id UInt32, name String, array Array(Int32), nullable Nullable(String), low_cardinality LowCardinality(String), decimal Decimal32(6)) ENGINE = Memory;
|
||||
INSERT INTO markdown VALUES (1, 'name1', [1,2,3], 'Some long string', 'name1', 1.11), (2, 'name2', [4,5,60000], Null, 'Another long string', 222.222222), (30000, 'One more long string', [7,8,9], 'name3', 'name3', 3.33);
|
||||
|
||||
SELECT * FROM markdown FORMAT Markdown;
|
||||
DROP TABLE IF EXISTS markdown
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user