Fixed reading from StorageLog table.

This commit is contained in:
Pavel Kovalenko 2020-01-30 22:30:42 +03:00 committed by Pavel Kovalenko
parent 9efda05839
commit 52db32fd5d

View File

@ -30,7 +30,7 @@ try
context.setPath("./");
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();