Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.