Exit Pig Shell

When I enter some kind of erroneous command into the interactive environment of the Pig shell, it enters listening mode (→), as shown below. How I safely leave this team, but still remain in the environment of the pig’s shell. Ctrl + C takes me out of the pig's shell, and I lose my environment setting to this point.

**grunt> Test_group = group Block2_Prep_filter by (page_visit_id as grp_page_visit_id, page_user_guid as grp_page_user_guid);
>> ;
>> 
>>**
+5
source share
1 answer

. secondary_prompt ( PigScriptParser.jj, JavaCC). , , . , , . , , .

control-d,

>> 2013-06-19 12:51:43,632 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1000:
Error during parsing. Lexical error at line 83, column 0.  Encountered: <EOF> after : ""

Grunt, :

parser.setInteractive(false);
return parser.parseStopOnError();

, .

+2

All Articles