[ https://issues.apache.org/jira/browse/HIVE-3611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13874870#comment-13874870 ]
Xuefu Zhang commented on HIVE-3611: ----------------------------------- [~leftylev] 1. Yes, binary type is in the list of JdbcColumn, but data can only be retrieved via getString() assuming data is encoded as base64. This JIRA adds getBinaryStream(), and binary data is retried as binary. 2. In my opinion, old JDBC (org.apache.hadoop.hive package) is in maintenance/deprecated mode, and we should not be adding new features (data types). However, this is not followed strictly by everyone. Thus, disparities may be seen. > Hive JDBC doesn't support BINARY column > --------------------------------------- > > Key: HIVE-3611 > URL: https://issues.apache.org/jira/browse/HIVE-3611 > Project: Hive > Issue Type: Improvement > Components: JDBC > Affects Versions: 0.9.0 > Reporter: Viji > Assignee: Xuefu Zhang > Labels: patch > Fix For: 0.13.0 > > Attachments: HIVE-3611.1.patch.txt, HIVE-3611.2.patch, > HIVE-3611.3.patch, HIVE-3611.4.patch > > > Similar to HIVE-2957, the JDBC HiveDriver should also support BINARY type > columns. -- This message was sent by Atlassian JIRA (v6.1.5#6160)