Did you verify the data by viewing this data using beeline on the cluster? Does it show up correctly lining up under the expected columns when you do a select * from <tablename>. You can run desc [extended|formatted] <tablename> to view the metadata for the table.
Hi, sorry for the delay and thank you for the answer. When I do select * from <tablename> it doesn´t appear any column name but when I run desc extended <tablename> the appear. which one shows me if the column names are or not in the metadata?
The hive table column names are stored in the metastore. Assuming you are using an external hive table on the txt file(s) you will need to either update the DDL for the table, or drop and re-create the table with the correct columns. Dropping an external table does not delete the underlying data.