kfaraz commented on code in PR #16667:
URL: https://github.com/apache/druid/pull/16667#discussion_r1675742056


##########
server/src/test/java/org/apache/druid/metadata/IndexerSqlMetadataStorageCoordinatorTestBase.java:
##########
@@ -322,6 +323,7 @@ protected DataSegment createSegment(Interval interval, 
String version, ShardSpec
                       .version(version)
                       .shardSpec(shardSpec)
                       .size(100)
+                      .loadSpec(ImmutableMap.of("hash", Objects.hash(interval, 
version, shardSpec)))

Review Comment:
   Okay, that works too. Just add a one-line comment so that future readers 
know the intent of the hashing logic here.



-- 
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]

Reply via email to