Impala Can Not Parse "null" Values in Numeric Fields, Raises "Error converting column: <X> TO INT (Data is: null)" on the BDA Instead (Doc ID 2154903.1)

Last updated on JULY 01, 2016

Applies to:

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

Symptoms

When a column INT has null values in a field from a Sqoop import file, Impala gives errors on those fields like this:

WARNINGS: Error converting column: 2 TO INT (Data is: null)
Error converting column: 14 TO INT (Data is: null)
Error converting column: 27 TO INT (Data is: null)

However, Hive does not.

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