diff --git a/src/base/ddl_parser.cc b/src/base/ddl_parser.cc index 99842eaf4e3..d0aa30d168c 100644 --- a/src/base/ddl_parser.cc +++ b/src/base/ddl_parser.cc @@ -606,7 +606,7 @@ MultiDBIndexMap IndexMapBuilder::ToMap() { std::string IndexMapBuilder::Encode(absl::string_view db, absl::string_view table, absl::Span keys, absl::string_view ts) { // children are ColumnRefNode - // dedup keys + // dedup and sort keys std::set cols(keys.begin(), keys.end()); if (cols.empty()) { return {};