You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by ch...@finaris.de on 2018/11/14 15:24:45 UTC

Result of Hive ResultSet getObject() for Types ARRAY and MAP cannot be used for HivePreparedStatement.setObject()

Hello,

I would expect that this should work (in case for equally defned data 
types), actually it does not:

Error while compiling statement: FAILED: SemanticException [Error 10044]: 
Line 1:12 Cannot insert into target table because column number/types are 
different 'HiveDataTypes': Cannot convert column 0 from string to 
array<int>.

Could this be fixed in a future release?


Kind regards,

Christoff Schmitz

F I N A R I S
Financial Software Partner GmbH
Sömmerringstrasse 23
60322 Frankfurt am Main

Fon:      +49 (0)69  / 254 98 - 24
Mobile: +49 (0)176 / 206 34 186
Fax:       +49 (0)69  / 254 98 - 50
eMail:    mailto:Christoff.Schmitz@finaris.de
www:      http://www.finaris.de und http://www.rapidrep.com

================================================================================================================
Disclaimer
The information contained in this e - mail and any attachments ( together 
the "message") is intended for the addressee only and 
may contain confidential and/or privileged information. If you have 
received the message by mistake please delete it and notify 
the sender and do not copy or distribute it or disclose its contents to 
anyone.

FINARIS Financial Software Partner GmbH, Sömmerringstr. 23, 60322 
Frankfurt/Main, Germany
Registered at Frankfurt/Main, HRB 52873, Managing Directors: Dipl. Inf. 
Hermann Friebel, Dipl. Ing. Kai Bächle, Dipl. Inf. Werner Märkl
================================================================================================================