Reduce inter-header dependencies

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
Azat Khuzhin 2023-05-02 13:35:11 +02:00
parent f86cedefc3
commit 2b21b83979
8 changed files with 4 additions and 9 deletions

View File

@ -7,8 +7,8 @@
#include <Columns/IColumn.h> #include <Columns/IColumn.h>
#include <Columns/ColumnArray.h> #include <Columns/ColumnArray.h>
#include <Columns/ColumnConst.h> #include <Columns/ColumnConst.h>
#include <Core/Block.h>
#include <Core/ColumnNumbers.h> #include <Core/ColumnNumbers.h>
#include <Core/ColumnsWithTypeAndName.h>
#include <Core/callOnTypeIndex.h> #include <Core/callOnTypeIndex.h>

View File

@ -3,6 +3,7 @@
#include <Common/typeid_cast.h> #include <Common/typeid_cast.h>
#include <Common/assert_cast.h> #include <Common/assert_cast.h>
#include <Common/SipHash.h> #include <Common/SipHash.h>
#include <Core/Block.h>
#include <Columns/ColumnConst.h> #include <Columns/ColumnConst.h>
#include <Columns/ColumnNullable.h> #include <Columns/ColumnNullable.h>
#include <Columns/ColumnTuple.h> #include <Columns/ColumnTuple.h>

View File

@ -3,7 +3,6 @@
#include <array> #include <array>
#include <Common/SipHash.h> #include <Common/SipHash.h>
#include <Common/HashTable/Hash.h>
#include <Common/memcpySmall.h> #include <Common/memcpySmall.h>
#include <Common/assert_cast.h> #include <Common/assert_cast.h>
#include <Core/Defines.h> #include <Core/Defines.h>

View File

@ -7,7 +7,6 @@
#include <Common/RemoteHostFilter.h> #include <Common/RemoteHostFilter.h>
#include <Common/ThreadPool_fwd.h> #include <Common/ThreadPool_fwd.h>
#include <Common/Throttler_fwd.h> #include <Common/Throttler_fwd.h>
#include <Core/Block.h>
#include <Core/NamesAndTypes.h> #include <Core/NamesAndTypes.h>
#include <Core/Settings.h> #include <Core/Settings.h>
#include <Core/UUID.h> #include <Core/UUID.h>
@ -25,12 +24,10 @@
#include "config.h" #include "config.h"
#include <boost/container/flat_set.hpp> #include <boost/container/flat_set.hpp>
#include <exception>
#include <functional> #include <functional>
#include <memory> #include <memory>
#include <mutex> #include <mutex>
#include <optional> #include <optional>
#include <thread>
namespace Poco::Net { class IPAddress; } namespace Poco::Net { class IPAddress; }

View File

@ -1,7 +1,5 @@
#pragma once #pragma once
#include <Common/HashTable/Hash.h>
#include <Core/Names.h> #include <Core/Names.h>
#include <Core/NamesAndTypes.h> #include <Core/NamesAndTypes.h>

View File

@ -1,7 +1,5 @@
#pragma once #pragma once
#include <Common/HashTable/Hash.h>
#include <Core/Names.h> #include <Core/Names.h>
#include <Core/NamesAndTypes.h> #include <Core/NamesAndTypes.h>

View File

@ -5,6 +5,7 @@
#include <Common/CacheBase.h> #include <Common/CacheBase.h>
#include <Common/ProfileEvents.h> #include <Common/ProfileEvents.h>
#include <Common/SipHash.h> #include <Common/SipHash.h>
#include <Common/HashTable/Hash.h>
#include <Interpreters/AggregationCommon.h> #include <Interpreters/AggregationCommon.h>
#include <Formats/MarkInCompressedFile.h> #include <Formats/MarkInCompressedFile.h>

View File

@ -2,6 +2,7 @@
#include <Compression/CachedCompressedReadBuffer.h> #include <Compression/CachedCompressedReadBuffer.h>
#include <base/getThreadId.h> #include <base/getThreadId.h>
#include <base/range.h>
#include <utility> #include <utility>