Sha256: 5d83558e8b24949d2a6ec355695692694db71c442950227f13e3a934f882c976

Contents?: true

Size: 257 Bytes

Versions: 97

Compression:

Stored size: 257 Bytes

Contents

def run_script():
    import os
    from org.apache.pig.scripting import Pig

    # compile the pig code
    P = Pig.compileFromFile("../pigscripts/#{script_name}.pig")
    bound = P.bind()
    bound.runSingle()

if __name__ == '__main__':
    run_script()

Version data entries

97 entries across 97 versions & 1 rubygems

Version Path
mortar-0.15.53 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.52 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.51 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.50 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.49 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.48 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.47 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.46 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.45 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.44 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.43 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.42 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.41 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.40 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.39 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.38 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.37 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.36 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.35 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.34 lib/mortar/templates/controlscript/controlscript.py