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

Thejas M Nair commented on HIVE-15717:
--------------------------------------

[~taoli-hwx] Returning false looks appropriate in this case.
We don't support delete/insert/update in HiveBaseResultSet.

A possible future optimization for beeline would be to recognize 
'SQLFeatureNotSupportedException'  exception and not make further calls to it. 
Created a related jira around use of 'SQLFeatureNotSupportedException'  - 
HIVE-15730


> 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, 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.



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

Reply via email to