Have a table with following schema:
CREATE TABLE `student_details`(
`id_key` string,
`name` string,
`subjects` array<string>)
ROW FORMAT SERDE
'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'
STORED AS INPUTFORMAT
'org.apache.hadoop.mapred.TextInputFormat'
OUTPUTFORMAT
'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'
LOCATION
'path'
When trying to insert the values in the table getting an error message:
Tried:
INSERT INTO student_details values ('AA87U','BRYAN',array('ENG','CAL_1','CAL_2','HST','MUS'));
Error:
FAILED: SemanticException [Error 10293]: Unable to create temp file for insert values Expression of type TOK_FUNCTION not supported in insert/values
This doesn't make sense to me. Tried looking online and found a similar one: ExternalLink. The solution also not making any sense.
Any help please.