[jira] [Commented] (PIG-3373) XMLLoader returns non-matching nodes when a tag name spans through the block boundary

2014-05-04 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13988967#comment-13988967 ] Ahmed Eldawy commented on PIG-3373: --- Yes. This issue is already covered by PIG-3865. We

[jira] [Updated] (PIG-3865) Remodel the XMLLoader to work to be faster and more maintainable

2014-04-23 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3865: -- Attachment: test-file-2.xml.bz2 Test file Place in src/test/java/org/apache/pig/piggybank/test

[jira] [Updated] (PIG-3865) Remodel the XMLLoader to work to be faster and more maintainable

2014-04-23 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3865: -- Attachment: bad-file.xml.bz2 Test file. Place this file in src/test/java/org/apache/pig/piggybank/test

[jira] [Commented] (PIG-3865) Remodel the XMLLoader to work to be faster and more maintainable

2014-04-23 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13978311#comment-13978311 ] Ahmed Eldawy commented on PIG-3865: --- Sorry for the delay. For some reasons, I didn't

[jira] [Updated] (PIG-3865) Remodel the XMLLoader to work to be faster and more maintainable

2014-04-05 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3865: -- Attachment: XMLLoader.java An updated version of XMLLoader with more comments and better structure

[jira] [Updated] (PIG-3865) Remodel the XMLLoader to work to be faster and more maintainable

2014-04-05 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3865: -- Attachment: PIG-3865.patch A patch for TestXMLLoader. It fixes some errors in previous tests. It also

[jira] [Updated] (PIG-3865) Remodel the XMLLoader to work to be faster and more maintainable

2014-04-05 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3865: -- Attachment: (was: PIG-3865.patch) Remodel the XMLLoader to work to be faster and more maintainable

[jira] [Updated] (PIG-3865) Remodel the XMLLoader to work to be faster and more maintainable

2014-04-05 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3865: -- Attachment: (was: PIG-3865.patch) Remodel the XMLLoader to work to be faster and more maintainable

[jira] [Updated] (PIG-3865) Remodel the XMLLoader to work to be faster and more maintainable

2014-04-05 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3865: -- Attachment: (was: XMLLoader.java) Remodel the XMLLoader to work to be faster and more maintainable

[jira] [Updated] (PIG-3865) Remodel the XMLLoader to work to be faster and more maintainable

2014-04-05 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3865: -- Attachment: PIG-3865-test.txt Sorry. The previous patch was for XMLLoader not the test

[jira] [Updated] (PIG-3865) Remodel the XMLLoader to work to be faster and more maintainable

2014-04-03 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3865: -- Description: I recreated the XMLLoader in PiggyBank to work line by line instead of character

[jira] [Updated] (PIG-3865) Remodel the XMLLoader to work to be faster and more maintainable

2014-04-03 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3865: -- Attachment: XMLLoader.java PIG-3865.patch A patch for the test to add one more test case

[jira] [Updated] (PIG-3865) Remodel the XMLLoader to work to be faster and more maintainable

2014-04-03 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3865: -- Status: Patch Available (was: Open) A patch is attached for the test which adds a new test for when

[jira] [Updated] (PIG-3373) XMLLoader returns non-matching nodes when a tag name spans through the block boundary

2014-01-31 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3373: -- Attachment: PIG3373_2.patch This new patch uses a specific file rather than generating its own file

[jira] [Commented] (PIG-3373) XMLLoader returns non-matching nodes when a tag name spans through the block boundary

2014-01-31 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13887929#comment-13887929 ] Ahmed Eldawy commented on PIG-3373: --- By the way, the attached file bad-file.xml.bz2

[jira] [Updated] (PIG-3373) XMLLoader returns non-matching nodes when a tag name spans through the block boundary

2014-01-31 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3373: -- Attachment: test-file-2.xml.bz2 Another, slightly smaller, test file that reveals this bug. XMLLoader

[jira] [Updated] (PIG-3373) XMLLoader returns non-matching nodes when a tag name spans through the block boundary

2014-01-31 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3373: -- Attachment: PIG3373_3.patch This patch uses test files in a test directory. XMLLoader returns non

[jira] [Updated] (PIG-3373) XMLLoader returns non-matching nodes when a tag name spans through the block boundary

2014-01-29 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3373: -- Attachment: PIG3373_1.patch This new patch includes a test case that fails. The fix is still the same

[jira] [Updated] (PIG-3373) XMLLoader returns non-matching nodes when a tag name spans through the block boundary

2014-01-29 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3373: -- Attachment: bad-file.xml.bz2 This is an example of a file that fails. Currently, this file is generated

[jira] [Updated] (PIG-3373) XMLLoader returns non-matching nodes when a tag name spans through the block boundary

2014-01-29 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3373: -- Affects Version/s: site Release Note: I added a new patch that fixes this bug. It turned out

[jira] [Created] (PIG-3373) XMLLoader returns non-matching nodes when a tag name spans through the block boundary

2013-07-03 Thread Ahmed Eldawy (JIRA)
Ahmed Eldawy created PIG-3373: - Summary: XMLLoader returns non-matching nodes when a tag name spans through the block boundary Key: PIG-3373 URL: https://issues.apache.org/jira/browse/PIG-3373 Project

[jira] [Updated] (PIG-3373) XMLLoader returns non-matching nodes when a tag name spans through the block boundary

2013-07-03 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3373: -- Labels: patch (was: ) Status: Patch Available (was: Open) I fixed this bug by allowing the reader

[jira] [Updated] (PIG-3373) XMLLoader returns non-matching nodes when a tag name spans through the block boundary

2013-07-03 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3373: -- Status: Open (was: Patch Available) XMLLoader returns non-matching nodes when a tag name spans

[jira] [Updated] (PIG-3373) XMLLoader returns non-matching nodes when a tag name spans through the block boundary

2013-07-03 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3373: -- Attachment: PIG3373.patch XMLLoader returns non-matching nodes when a tag name spans through

[jira] [Updated] (PIG-3373) XMLLoader returns non-matching nodes when a tag name spans through the block boundary

2013-07-03 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3373: -- Status: Patch Available (was: Open) diff --git java/src/main/java/org/apache/pig/piggybank/storage

[jira] [Created] (PIG-3344) Add a spatial datatype to Pig

2013-06-03 Thread Ahmed Eldawy (JIRA)
Ahmed Eldawy created PIG-3344: - Summary: Add a spatial datatype to Pig Key: PIG-3344 URL: https://issues.apache.org/jira/browse/PIG-3344 Project: Pig Issue Type: New Feature Components

Re: A major addition to Pig. Working with spatial data

2013-06-03 Thread Ahmed Eldawy
Ahmed Best regards, Ahmed Eldawy On Wed, May 29, 2013 at 12:17 PM, Russell Jurney russell.jur...@gmail.comwrote: Awesome. This would be a great addition to Pig. Please create a JIRA. Russell Jurney http://datasyndrome.com On May 29, 2013, at 8:51 AM, Ahmed Eldawy aseld...@gmail.com wrote

Re: A major addition to Pig. Working with spatial data

2013-05-29 Thread Ahmed Eldawy
/OGCGeometry.htmlwhich can be linked to a new datatype 'Geometry'. Do you think we can rely on the new package and integrate the work with Apache Pig? On May 23, 2013 11:40 PM, Ahmed Eldawy aseld...@gmail.com wrote: Hi all, Thanks for your help. I've started the project with a minimal functionality

Re: A major addition to Pig. Working with spatial data

2013-05-23 Thread Ahmed Eldawy
the project home page https://github.com/aseldawy/pigeon If you have any comments or suggestion please contact me. Best regards, Ahmed Eldawy On Mon, May 6, 2013 at 3:09 PM, Jonathan Coveney jcove...@gmail.com wrote: Nick: the only issue is that the way types are implemented in Pig don't allow us

Re: A major addition to Pig. Working with spatial data

2013-05-05 Thread Ahmed Eldawy
Best regards, Ahmed Eldawy On Sat, May 4, 2013 at 4:47 PM, Jonathan Coveney jcove...@gmail.com wrote: I agree that this is cool, and if other projects are using JTS it is worth talking them to see how. I also agree that licensing is very frustrating. In the short term, however, while

Re: A major addition to Pig. Working with spatial data

2013-05-02 Thread Ahmed Eldawy
ported to newer versions of Pig. Thanks Ahmed Best regards, Ahmed Eldawy On Thu, May 2, 2013 at 12:33 PM, Alan Gates ga...@hortonworks.com wrote: I know this is frustrating, but the different licenses do have different requirements that make it so that Apache can't ship GPL code. A legal

A major addition to Pig. Working with spatial data

2013-05-01 Thread Ahmed Eldawy
and hope to hear back from you. Best regards, Ahmed Eldawy

Re: A major addition to Pig. Working with spatial data

2013-05-01 Thread Ahmed Eldawy
, Ahmed Eldawy wrote: Hi all, First, sorry for the long email. I wanted to put all my thoughts here and get your feedback. I'm proposing a major addition to Pig that will greatly increase its functionality and user base. It is simply to add spatial support to the language

A contribution to piggybank XMLLoader

2013-04-30 Thread Ahmed Eldawy
there is no issue raised for this bug. Can you please help me? Best regards, Ahmed Eldawy

[jira] [Created] (PIG-3304) XMLLoader in piggybank does not work with inline closed tags

2013-04-30 Thread Ahmed Eldawy (JIRA)
Ahmed Eldawy created PIG-3304: - Summary: XMLLoader in piggybank does not work with inline closed tags Key: PIG-3304 URL: https://issues.apache.org/jira/browse/PIG-3304 Project: Pig Issue Type

[jira] [Updated] (PIG-3304) XMLLoader in piggybank does not work with inline closed tags

2013-04-30 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3304: -- Status: Patch Available (was: Open) XMLLoader in piggybank does not work with inline closed tags

[jira] [Updated] (PIG-3304) XMLLoader in piggybank does not work with inline closed tags

2013-04-30 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3304: -- Status: Open (was: Patch Available) diff --git java/src/main/java/org/apache/pig/piggybank/storage

[jira] [Resolved] (PIG-3304) XMLLoader in piggybank does not work with inline closed tags

2013-04-30 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy resolved PIG-3304. --- Resolution: Fixed XMLLoader in piggybank does not work with inline closed tags

Re: A contribution to piggybank XMLLoader

2013-04-30 Thread Ahmed Eldawy
Thanks for your help. I've created an issue and attached my fix. Here's the link https://issues.apache.org/jira/browse/PIG-3304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel What should I do next to get this code merged with the source repo? Best regards, Ahmed Eldawy

[jira] [Reopened] (PIG-3304) XMLLoader in piggybank does not work with inline closed tags

2013-04-30 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy reopened PIG-3304: --- Found a bug with nested entities that are closed inline XMLLoader in piggybank does

[jira] [Updated] (PIG-3304) XMLLoader in piggybank does not work with inline closed tags

2013-04-30 Thread Ahmed Eldawy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Eldawy updated PIG-3304: -- Attachment: xmlloader_inline_close_tag_1.patch An updated path that handles nested elements with inline