[ https://issues.apache.org/jira/browse/HIVE-26687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17655439#comment-17655439 ]
Manthan B Y commented on HIVE-26687: ------------------------------------ Related issues: * https://issues.apache.org/jira/browse/HIVE-25434 * https://issues.apache.org/jira/browse/HIVE-26689 > INSERT query with array<smallint> type failing with SemanticException > --------------------------------------------------------------------- > > Key: HIVE-26687 > URL: https://issues.apache.org/jira/browse/HIVE-26687 > Project: Hive > Issue Type: Bug > Components: Hive > Reporter: Manthan B Y > Priority: Major > > *Steps to reproduce:* > {code:java} > 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)); {code} > *Error:* > {code:java} > 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) {code} > The same is the case for bigint, tinyint as well -- This message was sent by Atlassian Jira (v8.20.10#820010)