Remove more unnecessary nested headers

This commit is contained in:
Raúl Marín 2024-12-02 14:44:56 +01:00
parent 4bdefc91ce
commit f96c3e9ca8
13 changed files with 35 additions and 37 deletions

View File

@ -29,6 +29,7 @@
#include <boost/range/adaptor/map.hpp>
#include <filesystem>
#include <future>
#include <ranges>
namespace fs = std::filesystem;

View File

@ -8,7 +8,9 @@
#include <Storages/IStorage_fwd.h>
#include <Interpreters/Context_fwd.h>
#include <Common/ThreadPool_fwd.h>
#include <filesystem>
#include <future>
namespace DB

View File

@ -19,6 +19,7 @@
#include <base/scope_guard.h>
#include <iostream>
#include <thread>
#include <sys/resource.h>
#include <sys/time.h>

View File

@ -11,6 +11,7 @@
#include <Parsers/ParserCreateQuery.h>
#include <Parsers/formatAST.h>
#include <Parsers/parseQuery.h>
#include <base/sort.h>
#include <boost/algorithm/hex.hpp>
#include <Common/NamedCollections/NamedCollectionConfiguration.h>
#include <Common/NamedCollections/NamedCollectionsMetadataStorage.h>

View File

@ -16,6 +16,8 @@
#include <Core/Settings.h>
#include <Poco/Environment.h>
#include <thread>
#pragma clang diagnostic ignored "-Wreserved-identifier"
namespace DB

View File

@ -3,6 +3,8 @@
#include <mysqlxx/Query.h>
#include <mysqlxx/Exception.h>
#include <base/preciseExp10.h>
namespace mysqlxx
{

View File

@ -1,19 +1,11 @@
#pragma once
#include <string.h>
#include <stdio.h>
#include <time.h>
#include <math.h>
#include <string>
#include <limits>
#include <base/preciseExp10.h>
#include <base/types.h>
#include <Common/DateLUT.h>
#include <mysqlxx/Types.h>
#include <Common/LocalDateTime.h>
#include <mysqlxx/Types.h>
#include <ostream>
#include <string>
namespace mysqlxx

View File

@ -1,14 +1,14 @@
#include "config.h"
#include <string_view>
#include <Common/Exception.h>
#include <base/types.h>
#include <IO/VarInt.h>
#include <Compression/CompressionFactory.h>
#include <Compression/CompressionCodecEncrypted.h>
#include <Compression/CompressionFactory.h>
#include <IO/VarInt.h>
#include <Parsers/IAST.h>
#include <Poco/Logger.h>
#include <base/types.h>
#include <Common/Exception.h>
#include <Common/MemorySanitizer.h>
#include <Common/logger_useful.h>
#include <Common/safe_cast.h>
#include "config.h"
#if USE_SSL
# include <openssl/err.h>

View File

@ -16,6 +16,7 @@
#include <IO/WriteBufferFromFile.h>
#include <IO/WriteHelpers.h>
#include <IO/copyData.h>
#include <base/sort.h>
#include <Common/ZooKeeper/ZooKeeperCommon.h>
#include <Common/ZooKeeper/ZooKeeperIO.h>
#include <Common/logger_useful.h>

View File

@ -1,13 +1,11 @@
#pragma once
#include <cassert>
#include <cstring>
#include <memory>
#include <Common/Exception.h>
#include <Common/Priority.h>
#include <IO/BufferBase.h>
#include <IO/AsynchronousReader.h>
namespace DB

View File

@ -1,17 +1,17 @@
#include <Interpreters/TransactionLog.h>
#include <Interpreters/TransactionVersionMetadata.h>
#include <Interpreters/Context.h>
#include <Interpreters/TransactionsInfoLog.h>
#include <Core/ServerUUID.h>
#include <IO/ReadBufferFromString.h>
#include <IO/ReadHelpers.h>
#include <IO/WriteHelpers.h>
#include <IO/ReadBufferFromString.h>
#include <Interpreters/Context.h>
#include <Interpreters/TransactionLog.h>
#include <Interpreters/TransactionVersionMetadata.h>
#include <Interpreters/TransactionsInfoLog.h>
#include <base/sort.h>
#include <Common/Exception.h>
#include <Common/ZooKeeper/KeeperException.h>
#include <Common/threadPoolCallbackRunner.h>
#include <Core/ServerUUID.h>
#include <Common/logger_useful.h>
#include <Common/noexcept_scope.h>
#include <Common/threadPoolCallbackRunner.h>
namespace DB
{

View File

@ -1,5 +1,6 @@
#include <Server/PrometheusRequestHandlerFactory.h>
#include <Core/Types_fwd.h>
#include <Server/HTTPHandlerFactory.h>
#include <Server/PrometheusMetricsWriter.h>
#include <Server/PrometheusRequestHandler.h>

View File

@ -6,15 +6,12 @@
#include <string>
#include <memory>
#include <hdfs/hdfs.h>
#include <Poco/Util/AbstractConfiguration.h>
#include <base/types.h>
#include <IO/ReadBuffer.h>
#include <IO/BufferWithOwnMemory.h>
#include <IO/SeekableReadBuffer.h>
#include <Storages/ObjectStorage/HDFS/ReadBufferFromHDFS.h>
#include <Interpreters/Context.h>
# include <IO/AsynchronousReader.h>
# include <IO/BufferWithOwnMemory.h>
# include <IO/SeekableReadBuffer.h>
# include <Interpreters/Context.h>
# include <Storages/ObjectStorage/HDFS/ReadBufferFromHDFS.h>
# include <base/types.h>
namespace DB
{