[
https://issues.apache.org/jira/browse/HIVE-15561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
N Campbell updated HIVE-15561:
------------------------------
Component/s: JDBC
> 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
> Components: JDBC
> 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)