17 #ifndef SHARED_DICTIONARY_VALIDATOR_H
18 #define SHARED_DICTIONARY_VALIDATOR_H
22 #include "../Catalog/ColumnDescriptor.h"
23 #include "../Parser/ParserNode.h"
28 const std::list<ColumnDescriptor>& columns,
29 const std::vector<Parser::SharedDictionaryDef>& shared_dict_defs_so_far,
34 const std::vector<Parser::SharedDictionaryDef>& shared_dict_defs);
39 const std::vector<Parser::SharedDictionaryDef>& shared_dict_defs,
40 const std::list<ColumnDescriptor>& columns);
41 #endif // SHARED_DICTIONARY_VALIDATOR_H
const Parser::SharedDictionaryDef compress_reference_path(Parser::SharedDictionaryDef cur_node, const std::vector< Parser::SharedDictionaryDef > &shared_dict_defs)
class for a per-database catalog. also includes metadata for the current database and the current use...
void validate_shared_dictionary_order(const Parser::CreateTableBaseStmt *stmt, const Parser::SharedDictionaryDef *shared_dict_def, const std::vector< Parser::SharedDictionaryDef > &shared_dict_defs, const std::list< ColumnDescriptor > &columns)
void validate_shared_dictionary(const Parser::CreateTableBaseStmt *stmt, const Parser::SharedDictionaryDef *shared_dict_def, const std::list< ColumnDescriptor > &columns, const std::vector< Parser::SharedDictionaryDef > &shared_dict_defs_so_far, const Catalog_Namespace::Catalog &catalog)