pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-2893) fix DBStorage compile issue
Date Tue, 28 Aug 2012 03:09:07 GMT

    [ https://issues.apache.org/jira/browse/PIG-2893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13442922#comment-13442922
] 

Thejas M Nair commented on PIG-2893:
------------------------------------

The compile error was - 
    [javac] symbol  : method setDate(int,java.util.Date)
    [javac] location: interface java.sql.PreparedStatement
    [javac]             ps.setDate(sqlPos, ((DateTime) field).toDate());
                
> fix DBStorage compile issue
> ---------------------------
>
>                 Key: PIG-2893
>                 URL: https://issues.apache.org/jira/browse/PIG-2893
>             Project: Pig
>          Issue Type: Sub-task
>            Reporter: Thejas M Nair
>         Attachments: PIG-2893.1.patch
>
>
> DBStorage does not compile after the datetime patch was committed. The joda datetime
was passed as argument to java.sql.PreparedStatement.setDate() instead of java.sql.Date .

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message