Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-2508

[pig] Support parameter substitution preprocessor statements

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.7.0
    • Fix Version/s: 3.9.0
    • Component/s: con.pig
    • Labels:
      None

      Description

      %default should be proposed in popup but not set if empty.

      %declare should not be listed as a parameter

      %declare CMD `$mycmd $date`
      A = load '/data/mydata/$CMD';
      B = filter A by $0>'5';
      

      http://pig.apache.org/docs/r0.13.0/cont.html#Parameter-Sub

      https://groups.google.com/a/cloudera.org/forum/#!topic/hue-user/RPk3gqNQtBo

        Attachments

          Activity

            People

            • Assignee:
              romain Romain Rigaux
              Reporter:
              romain Romain Rigaux
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: