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

Parse errors for boolean conditions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.2.0
    • 0.1.0
    • impl
    • None
    • Patch Available

    Description

      The parser throws exceptions for pig statements that contain boolean conditions with operands that use string comparators. A sample statement to reproduce the test is given below:

      split a into b if name lt 'f', c if (name ge 'f' and name le 'h'), d if name gt 'h';

      Attachments

        1. boolean_test.patch
          1 kB
          Santhosh Muthur Srinivasan

        Activity

          People

            sms Santhosh Muthur Srinivasan
            sms Santhosh Muthur Srinivasan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: