[
https://issues.apache.org/jira/browse/HIVE-24161?focusedWorklogId=491912&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-491912
]
ASF GitHub Bot logged work on HIVE-24161:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 28/Sep/20 10:29
Start Date: 28/Sep/20 10:29
Worklog Time Spent: 10m
Work Description: kgyrtkirk merged pull request #1500:
URL: https://github.com/apache/hive/pull/1500
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 491912)
Time Spent: 20m (was: 10m)
> Support Oracle CLOB type in beeline
> -----------------------------------
>
> Key: HIVE-24161
> URL: https://issues.apache.org/jira/browse/HIVE-24161
> Project: Hive
> Issue Type: Improvement
> Components: Beeline
> Reporter: Robbie Zhang
> Assignee: Robbie Zhang
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> We can use beeline as a JDBC client to access RDBMS such as Oracle. Sometimes
> Oracle JDBC driver will return a CLOB object instead of a String object if
> the string is too long. Beeline used to work well with CLOB type but it's
> broken by HIVE-14786:
> [https://github.com/apache/hive/blob/2a760dd607e206d7f1061c01075767ecfff40d0c/beeline/src/java/org/apache/hive/beeline/Rows.java#L169]
> In the above line, when Oracle JDBC driver returns a CLOB object, it returns
> a string like "oracle.sql.CLOB@2f7c7260". In this case, we should use
> ResultSet.getString() rather than ResultSet.getObject().toString().
--
This message was sent by Atlassian Jira
(v8.3.4#803005)