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

Tao Li commented on HIVE-15717:
-------------------------------

I have attached the screen shot of the CPU profile. Instantiating the exception 
instances are CPU intensive which causes extra latency when beeline is used to 
display results (up to tens of seconds when displaying 1 million rows). 
According the CPU profile, this exception related cost is roughly half of total 
CPU cost from beeline, so reducing this cost should significantly improve the 
user experience.

[~thejas] Please let me know your thoughts.

> Class "org.apache.hive.beeline.Rows.Row" constructor is CPU consuming due to 
> exception handling
> -----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-15717
>                 URL: https://issues.apache.org/jira/browse/HIVE-15717
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Tao Li
>            Assignee: Tao Li
>         Attachments: Screen Shot 2017-01-24 at 3.15.14 PM.png
>
>
> The exception handling from the 3 methods calls (rowDeleted, rowDeleted and 
> rowUpdated). The implementation of these methods in 
> org.apache.hive.jdbc.HiveBaseResultSet class is just throwing 
> SQLException("Method not supported”), i.e. no real implementations.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to