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

Hive QA commented on HIVE-4519:
-------------------------------



{color:green}Overall{color}: +1 all checks pass

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12623308/HIVE-4519.3.patch.txt

{color:green}SUCCESS:{color} +1 4927 tests passed

Test results: 
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/934/testReport
Console output: 
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/934/console

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12623308

> JDBC getColumnTypeName() should respond with the Hive-specifc type name for 
> ARRAY, STRUCT and MAP
> -------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-4519
>                 URL: https://issues.apache.org/jira/browse/HIVE-4519
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 0.11.0
>            Reporter: Robert Roland
>            Assignee: Robert Roland
>         Attachments: HIVE-4519.1.patch.txt, HIVE-4519.2.patch.txt, 
> HIVE-4519.3.patch.txt
>
>
> Per the Javadocs for ResultSetMetaData#getColumnTypeName():
> "type name used by the database. If the column type is a user-defined type, 
> then a fully-qualified type name is returned."
> Hive's type for array, struct and map is not String. It is array, struct or 
> map, using a JSON string serialization. Returning the Hive type here will 
> allow you to programmatically determine if you should parse the value in the 
> ResultSet as JSON.
> ResultSetMetaData#getColumnType() should potentially return OTHER to indicate 
> the column is a database-specific return type.
> This would replace the fix provided HIVE-1378. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to