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_r306557717
 
 

 ##########
 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:
   Agreed that we can add a new table type header for realtime. thanks.

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

Reply via email to