summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorapollo1321 <[email protected]>2024-10-29 12:19:49 +0300
committerapollo1321 <[email protected]>2024-10-29 12:37:26 +0300
commit3cb0de63de40f2be41fde99697cfdf98f2d928dc (patch)
tree910c0c7c628b4d434933825fea6129f2322fd71b
parent1bbf37447a9ef5837f107b95ae6be8b815e1e8e9 (diff)
Fix include order
Fix include order using `yt-include-order` clang-tidy check: <HIDDEN_URL> commit_hash:a07355cb9a9b1040bd157a77256b153584d35202
-rw-r--r--yt/yt/client/api/rpc_proxy/client_impl.cpp17
-rw-r--r--yt/yt/client/driver/driver.cpp11
-rw-r--r--yt/yt/client/driver/shuffle_commands.cpp10
-rw-r--r--yt/yt/client/driver/shuffle_commands.h2
4 files changed, 11 insertions, 29 deletions
diff --git a/yt/yt/client/api/rpc_proxy/client_impl.cpp b/yt/yt/client/api/rpc_proxy/client_impl.cpp
index cc9694ca707..b01b2ffd90b 100644
--- a/yt/yt/client/api/rpc_proxy/client_impl.cpp
+++ b/yt/yt/client/api/rpc_proxy/client_impl.cpp
@@ -10,47 +10,34 @@
#include "timestamp_provider.h"
#include "transaction.h"
-#include <yt/yt/client/api/distributed_table_session.h>
#include <yt/yt/client/api/helpers.h>
-#include <yt/yt/client/api/rowset.h>
-#include <yt/yt/client/api/transaction.h>
#include <yt/yt/client/chaos_client/replication_card_serialization.h>
-#include <yt/yt/client/transaction_client/remote_timestamp_provider.h>
-
#include <yt/yt/client/scheduler/operation_id_or_alias.h>
#include <yt/yt/client/table_client/columnar_statistics.h>
-#include <yt/yt/client/table_client/name_table.h>
-#include <yt/yt/client/table_client/row_base.h>
-#include <yt/yt/client/table_client/row_buffer.h>
#include <yt/yt/client/table_client/schema.h>
#include <yt/yt/client/table_client/unversioned_row.h>
#include <yt/yt/client/table_client/wire_protocol.h>
-#include <yt/yt/client/tablet_client/table_mount_cache.h>
+#include <yt/yt/client/api/distributed_table_session.h>
#include <yt/yt/client/ypath/rich.h>
#include <yt/yt/library/auth/credentials_injecting_channel.h>
-#include <yt/yt/core/net/address.h>
-
-#include <yt/yt/core/rpc/dynamic_channel_pool.h>
#include <yt/yt/core/rpc/retrying_channel.h>
#include <yt/yt/core/rpc/stream.h>
#include <yt/yt/core/ytree/convert.h>
-#include <util/generic/cast.h>
-
namespace NYT::NApi::NRpcProxy {
////////////////////////////////////////////////////////////////////////////////
-using NYT::ToProto;
using NYT::FromProto;
+using NYT::ToProto;
using namespace NAuth;
using namespace NChaosClient;
diff --git a/yt/yt/client/driver/driver.cpp b/yt/yt/client/driver/driver.cpp
index 3e57e388dfb..4de907381dd 100644
--- a/yt/yt/client/driver/driver.cpp
+++ b/yt/yt/client/driver/driver.cpp
@@ -17,25 +17,20 @@
#include "query_commands.h"
#include "queue_commands.h"
#include "scheduler_commands.h"
+#include "shuffle_commands.h"
#include "table_commands.h"
#include "transaction_commands.h"
-#include "shuffle_commands.h"
+
+#include <yt/yt/library/formats/format.h>
#include <yt/yt/client/api/client_cache.h>
#include <yt/yt/client/api/connection.h>
#include <yt/yt/client/api/sticky_transaction_pool.h>
-#include <yt/yt/client/api/transaction.h>
-
-#include <yt/yt/client/api/rpc_proxy/connection_impl.h>
-
-#include <yt/yt/client/node_tracker_client/node_directory.h>
#include <yt/yt/core/yson/null_consumer.h>
#include <yt/yt/core/tracing/trace_context.h>
-#include <yt/yt/library/formats/format.h>
-
#include <yt/yt/library/tvm/tvm_base.h>
diff --git a/yt/yt/client/driver/shuffle_commands.cpp b/yt/yt/client/driver/shuffle_commands.cpp
index 4e2ee805e86..ae8e5adbcdd 100644
--- a/yt/yt/client/driver/shuffle_commands.cpp
+++ b/yt/yt/client/driver/shuffle_commands.cpp
@@ -1,13 +1,15 @@
#include "shuffle_commands.h"
+#include <yt/yt/client/driver/config.h>
+
+#include <yt/yt/library/formats/format.h>
+
+#include <yt/yt/client/formats/config.h>
+
#include <yt/yt/client/table_client/adapters.h>
#include <yt/yt/client/table_client/table_output.h>
#include <yt/yt/client/table_client/value_consumer.h>
-#include <yt/yt/client/driver/config.h>
-#include <yt/yt/client/formats/config.h>
-
-#include <yt/yt/library/formats/format.h>
namespace NYT::NDriver {
diff --git a/yt/yt/client/driver/shuffle_commands.h b/yt/yt/client/driver/shuffle_commands.h
index 7b4394c49a2..1eebb8304ad 100644
--- a/yt/yt/client/driver/shuffle_commands.h
+++ b/yt/yt/client/driver/shuffle_commands.h
@@ -2,8 +2,6 @@
#include "command.h"
-#include <yt/yt/client/ypath/rich.h>
-
namespace NYT::NDriver {
////////////////////////////////////////////////////////////////////////////