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

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

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -