Hello,
I have a java Map (Map) and a JDBC connection to hive server.
The schema of the table at the server contains a column of type Map.
Is it possible to insert the java Map to the hive table column with similar
datatype using JDBC?
I tried:
"create table test(key string, value Map<String, String>)"
"insert into table test values ('keywer', map('subkey', 'subvalue'))
from dummy limit 1;"
ref: Hive inserting values to an array complex type column
Error: Error while compiling statement: FAILED: ParseException line
1:69 missing EOF at 'from' near ')' (state=42000,code=40000)"
hive version is : 0.14.0
Thanks
Sri