mysql - Hive : casting array<string> to array<int> in query -


i have 2 tables :

create table ( `1` array<string>);  create table b ( `1` array<int>); 

and want put table in table b (table b empty) :

insert table b select * a; 

when doing following error :

failed: semanticexception [error 10044]: line 1:18 cannot insert target table because column number/types different 'b': cannot convert column 0 array<string> array<int>. 

whereas not error if fields of types string , int.

is there way cast arrays ?


Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

html - Outlook 2010 Anchor (url/address/link) -