Explorar o código

HUE-6690 [oozie] Fix drag and drop of Pig script into workflow

Romain Rigaux %!s(int64=8) %!d(string=hai) anos
pai
achega
0150af0
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      apps/oozie/src/oozie/models2.py

+ 7 - 0
apps/oozie/src/oozie/models2.py

@@ -2473,6 +2473,13 @@ class PigDocumentAction(Action):
         'help_text': _('Select a saved Spark program you want to schedule.'),
         'type': 'pig'
      },
+     'parameters': {
+          'name': 'parameters',
+          'label': _('Parameters'),
+          'value': [],
+          'help_text': _('The %(type)s parameters of the script. E.g. N=5, INPUT=${inputDir}')  % {'type': TYPE.title()},
+          'type': ''
+     },
      # Common
      'files': {
           'name': 'files',