[chore](build) Use include-what-you-use to optimize includes (#18681)
Currently, there are some useless includes in the codebase. We can use a tool named include-what-you-use to optimize these includes. By using a strict include-what-you-use policy, we can get lots of benefits from it.
This commit is contained in:
@ -20,9 +20,18 @@
|
||||
|
||||
#include "exec/scan_node.h"
|
||||
|
||||
#include <gen_cpp/Metrics_types.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "vec/exprs/vexpr_context.h"
|
||||
#include "vec/utils/util.hpp"
|
||||
|
||||
namespace doris {
|
||||
class RuntimeState;
|
||||
namespace vectorized {
|
||||
class VExpr;
|
||||
} // namespace vectorized
|
||||
|
||||
const std::string ScanNode::_s_bytes_read_counter = "BytesRead";
|
||||
const std::string ScanNode::_s_rows_read_counter = "RowsRead";
|
||||
|
||||
Reference in New Issue
Block a user