[ https://issues.apache.org/jira/browse/PIG-3936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeremy Karn updated PIG-3936: ----------------------------- Status: Patch Available (was: Open) > 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 > Attachments: PIG-3936.patch > > > 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)