[ 
https://issues.apache.org/jira/browse/HIVE-23277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17125528#comment-17125528
 ] 

Rajesh Balamohan commented on HIVE-23277:
-----------------------------------------

This is to avoid JSON serialization being in the hotpath of compiler thread. In 
short queries, where subsecond latency matters, this becomes an issue along 
with the query complexity. BTW, its \{getExplainPlan(plan, conf, hookContext)} 
also needs to be moved out of the in-thread processing.

> HiveProtoLogger should carry out JSON conversion in its own thread
> ------------------------------------------------------------------
>
>                 Key: HIVE-23277
>                 URL: https://issues.apache.org/jira/browse/HIVE-23277
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Rajesh Balamohan
>            Assignee: Attila Magyar
>            Priority: Minor
>         Attachments: HIVE-23277.1.patch, Screenshot 2020-04-23 at 11.27.42 
> AM.png
>
>
> !Screenshot 2020-04-23 at 11.27.42 AM.png|width=623,height=423!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to