Pig
  1. Pig
  2. PIG-1618

Switch to new parser generator technology

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.9.0
    • Component/s: None
    • Labels:
      None

      Description

      There are many bugs in Pig related to the parser, particularly to bad error messages. After review of Java CC we feel these will be difficult to address using that tool. Also, the .jjt files used by JavaCC are hard to understand and maintain.

      ANTLR is being reviewed as the most likely choice to move to, but other parsers will be reviewed as well.

      This JIRA will act as an umbrella issue for other parser issues.

      1. NewParser-25.patch
        0.8 kB
        Xuefu Zhang
      2. NewParser-23.2.patch
        194 kB
        Thejas M Nair
      3. NewParser-24.patch
        20 kB
        Xuefu Zhang
      4. NewParser-23.patch
        185 kB
        Thejas M Nair
      5. NewParser-22.patch
        29 kB
        Xuefu Zhang
      6. NewParser-21.patch
        32 kB
        Xuefu Zhang
      7. NewParser-19.3.patch
        965 kB
        Thejas M Nair
      8. NewParser-19.patch
        881 kB
        Xuefu Zhang
      9. NewParser-18.patch
        886 kB
        Xuefu Zhang
      10. NewParser-15.patch
        44 kB
        Xuefu Zhang
      11. NewParser-14.patch
        16 kB
        Xuefu Zhang
      12. NewParser-13.2.patch
        35 kB
        Thejas M Nair
      13. NewParser-13.patch
        35 kB
        Xuefu Zhang
      14. NewParser-12.patch
        12 kB
        Xuefu Zhang
      15. NewParser-11.patch
        61 kB
        Xuefu Zhang
      16. NewParser-10.patch
        50 kB
        Xuefu Zhang
      17. NewParser-9.patch
        35 kB
        Xuefu Zhang
      18. NewParser-8.patches
        42 kB
        Xuefu Zhang
      19. NewParser-7.patch
        34 kB
        Xuefu Zhang
      20. NewParser-6.patch
        35 kB
        Xuefu Zhang
      21. NewParser-5.patch
        21 kB
        Xuefu Zhang
      22. NewParser-4.patch
        17 kB
        Xuefu Zhang
      23. NewParser-3.patch
        16 kB
        Xuefu Zhang
      24. NewParser-3.patch
        15 kB
        Xuefu Zhang
      25. javadoc.patch
        2 kB
        Thejas M Nair
      26. NewParser-2.patch
        38 kB
        Xuefu Zhang
      27. antlr-3.2.jar
        1.84 MB
        Xuefu Zhang
      28. NewParser-1.patch
        37 kB
        Xuefu Zhang

        Issue Links

          Activity

          Alan Gates created issue -
          Alan Gates made changes -
          Field Original Value New Value
          Link This issue is depended upon by PIG-1499 [ PIG-1499 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-1462 [ PIG-1462 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-1387 [ PIG-1387 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-1152 [ PIG-1152 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-1092 [ PIG-1092 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-900 [ PIG-900 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-838 [ PIG-838 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-731 [ PIG-731 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-674 [ PIG-674 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-618 [ PIG-618 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-596 [ PIG-596 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-583 [ PIG-583 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-579 [ PIG-579 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-548 [ PIG-548 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-394 [ PIG-394 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-377 [ PIG-377 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-356 [ PIG-356 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-217 [ PIG-217 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-144 [ PIG-144 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-19 [ PIG-19 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-1619 [ PIG-1619 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-1620 [ PIG-1620 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-1621 [ PIG-1621 ]
          Alan Gates made changes -
          Link This issue is blocked by PIG-1622 [ PIG-1622 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-1623 [ PIG-1623 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-1581 [ PIG-1581 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-1545 [ PIG-1545 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-1339 [ PIG-1339 ]
          Alan Gates made changes -
          Link This issue is blocked by PIG-1244 [ PIG-1244 ]
          Alan Gates made changes -
          Link This issue is blocked by PIG-1244 [ PIG-1244 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-1244 [ PIG-1244 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-719 [ PIG-719 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-670 [ PIG-670 ]
          Alan Gates made changes -
          Link This issue is depended upon by PIG-1663 [ PIG-1663 ]
          Xuefu Zhang made changes -
          Attachment NewParser-1.patch [ 12458209 ]
          Attachment antlr-3.2.jar [ 12458210 ]
          Xuefu Zhang made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Xuefu Zhang made changes -
          Attachment NewParser-2.patch [ 12458264 ]
          Attachment antlr-3.2.jar [ 12458265 ]
          Xuefu Zhang made changes -
          Attachment antlr-3.2.jar [ 12458265 ]
          Thejas M Nair made changes -
          Issue Type Bug [ 1 ] Improvement [ 4 ]
          Thejas M Nair made changes -
          Attachment javadoc.patch [ 12459060 ]
          Xuefu Zhang made changes -
          Attachment NewParser-3.patch [ 12459644 ]
          Xuefu Zhang made changes -
          Attachment NewParser-3.patch [ 12459648 ]
          Xuefu Zhang made changes -
          Attachment NewParser-4.patch [ 12459864 ]
          Xuefu Zhang made changes -
          Attachment NewParser-5.patch [ 12460077 ]
          Xuefu Zhang made changes -
          Attachment NewParser-6.patch [ 12465267 ]
          Xuefu Zhang made changes -
          Attachment NewParser-7.patch [ 12465396 ]
          Xuefu Zhang made changes -
          Attachment NewParser-8.patches [ 12466150 ]
          Xuefu Zhang made changes -
          Attachment NewParser-9.patch [ 12466422 ]
          Thejas M Nair made changes -
          Link This issue blocks PIG-1774 [ PIG-1774 ]
          Xuefu Zhang made changes -
          Attachment NewParser-10.patch [ 12467381 ]
          Xuefu Zhang made changes -
          Attachment NewParser-10.patch [ 12467381 ]
          Xuefu Zhang made changes -
          Attachment NewParser-10.patch [ 12467382 ]
          Xuefu Zhang made changes -
          Attachment NewParser-11.patch [ 12468194 ]
          Xuefu Zhang made changes -
          Attachment NewParser-11.patch [ 12468194 ]
          Xuefu Zhang made changes -
          Attachment NewParser-11.patch [ 12468195 ]
          Xuefu Zhang made changes -
          Attachment NewParser-12.patch [ 12468681 ]
          Xuefu Zhang made changes -
          Attachment NewParser-13.patch [ 12468997 ]
          Thejas M Nair made changes -
          Attachment NewParser-13.2.patch [ 12469341 ]
          Xuefu Zhang made changes -
          Attachment NewParser-14.patch [ 12469452 ]
          Xuefu Zhang made changes -
          Attachment NewParser-15.patch [ 12469881 ]
          Xuefu Zhang made changes -
          Attachment NewParser-18.patch [ 12472454 ]
          Xuefu Zhang made changes -
          Attachment NewParser-19.patch [ 12472598 ]
          Thejas M Nair made changes -
          Attachment NewParser-19.3.patch [ 12472689 ]
          Xuefu Zhang made changes -
          Attachment NewParser-21.patch [ 12473009 ]
          Xuefu Zhang made changes -
          Attachment NewParser-22.patch [ 12473025 ]
          Thejas M Nair made changes -
          Attachment NewParser-23.patch [ 12473080 ]
          Xuefu Zhang made changes -
          Attachment NewParser-23.patch [ 12473205 ]
          Xuefu Zhang made changes -
          Attachment NewParser-23.patch [ 12473205 ]
          Xuefu Zhang made changes -
          Attachment NewParser-24.patch [ 12473207 ]
          Thejas M Nair made changes -
          Attachment NewParser-23.2.patch [ 12473231 ]
          Xuefu Zhang made changes -
          Attachment NewParser-25.patch [ 12473746 ]
          Olga Natkovich made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Olga Natkovich made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Gavin made changes -
          Link This issue blocks PIG-1774 [ PIG-1774 ]
          Gavin made changes -
          Link This issue is depended upon by PIG-1774 [ PIG-1774 ]

            People

            • Assignee:
              Xuefu Zhang
              Reporter:
              Alan Gates
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development