[FEAT MERGE]: online optimizer stats gather.
Co-authored-by: obdev <obdev@oceanbase.com>
This commit is contained in:
@ -14,6 +14,7 @@
|
||||
|
||||
#include "sql/engine/px/ob_px_scheduler.h"
|
||||
#include "sql/engine/px/ob_dfo_scheduler.h"
|
||||
#include "sql/engine/px/ob_dfo_mgr.h"
|
||||
#include "lib/random/ob_random.h"
|
||||
#include "share/ob_rpc_share.h"
|
||||
#include "share/schema/ob_part_mgr_util.h"
|
||||
@ -99,8 +100,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
int ObPxMsgProc::on_process_end(ObExecContext &ctx)
|
||||
{
|
||||
UNUSED(ctx);
|
||||
@ -419,6 +418,14 @@ int ObPxMsgProc::on_piece_msg(
|
||||
return proc.on_piece_msg(coord_info_, ctx, pkt);
|
||||
}
|
||||
|
||||
int ObPxMsgProc::on_piece_msg(
|
||||
ObExecContext &ctx,
|
||||
const ObOptStatsGatherPieceMsg &pkt)
|
||||
{
|
||||
ObDhPieceMsgProc<ObOptStatsGatherPieceMsg> proc;
|
||||
return proc.on_piece_msg(coord_info_, ctx, pkt);
|
||||
}
|
||||
|
||||
int ObPxMsgProc::on_eof_row(ObExecContext &ctx)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
@ -794,5 +801,13 @@ int ObPxTerminateMsgProc::on_piece_msg(
|
||||
return common::OB_SUCCESS;
|
||||
}
|
||||
|
||||
int ObPxTerminateMsgProc::on_piece_msg(
|
||||
ObExecContext &,
|
||||
const ObOptStatsGatherPieceMsg &)
|
||||
{
|
||||
return common::OB_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
} // end namespace sql
|
||||
} // end namespace oceanbase
|
||||
|
||||
Reference in New Issue
Block a user