16 #ifndef IMPALA_EXEC_CATALOG_OP_EXECUTOR_H
17 #define IMPALA_EXEC_CATALOG_OP_EXECUTOR_H
19 #include <boost/scoped_ptr.hpp>
20 #include "gen-cpp/TCLIService_types.h"
21 #include "gen-cpp/Frontend_types.h"
40 Status Exec(
const TCatalogOpRequest& catalog_op);
51 const apache::hive::service::cli::thrift::TTableSchema& tbl_stats_schema,
52 const apache::hive::service::cli::thrift::TRowSet& tbl_stats_data,
53 const apache::hive::service::cli::thrift::TTableSchema& col_stats_schema,
54 const apache::hive::service::cli::thrift::TRowSet& col_stats_data);
60 TPrioritizeLoadResponse* result);
85 const apache::hive::service::cli::thrift::TTableSchema& tbl_stats_schema,
86 const apache::hive::service::cli::thrift::TRowSet& tbl_stats_data,
87 const std::vector<TPartitionStats>& existing_part_stats,
88 TAlterTableUpdateStatsParams* params);
90 const apache::hive::service::cli::thrift::TTableSchema& col_stats_schema,
91 const apache::hive::service::cli::thrift::TRowSet& col_stats_data,
92 TAlterTableUpdateStatsParams* params);
Status GetCatalogObject(const TCatalogObject &object_desc, TCatalogObject *result)
Status Exec(const TCatalogOpRequest &catalog_op)
Executes the given catalog operation against the catalog server.
CatalogOpExecutor(ExecEnv *env, Frontend *fe, RuntimeProfile *profile)
boost::scoped_ptr< TCatalogUpdateResult > catalog_update_result_
Result of executing a DDL request using the CatalogService.
RuntimeProfile * profile_
const TDdlExecResponse * ddl_exec_response() const
static void SetTableStats(const apache::hive::service::cli::thrift::TTableSchema &tbl_stats_schema, const apache::hive::service::cli::thrift::TRowSet &tbl_stats_data, const std::vector< TPartitionStats > &existing_part_stats, TAlterTableUpdateStatsParams *params)
void HandleDropFunction(const TDropFunctionParams &)
Status SentryAdminCheck(const TSentryAdminCheckRequest &re)
static void SetColumnStats(const apache::hive::service::cli::thrift::TTableSchema &col_stats_schema, const apache::hive::service::cli::thrift::TRowSet &col_stats_data, TAlterTableUpdateStatsParams *params)
boost::scoped_ptr< TDdlExecResponse > exec_response_
Response from executing the DDL request, see ddl_exec_response().
Status ExecComputeStats(const TComputeStatsParams &compute_stats_params, const apache::hive::service::cli::thrift::TTableSchema &tbl_stats_schema, const apache::hive::service::cli::thrift::TRowSet &tbl_stats_data, const apache::hive::service::cli::thrift::TTableSchema &col_stats_schema, const apache::hive::service::cli::thrift::TRowSet &col_stats_data)
Status PrioritizeLoad(const TPrioritizeLoadRequest &req, TPrioritizeLoadResponse *result)
void HandleDropDataSource(const TDropDataSourceParams &)
const TCatalogUpdateResult * update_catalog_result() const