42 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr)
54 std::shared_ptr<Catalog_Namespace::SessionInfo const>
session_ptr_;
61 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
70 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
86 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
95 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
102 const std::list<ColumnDescriptor>& columns);
110 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
118 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
146 const std::list<const ColumnDescriptor*>& cds);
151 std::list<const ColumnDescriptor*>>>& geo_src_dst_cds);
162 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
170 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
183 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
192 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
203 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
212 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
224 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
232 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
240 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
249 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
258 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
267 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
275 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
284 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
299 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
306 std::shared_ptr<AbstractMLModel> model,
307 std::vector<TargetMetaInfo>& label_infos)
const;
311 const std::vector<std::vector<std::string>>& cat_sub_features,
312 std::vector<double>& extra_metadata,
313 const std::vector<std::vector<double>>& eigenvectors,
314 const std::vector<int64_t>& inverse_permutations)
const;
320 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
329 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
341 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
349 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
358 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
366 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
374 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
382 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
390 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
402 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
423 std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr);
ExecutionResult execute(bool read_only_mode) override
ShowForeignServersCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
void alterGeoColumnData(const TableDescriptor *td, const std::list< std::pair< const ColumnDescriptor *, std::list< const ColumnDescriptor * >>> &geo_src_dst_cds)
ExecutionResult execute(bool read_only_mode) override
ExecutionResult execute(bool read_only_mode) override
ShowRolesCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
ExecutionResult execute(bool read_only_mode) override
std::vector< std::string > getFilteredModelNames()
AlterForeignServerCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
void cleanupRecoveryInfo(const TableDescriptor *td)
std::pair< std::vector< double >, std::vector< std::vector< double > > > extractExtraMetadata(std::shared_ptr< AbstractMLModel > model, std::vector< TargetMetaInfo > &label_infos) const
AlterTableAlterColumnCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
void alterOptions(const foreign_storage::ForeignTable &foreign_table)
const std::string getTargetQuerySessionToKill() const
ShowCreateTableCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
ShowCreateServerCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
std::unique_ptr< DdlCommandData > ddl_data_
const std::string commandStr() const
void clearInMemoryData(const TableDescriptor *td, const TypePairs &src_dst_cds)
ExecutionResult execute(bool read_only_mode) override
ExecutionResult execute(bool read_only_mode) override
ExecutionResult execute(bool read_only_mode) override
ExecutionResult execute(bool read_only_mode) override
virtual ExecutionResult execute(bool read_only_mode)=0
AlterTableAlterColumnCommandRecoveryMgr::RecoveryInfo recovery_info_
ExecutionResult execute(bool read_only_mode) override
CreateForeignServerCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
ExecutionResult execute(bool read_only_mode) override
void renameForeignServer()
ShowDatabasesCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
ExecutionResult execute(bool read_only_mode) override
ExecutionResult execute(bool read_only_mode) override
DropForeignTableCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
ExecutionResult execute(bool read_only_mode) override
virtual std::string commandStr()=0
ExecutionResult execute(bool read_only_mode) override
CreatePolicyCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
CreateForeignTableCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
ShowTablesCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
ShowDiskCacheUsageCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
DropPolicyCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
ExecutionResult execute(bool read_only_mode) override
void alterColumns(const TableDescriptor *td, const TypePairs &src_dst_cds)
std::pair< std::string, std::string > getSessionParameter() const
DistributedExecutionDetails getDistributedExecutionDetails() const
EvaluateModelCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
ExecutionResult execute(bool read_only_mode) override
ExecutionResult execute(bool read_only_mode) override
std::set< std::string > old_owners_
bool isShowQueries() const
void alterNonGeoColumnData(const TableDescriptor *td, const std::list< const ColumnDescriptor * > &cds)
ExecutionResult execute(bool read_only_mode) override
void setTableDetails(const std::string &table_name, TableDescriptor &td, const std::list< ColumnDescriptor > &columns)
bool isAlterSystemClear() const
ExecutionResult execute(bool read_only_mode) override
const DdlCommandData & ddl_data_
ShowModelFeatureDetailsCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
std::vector< TargetMetaInfo > prepareLabelInfos() const
void populateAndWriteRecoveryInfo(const TableDescriptor *td, const TypePairs &src_dst_cds)
ExecutionResult execute(bool read_only_mode) override
ShowTableDetailsCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
void setColumnDetails(std::list< ColumnDescriptor > &columns)
DropForeignServerCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
std::string ddl_statement_
ExecutionResult execute(bool read_only_mode) override
DdlCommandData(const std::string &ddl_statement)
bool hasAlterServerPrivileges()
std::list< const ColumnDescriptor * > prepareColumns(const TableDescriptor *td, const TypePairs &src_dst_cds)
AlterDatabaseCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
bool isShowUserSessions() const
ExecutionResult execute(bool read_only_mode) override
void setForeignServerOptions()
specifies the content in-memory of a row in the column metadata table
void collectExpectedCatalogChanges(const TableDescriptor *td, const TypePairs &src_dst_cds)
AggregationType aggregation_type
virtual ~DdlCommandData()
void alterColumnTypes(const TableDescriptor *td, const TypePairs &src_dst_cds)
std::list< std::list< ColumnDescriptor > > prepareGeoColumns(const TableDescriptor *td, const TypePairs &src_dst_cds)
std::list< std::pair< const ColumnDescriptor *, ColumnDescriptor * >> TypePairs
ExecutionResult execute(bool read_only_mode) override
ExecutionResult execute(bool read_only_mode) override
bool isAlterSessionSet() const
std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr_
std::vector< std::string > getFilteredTableNames()
DdlCommandExecutor(const std::string &ddl_statement, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
ShowModelDetailsCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
ExecutionResult execute(bool read_only_mode)
ExecutionResult execute(bool read_only_mode) override
std::string returnQueueAction() const
AlterTableAlterColumnCommandRecoveryMgr recovery_mgr_
void changeForeignServerOwner()
AlterTableCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
ExecutionResult execute(bool read_only_mode) override
ReassignOwnedCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
std::vector< std::string > getFilteredTableNames()
ExecutionResult execute(bool read_only_mode) override
std::string returnCacheType() const
DdlCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
void renameTable(const foreign_storage::ForeignTable *foreign_table)
ShowFunctionsCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
alter_column_shared::TypePairs TypePairs
ExecutionResult execute(bool read_only_mode) override
ExecutionResult execute(bool read_only_mode) override
std::vector< RelLogicalValues::RowValues > prepareLogicalValues(const MLModelMetadata &model_metadata, const std::vector< std::vector< std::string >> &cat_sub_features, std::vector< double > &extra_metadata, const std::vector< std::vector< double >> &eigenvectors, const std::vector< int64_t > &inverse_permutations) const
ShowPoliciesCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr_
ExecutionResult execute(bool read_only_mode) override
ExecutionLocation execution_location
bool isAlterSystemControlExecutorQueue() const
AlterForeignTableCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
void renameColumn(const foreign_storage::ForeignTable *foreign_table)
ShowRuntimeFunctionsCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
ShowUserDetailsCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
void setForeignServerDataWrapper()
ShowRuntimeTableFunctionsCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
RefreshForeignTablesCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
ExecutionResult execute(bool read_only_mode) override
ShowModelsCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
ShowTableFunctionsCommand(const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)