mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
fix: StorageNull supports subcolumns
This commit is contained in:
parent
1be4ff229b
commit
53a49164d6
@ -46,6 +46,8 @@ public:
|
|||||||
|
|
||||||
bool supportsParallelInsert() const override { return true; }
|
bool supportsParallelInsert() const override { return true; }
|
||||||
|
|
||||||
|
bool supportsSubcolumns() const override { return true; }
|
||||||
|
|
||||||
SinkToStoragePtr write(const ASTPtr &, const StorageMetadataPtr & metadata_snapshot, ContextPtr, bool) override
|
SinkToStoragePtr write(const ASTPtr &, const StorageMetadataPtr & metadata_snapshot, ContextPtr, bool) override
|
||||||
{
|
{
|
||||||
return std::make_shared<NullSinkToStorage>(metadata_snapshot->getSampleBlock());
|
return std::make_shared<NullSinkToStorage>(metadata_snapshot->getSampleBlock());
|
||||||
|
Loading…
Reference in New Issue
Block a user