gianm commented on a change in pull request #6356: Fix indexes introduced in 
#6348.
URL: https://github.com/apache/incubator-druid/pull/6356#discussion_r220565794
 
 

 ##########
 File path: 
server/src/main/java/org/apache/druid/metadata/SQLMetadataConnector.java
 ##########
 @@ -217,9 +217,13 @@ public void createPendingSegmentsTable(final String 
tableName)
                 tableName, getPayloadType(), getQuoteString()
             ),
             StringUtils.format(
-                "CREATE INDEX idx_%1$s_datasource_used_end ON %1$s(dataSource, 
used, %2$send%2$s)",
+                "CREATE INDEX idx_%1$s_datasource_end ON %1$s(dataSource, 
%2$send%2$s)",
 
 Review comment:
   We generally expect a small number of pending segments per sequence name, so 
I didn't think adding `end` would help much.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to