How to execute pig script from java

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


How to execute pig script from java



How to execute pig script from java class.
I have installed pig on linux system and my java application on windows system.
Thanks




1 Answer
1



You have two options basically.



1) Execute spawn shell subprocess via Java API and handover Script to it.



2) Use Embedded pig Script. (I would prefer this one. as it gives good control over variables needed for operations.)






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

XT88H6hON2lZ4oaaum1pn 635zfTbNM,k,Naxg,1SX
AkjWZE0XHfRxk,jcOZ Jo

Popular posts from this blog

Makefile test if variable is not empty

Visual Studio Code: How to configure includePath for better IntelliSense results

Will Oldham