Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
4.0.0
-
None
Description
Steps to reproduce:
DROP TABLE IF EXISTS default.tbl_oGSJ; CREATE TABLE default.tbl_oGSJ (c1 array<smallint>); INSERT INTO default.tbl_oGSJ(c1) VALUES (array(55,54));
Error:
Error: Error while compiling statement: FAILED: SemanticException Line 0:-1 Cannot insert into target table because column number/types are different 'TOK_TMP_FILE': Cannot convert column 0 from array<int> to array<smallint>. (state=42000,code=40000)
The same is the case for bigint, tinyint as well
Attachments
Issue Links
- is related to
-
HIVE-26689 INSERT query with array<date> type failing with SemanticException (Unable to do implicit cast)
-
- Open
-
- links to