static const char* keys_type_to_string(KeysType type) { switch (type) { case KeysType::DUP_KEYS: return "DUP"; case KeysType::UNIQUE_KEYS: return "UNIQUE"; case KeysType::AGG_KEYS: return "AGG"; case KeysType::PRIMARY_KEYS: return "PRIMARY"; default: return "UNKNOWN"; } } Statu...
| IndexName | IndexKeysType | Field | Type | Null | Key | Default | Extra | +---+---+---+---+---+---+---+---+ | sales_records | DUP_KEYS | record_id | INT | Yes | true | NULL | | | | | seller_id | INT | Yes | true | NULL | | | | | store_id | IN...
struct TKeysType { enum type { PRIMARY_KEYS = 0, DUP_KEYS = 1, UNIQUE_KEYS = 2, AGG_KEYS = 3 }; }; enum KeysType { DUP_KEYS = 0, UNIQUE_KEYS = 1, AGG_KEYS = 2, PRIMARY_KEYS = 10 }; What I'm doing: Fix the bug of SpillMemTableSink checking keys type What type ...