Hi, I have a java code that generates pig script. I am wondering if there is option to execute that script directly within the java code. I found there is a option to embed pig script execution inside java code using PigServer <https://pig.apache.org/docs/r0.14.0/api/org/apache/pig/PigServer.html> class.
The problem is that I'm using AvroStorage to store the results and the class contains method Store() that apparently uses file storage. Is there any way how to execute my pig script using AvroStorage? Thanks