You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/07/30 02:58:27 UTC

[GitHub] [druid] FrankChen021 commented on issue #11499: Druid get lookup for individual lookup failing with 500

FrankChen021 commented on issue #11499:
URL: https://github.com/apache/druid/issues/11499#issuecomment-889591041


   This is a bug. The code here returns an object of type of `java.util.Optional` which can't be serialized.
   
   https://github.com/apache/druid/blob/59e61e127a14ff4dd41e76a2ff1bfd90ea3ac8af/server/src/main/java/org/apache/druid/query/lookup/LookupListeningResource.java#L113
   
   It should be fixed as `manager.get(id).orElse(null)`
   


-- 
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: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org