Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-2055

inconsistent behavior in parser generated during build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.9.2, 0.10.0, 0.11
    • None
    • None

    Description

      On certain builds, i see that pig fails to support this syntax -

      grunt> l = load 'x' using PigStorage(':');           
      2011-05-10 09:21:41,565 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: <line 1, column 29>  mismatched input '(' expecting SEMI_COLON
      Details at logfile: /Users/tejas/pig_trunk_cp/trunk/pig_1305044484712.log
      
      

      I seem to be the only one who has seen this behavior, and I have seen on occassion when I build on mac. It could be problem with antlr and apple jvm interaction.

      Attachments

        1. QueryParser_working.java
          867 kB
          Mark Butler
        2. QueryParser_broken.java
          867 kB
          Mark Butler
        3. QueryParser_broken_other.java
          874 kB
          Mark Butler
        4. PIG-2055-for-0.9.1.patch
          3 kB
          Michael G. Noll
        5. PIG-2055-for-0.9.1_2.patch
          4 kB
          Daniel Dai
        6. PIG-2055-for-0.9.1_1.patch
          4 kB
          Richard Ding
        7. PIG-2055.for-0.9.0.patch
          3 kB
          Michael G. Noll
        8. PIG-2055.2.patch
          7 kB
          Thejas Nair
        9. PIG-2055.1.patch
          7 kB
          Thejas Nair
        10. diff.txt
          5 kB
          Mark Butler
        11. antlrWatchConversionOutput.txt
          59 kB
          Mark Butler

        Issue Links

          Activity

            People

              thejas Thejas Nair
              thejas Thejas Nair
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: