mcvsubbu commented on a change in pull request #4454: Add table and segment
name header for segment push
URL: https://github.com/apache/incubator-pinot/pull/4454#discussion_r306426944
##########
File path:
pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotSegmentUploadRestletResource.java
##########
@@ -288,7 +288,15 @@ private SuccessResponse uploadSegment(FormDataMultiPart
multiPart, boolean enabl
throw new UnsupportedOperationException("Unsupported upload type: "
+ uploadType);
}
- String rawTableName = segmentMetadata.getTableName();
+ // Fetch raw table name. Try to derive the table name from the header
and then from segment metadata
Review comment:
We plan to include upload of merged realtime segments from minion, right?
So, we should include typed table name in the headers, not raw table name
----------------------------------------------------------------
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.
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]