Skip to content

Commit 2417873

Browse files
committed
fix
1 parent 2474f66 commit 2417873

File tree

1 file changed

+3
-0
lines changed
  • rust/cubesqlplanner/cubesqlplanner/src/test_fixtures/cube_bridge

1 file changed

+3
-0
lines changed

rust/cubesqlplanner/cubesqlplanner/src/test_fixtures/cube_bridge/mock_schema.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ impl MockSchema {
7676
}
7777
}
7878

79+
// Sort primary keys by name to ensure stable ordering
80+
pk_dimensions.sort();
81+
7982
if !pk_dimensions.is_empty() {
8083
primary_keys.insert(cube_name.clone(), pk_dimensions);
8184
}

0 commit comments

Comments
 (0)