Hi,
I was looking at the newbie ticket PIG-4554
<https://issues.apache.org/jira/browse/PIG-4554> and wanted to provide a
fix for it. After setting up the environment and on debugging, I found that
the fix which needs to be made is inside setScript(String script)of
ScriptSate class.

In the jira, its mentioned: "We should remove the truncation and store the
full script by compressing and then doing base64 encoding. We already do
that for udfcontext, etc."

Could somebody please give me some pointer where I can find an
implementation for the udfcontext, so that I can have a look at it and
re-use it, if possible ?

Another question not related to the jira.
I executed "exec test.pig" in the grunt console of eclipse (debugging
org.apache.pig.Main from eclipse). I observed that the workflow is
different(setScript is not called) as compared to "pig test.pig" execution.
Is there a reason why the "exec test.pig" from grunt and "pig test.pig"
have different behavior?
If the behavior is expected, then is it possible that I can attach the
eclipse debugger to the Pig Source code when I execute "pig test.pig" from
terminal?

Thanks,
Sandeep.

Reply via email to