nooneuse commented on code in PR #66307:
URL: https://github.com/apache/doris/pull/66307#discussion_r3703755661
##########
fe/fe-core/src/main/java/org/apache/doris/catalog/constraint/ConstraintManager.java:
##########
@@ -216,6 +219,12 @@ public ImmutableList<UniqueConstraint>
getUniqueConstraints(
UniqueConstraint.class);
}
+ /** Returns all distribution mapping constraints for the given table. */
+ public ImmutableList<DistributionMappingConstraint>
getDistributionMappingConstraints(
+ TableNameInfo tableNameInfo) {
+ return getConstraintsByType(toKey(tableNameInfo),
DistributionMappingConstraint.class);
Review Comment:
You're right. I'll fix it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]