A = LOAD '/pig/student.tsv' as (rollno:int, name:chararray, gpa:float);
DUMP A;
If I want to execute the first line, I have to type Enter key after the first line.
How can I make it as a single execution?
You can create a pig script file to make it as single execution.
test.pig
A = LOAD '/pig/student.tsv' as (rollno:int, name:chararray, gpa:float);
DUMP A;
Now run the pig script using below command from pig/bin,
pig -f /path/test.pig