You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "N Campbell (JIRA)" <ji...@apache.org> on 2017/01/08 15:02:58 UTC
[jira] [Created] (HIVE-15561) JDBC driver does not implement
getArray method for array types
N Campbell created HIVE-15561:
---------------------------------
Summary: JDBC driver does not implement getArray method for array types
Key: HIVE-15561
URL: https://issues.apache.org/jira/browse/HIVE-15561
Project: Hive
Issue Type: Bug
Affects Versions: 1.2.1
Reporter: N Campbell
getDriverVersion: 1.2.1000.2.5.0.0-1245
The JDBC driver returns a JDBC type enum 2003 which is an array type. If an application then attempts to call the getArray() method the driver will throw a not implemented exception.
Array z = rs.getArray("carrint");
create table if not exists TARRSINT (RNUM int , CARRSINT ARRAY< SMALLINT >)
ROW FORMAT DELIMITED FIELDS TERMINATED BY '|' COLLECTION ITEMS TERMINATED BY '^' LINES TERMINATED BY '\n'
STORED AS textfile ;
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)