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

        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: