[ https://issues.apache.org/jira/browse/PIG-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhijie Shen updated PIG-1429: ----------------------------- Attachment: PIG-1429_2.patch The boolean type nearly works with the newest patch, though I still have a number of issues to check and test cases to add. In this patch, I've modified the parser so that boolean expression is recognized in the pig command statements (including the constant value "ture" and "false"). Meanwhile, loading or storing boolean value into storage is supported as well. In addition, I modified the casting rules so that other types can be casted to boolean and boolean can be casted to other types. Since the code related to data type is widely spread in the project. I need further investigation to ensure there is no missing part. > Add Boolean Data Type to Pig > ---------------------------- > > Key: PIG-1429 > URL: https://issues.apache.org/jira/browse/PIG-1429 > Project: Pig > Issue Type: New Feature > Components: data > Affects Versions: 0.7.0 > Reporter: Russell Jurney > Assignee: Zhijie Shen > Labels: boolean, gsoc2011, pig, type > Attachments: PIG-1429_1.patch, PIG-1429_2.patch, working_boolean.patch > > Original Estimate: 8h > Remaining Estimate: 8h > > Pig needs a Boolean data type. Pig-1097 is dependent on doing this. > I volunteer. Is there anything beyond the work in src/org/apache/pig/data/ > plus unit tests to make this work? > This is a candidate project for Google summer of code 2011. More information > about the program can be found at http://wiki.apache.org/pig/GSoc2011 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira