Unix Shell Script as UDF for Pig and Hive

偶尔善良 提交于 2019-12-12 02:26:55

问题


Can we use unix shell script instead of using (Java or Python) for User Defined in Apache Pig and Hive?

If it is possible how can we mention in Hive Query or Pig script?


回答1:


No, you can't use unix shell script as Pig UDF. Pig UDFs are currently supported only in six languages: Java, Jython, Python, JavaScript, Ruby and Groovy.

Please refer this link for more details
http://pig.apache.org/docs/r0.14.0/udf.html



来源:https://stackoverflow.com/questions/27415656/unix-shell-script-as-udf-for-pig-and-hive

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!