You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/11/11 03:09:13 UTC
[GitHub] [druid] cheddar commented on a change in pull request #11902: Add dimension partitioningType to metrics to track usage of different partitioning schemes
cheddar commented on a change in pull request #11902:
URL: https://github.com/apache/druid/pull/11902#discussion_r747168899
##########
File path: core/src/main/java/org/apache/druid/timeline/partition/ShardSpec.java
##########
@@ -123,6 +123,12 @@ default short getAtomicUpdateGroupSize()
@JsonIgnore
boolean possibleInDomain(Map<String, RangeSet<String>> domain);
+ /**
+ * Get the type name of this ShardSpec.
+ */
+ @JsonIgnore
+ String getType();
Review comment:
This should have a default implementation that returns something like "unknown". I don't know if anybody has implemented this interface in an extension, but it's technically possible and no reason to break their stuff if they did.
--
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: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org