loquisgon commented on code in PR #12392:
URL: https://github.com/apache/druid/pull/12392#discussion_r848751638
##########
indexing-service/src/main/java/org/apache/druid/indexing/input/DruidSegmentInputFormat.java:
##########
@@ -55,14 +55,27 @@ public InputEntityReader createReader(
File temporaryDirectory
)
{
- return new DruidSegmentReader(
- source,
- indexIO,
- inputRowSchema.getTimestampSpec(),
- inputRowSchema.getDimensionsSpec(),
- inputRowSchema.getColumnsFilter(),
- dimFilter,
- temporaryDirectory
- );
+ // this method handles the case when the entity comes from a tombstone or
from a regular segment
+
+ InputEntityReader retVal = null;
+ // source is tombstone case
+ if (source instanceof DruidSegmentInputEntity) {
Review Comment:
Done in next commit
--
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]