"SemanticException 2:24 Need to specify partition columns because the destination table is partitioned" With A Hive To Hive Mapping In ODI (Doc ID 1988601.1)

Last updated on MAY 12, 2017

Applies to:

Oracle Data Integrator - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

When running a mapping that loads data from one Hive table to another using IKM Hive Control Append, it fails with the error below at insert (new) rows step:

Error while processing statement: FAILED: SemanticException 2:24 Need to specify partition columns because the destination table is partitioned. Error encountered near token 'the_target_table'

The target table is a partitioned table as shown for the create table statement of the target table

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms