#pragma once #include "ArraySinkVisitor.h" #include namespace DB { namespace ErrorCodes { extern const int NOT_IMPLEMENTED; } namespace GatherUtils { struct IArraySink { virtual ~IArraySink() = default; virtual void accept(ArraySinkVisitor &) { throw Exception(ErrorCodes::NOT_IMPLEMENTED, "Accept not implemented for {}", demangle(typeid(*this).name())); } }; template class ArraySinkImpl : public Visitable {}; } }