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.12.5 lib/mortar/templates/controlscript/controlscript.py
mortar-0.12.4 lib/mortar/templates/controlscript/controlscript.py
mortar-0.12.3 lib/mortar/templates/controlscript/controlscript.py
mortar-0.12.2 lib/mortar/templates/controlscript/controlscript.py
mortar-0.12.1 lib/mortar/templates/controlscript/controlscript.py
mortar-0.12.0 lib/mortar/templates/controlscript/controlscript.py
mortar-0.11.1 lib/mortar/templates/controlscript/controlscript.py
mortar-0.11.0 lib/mortar/templates/controlscript/controlscript.py
mortar-0.10.1 lib/mortar/templates/controlscript/controlscript.py
mortar-0.10.0 lib/mortar/templates/controlscript/controlscript.py
mortar-0.9.10 lib/mortar/templates/controlscript/controlscript.py
mortar-0.9.8 lib/mortar/templates/controlscript/controlscript.py
mortar-0.9.7 lib/mortar/templates/controlscript/controlscript.py
mortar-0.9.6 lib/mortar/templates/controlscript/controlscript.py
mortar-0.9.5 lib/mortar/templates/controlscript/controlscript.py
mortar-0.9.4 lib/mortar/templates/controlscript/controlscript.py
mortar-0.9.3 lib/mortar/templates/controlscript/controlscript.py
mortar-0.9.2 lib/mortar/templates/controlscript/controlscript.py
mortar-0.9.1 lib/mortar/templates/controlscript/controlscript.py
mortar-0.9.0 lib/mortar/templates/controlscript/controlscript.py