mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 02:52:13 +00:00
Fixed reading from StorageLog table.
This commit is contained in:
parent
9efda05839
commit
52db32fd5d
@ -30,7 +30,7 @@ try
|
|||||||
context.setPath("./");
|
context.setPath("./");
|
||||||
|
|
||||||
DiskPtr disk = std::make_unique<DiskLocal>("default", "./", 0);
|
DiskPtr disk = std::make_unique<DiskLocal>("default", "./", 0);
|
||||||
StoragePtr table = StorageLog::create(disk, "table", StorageID("test", "test"), ColumnsDescription{names_and_types}, ConstraintsDescription{}, 1048576);
|
StoragePtr table = StorageLog::create(disk, "table/", StorageID("test", "test"), ColumnsDescription{names_and_types}, ConstraintsDescription{}, 1048576);
|
||||||
|
|
||||||
table->startup();
|
table->startup();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user