[
https://issues.apache.org/jira/browse/HIVE-15717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15837351#comment-15837351
]
Tao Li commented on HIVE-15717:
-------------------------------
We want to keep Beeline working with other dbs such as PostgreSQL, so we don't
want to change the logic from org.apache.hive.beeline.Rows.Row class. One
possible solution is modifying the three methods to just return false in
org.apache.hive.jdbc.HiveBaseResultSet class. With the current logic, the 3
methods called from "org.apache.hive.beeline.Rows.Row" just throw exceptions
without updating the boolean variables, so the proposed change should not
change the logic.
> 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.11.09 PM.png, 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)