I have two tables :
create table a (
`1` array<string>);
create table b (
`1` array<int>);
and I want to put the table a in table b (table b is empty) :
insert into table b
select * from a;
when doing so I get the following error :
FAILED: SemanticException [Error 10044]: Line 1:18 Cannot insert into
target table because column number/types are different 'b': Cannot
convert column 0 from array<string> to array<int>.
whereas I would not get this error if the fields were only of types string and int.
Is there a way to do the cast with arrays ?