Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

While loading the data from external hive table to orc table,

avatar
Contributor
 
1 ACCEPTED SOLUTION

avatar
Guru

@kotesh banoth please complete your sentence 🙂

View solution in original post

10 REPLIES 10

avatar
Super Collaborator

The query fails here. Below is the stack for the error generated

public static RecordUpdater getAcidRecordUpdater(JobConf jc, TableDesc tableInfo, int bucket,
  FileSinkDesc conf, Path outPath,
  ObjectInspector inspector,
  Reporter reporter, int rowIdColNum)
  throws HiveException, IOException {
HiveOutputFormat<?, ?> hiveOutputFormat = getHiveOutputFormat(jc, tableInfo);
AcidOutputFormat<?, ?> acidOutputFormat = null;
if (hiveOutputFormat instanceof AcidOutputFormat) {
  acidOutputFormat = (AcidOutputFormat)hiveOutputFormat;
} else {
  throw new HiveException("Unable to create RecordUpdater for HiveOutputFormat that does not " +
      "implement AcidOutputFormat");

Are these tables have ACID support enabled ?