Support Questions

Find answers, ask questions, and share your expertise

renaming the parquet column

avatar
Explorer

how to rename the parquet format table columns

i have set the flag parquet.column.index.access=false

but when i want to retrieve data using "select * from tablename" , i am getting the error, Failed with exception java.io.IOException:org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.UnsupportedOperationException: Cannot inspect org.apache.hadoop.io.IntWritable

2 REPLIES 2

avatar

@Mallik Sunkara Are you able to query the table before altering the column name? I believe that you are facing this issue only after you have renamed the column name? Is my understanding is right?

avatar
Explorer

yes, after altering the column and after set the flag(parquet.column.index.access) in hive shell i am getting the error, if the flag set to false, all values in the changed column are nulls.