Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3D8C21080B for ; Fri, 17 Jan 2014 15:34:00 +0000 (UTC) Received: (qmail 49409 invoked by uid 500); 17 Jan 2014 15:33:38 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 49270 invoked by uid 500); 17 Jan 2014 15:33:36 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 49146 invoked by uid 500); 17 Jan 2014 15:33:32 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 48983 invoked by uid 99); 17 Jan 2014 15:33:27 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jan 2014 15:33:27 +0000 Date: Fri, 17 Jan 2014 15:33:27 +0000 (UTC) From: "Xuefu Zhang (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-3611) Hive JDBC doesn't support BINARY column MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)