You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2012/08/28 05:07:07 UTC

[jira] [Created] (PIG-2893) fix DBStorage compile issue

Thejas M Nair created PIG-2893:
----------------------------------

             Summary: 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

[jira] [Resolved] (PIG-2893) fix DBStorage compile issue

Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Gates resolved PIG-2893.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.11

I went ahead and checked in the fix since it was breaking my builds for other patches.
                
> 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
>             Fix For: 0.11
>
>         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

[jira] [Assigned] (PIG-2893) fix DBStorage compile issue

Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejas M Nair reassigned PIG-2893:
----------------------------------

    Assignee: Thejas M Nair
    
> 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
>            Assignee: Thejas M Nair
>             Fix For: 0.11
>
>         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

[jira] [Commented] (PIG-2893) fix DBStorage compile issue

Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
    [ 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

[jira] [Commented] (PIG-2893) fix DBStorage compile issue

Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443785#comment-13443785 ] 

Alan Gates commented on PIG-2893:
---------------------------------

+1, patch looks good.
                
> 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

[jira] [Updated] (PIG-2893) fix DBStorage compile issue

Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejas M Nair updated PIG-2893:
-------------------------------

    Attachment: PIG-2893.1.patch

PIG-2893.1.patch - fix for compile issue, updates to test case to use datetime type.

                
> 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