This question should be for Hive mailing list. The exception message is quite clear: you're casting to ArrayList[]
On Wed, Feb 22, 2017 at 5:41 AM, merp queen <merpqueen...@gmail.com> wrote: > Object values[] = (Object[])str.getValue(); // Target values > > I changed above line to below and its giving this error > > ArrayList<Object> values[] = (ArrayList<Object>[])str.getValue(); > > > Failed with exception > java.io.IOException:org.apache.hadoop.hive.ql.metadata.HiveException: > java.lang.ClassCastException: java.util.ArrayList cannot be cast to > [Ljava.util.ArrayList; > >