Creating a Hive Table with Avro Schema Fails with "java.sql.BatchUpdateException: Data truncation: Data too long for column 'TYPE_NAME' at row 1" (Doc ID 2163481.1)

Last updated on JULY 21, 2016

Applies to:

Big Data Appliance Integrated Software - Version 4.4.0 and later
Linux x86-64

Symptoms

Creating a Hive table using an avro schema with logic like:

 

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