开发者

Pig script using php

Is it possible to run pig script in any other programming开发者_高级运维 language like PHP?


No. Currently you can embed pig script only in python and javascript.

From the latest doc - http://pig.apache.org/docs/r0.9.1/cont.html "To enable control flow, you can embed Pig Latin statements and Pig commands in the Python and JavaScript scripting languages using a JDBC-like compile, bind, run model. For Python, make sure the Jython jar is included in your class path. For JavaScript, make sure the Rhino jar is included in your classpath."

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜