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

Pig Latin Parser fails to recognize "\n" as a whitespace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • None
    • 0.9.0
    • grunt
    • None
    • RHEL linux

    Description

      the following pig latin script fails to parse

      a = load 'input_file' as
      ( field1 : int );

      note that there is no char after the "as", so there is only one "\n" char between the "as" and "(" on the next line.

      adding a whitespace after "as" solves it.

      Attachments

        Issue Links

          Activity

            People

              xuefuz Xuefu Zhang
              yangyangyyy Yang Yang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: