>    query the external table using HiveCLI (e.g. SELECT * FROM
>    my_external_table), HiveCLI prints out a table with the correct

If the error is always on a "select *", then the issue might be the SerDe's 
handling of included columns.

Check what you get for  

colNames = 
Arrays.asList(tblProperties.getProperty(serdeConstants.LIST_COLUMNS).split(","));

Or to confirm it, try doing "Select col from table" instead of "*".

Cheers,
Gopal    


Reply via email to