[
https://issues.apache.org/jira/browse/PIG-3936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cheolsoo Park updated PIG-3936:
-------------------------------
Fix Version/s: 0.13.0
Assignee: Jeremy Karn
+1. Will commit this today.
> 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
> Assignee: Jeremy Karn
> Fix For: 0.13.0
>
> 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)