Re: Hive change struct column

2018-05-05 Thread Staticor
Hi kaducangica, This exception is telling that your data doesn't match to the definition. So I think you may redefine your Table Schema. A STRUCT is similar conceptually to a table row: it contains a fixed number of named fields, each with a predefined type. The names and number of fields

Hive change struct column

2018-05-05 Thread kaducangica
Hi all, i have the follwing Hive table on Amazon EMR: CREATE TABLE equipment_users ( user_id bigint, equipment array> ); I want to add a new field in equipment column doing this command: ALTER TABLE equipment_users CHANGE COLUMN equipment equipment array>; But it is giving me the error: E