OmniSciDB
a5dc49c757
|
Classes | |
struct | CompareResult |
Functions | |
bool | compare_sql_type_infos (const SQLTypeInfo &lhs, const SQLTypeInfo &rhs) |
CompareResult | compare_column_descriptors (const ColumnDescriptor *lhs, const ColumnDescriptor *rhs) |
CompareResult ddl_utils::alter_column_utils::compare_column_descriptors | ( | const ColumnDescriptor * | lhs, |
const ColumnDescriptor * | rhs | ||
) |
Definition at line 52 of file DdlUtils.cpp.
References ColumnDescriptor::chunks, ColumnDescriptor::columnId, ColumnDescriptor::columnName, ColumnDescriptor::columnType, compare_sql_type_infos(), ColumnDescriptor::default_value, ddl_utils::alter_column_utils::CompareResult::defaults_match, ddl_utils::alter_column_utils::CompareResult::exact_match, ColumnDescriptor::isDeletedCol, ColumnDescriptor::isGeoPhyCol, ColumnDescriptor::isSystemCol, ColumnDescriptor::isVirtualCol, ddl_utils::alter_column_utils::CompareResult::remainder_match, run_benchmark_import::result, ColumnDescriptor::sourceName, ddl_utils::alter_column_utils::CompareResult::sql_types_match, ColumnDescriptor::tableId, and ColumnDescriptor::virtualExpr.
Referenced by AlterTableAlterColumnCommand::alterColumns(), Fragmenter_Namespace::InsertOrderFragmenter::alterNonGeoColumnType(), AlterTableAlterColumnCommandRecoveryMgr::checkpoint(), AlterTableAlterColumnCommandRecoveryMgr::cleanupDeleteDictionaries(), AlterTableAlterColumnCommand::collectExpectedCatalogChanges(), anonymous_namespace{DdlCommandExecutor.cpp}::get_alter_column_src_dst_cds(), and AlterTableAlterColumnCommand::prepareColumns().
bool ddl_utils::alter_column_utils::compare_sql_type_infos | ( | const SQLTypeInfo & | lhs, |
const SQLTypeInfo & | rhs | ||
) |
Definition at line 40 of file DdlUtils.cpp.
References SQLTypeInfo::get_comp_param(), SQLTypeInfo::get_compression(), SQLTypeInfo::get_dimension(), SQLTypeInfo::get_notnull(), SQLTypeInfo::get_scale(), SQLTypeInfo::get_size(), SQLTypeInfo::get_subtype(), SQLTypeInfo::get_type(), kENCODING_DICT, and kENCODING_NONE.
Referenced by compare_column_descriptors().