Jeremy Karn created PIG-3936:
--------------------------------
Summary: DBStorage fails on storing nulls for non varchar columns
Key: PIG-3936
URL: https://issues.apache.org/jira/browse/PIG-3936
Project: Pig
Issue Type: Bug
Components: piggybank
Reporter: Jeremy Karn
When trying to store a null value into an integer column in Postgres we were
getting a JDBC error on the insert statement. I tracked it down to always
using varchar as the type when writing nulls in Pig.
To fix the issue I use the schema (if present) to determine the type of the
field with the null value.
--
This message was sent by Atlassian JIRA
(v6.2#6252)