hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] (HIVE-15717) JDBC: Implement rowDeleted, rowInserted and rowUpdated to return false
Date Tue, 31 Jan 2017 21:15:51 GMT

     [ https://issues.apache.org/jira/browse/HIVE-15717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thejas M Nair updated HIVE-15717:
---------------------------------
    Summary: JDBC: Implement rowDeleted, rowInserted and rowUpdated to return false  (was:
Class "org.apache.hive.beeline.Rows.Row" constructor is CPU consuming due to exception handling)

> JDBC: Implement rowDeleted, rowInserted and rowUpdated to return false
> ----------------------------------------------------------------------
>
>                 Key: HIVE-15717
>                 URL: https://issues.apache.org/jira/browse/HIVE-15717
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Tao Li
>            Assignee: Tao Li
>         Attachments: HIVE-15717.1.patch, HIVE-15717.2.patch, Screen Shot 2017-01-24 at
3.11.09 PM.png, Screen Shot 2017-01-24 at 3.15.14 PM.png
>
>
> In performance profile of beeline with hive jdbc driver, it is seen that lot of time
is spent in Class "org.apache.hive.beeline.Rows.Row" constructor, due to exception handling.
> The exception handling from the 3 methods calls (rowDeleted, rowInserted 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.
> Implementing these methods to return false instead of throwing exception will help improve
the performance.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message