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.13 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.12 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.11 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.7 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.6 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.5 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.4 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.3 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.2 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.1 lib/mortar/templates/controlscript/controlscript.py
mortar-0.15.0 lib/mortar/templates/controlscript/controlscript.py
mortar-0.14.1 lib/mortar/templates/controlscript/controlscript.py
mortar-0.14.0 lib/mortar/templates/controlscript/controlscript.py
mortar-0.13.5 lib/mortar/templates/controlscript/controlscript.py
mortar-0.13.4 lib/mortar/templates/controlscript/controlscript.py
mortar-0.13.3 lib/mortar/templates/controlscript/controlscript.py
mortar-0.13.2 lib/mortar/templates/controlscript/controlscript.py
mortar-0.13.1 lib/mortar/templates/controlscript/controlscript.py
mortar-0.13.0 lib/mortar/templates/controlscript/controlscript.py
mortar-0.12.6 lib/mortar/templates/controlscript/controlscript.py