Invoke Pig Latin script from other Pig script

前端 未结 2 1139
清歌不尽
清歌不尽 2021-01-20 01:30

I have a question about PIG Latin. Is there any way how to invoke some pig script from the other pig script?

I know it is possible to run user defined functions (UDF

2条回答
  •  醉梦人生
    2021-01-20 01:59

    You can use Macros for such things: http://pig.apache.org/docs/r0.11.1/cont.html#macros

提交回复
热议问题