Is it possible to split a command into multiple lines in Apache Pig Latin?

I have very long lines as Apache Pig (Latin) expressions. Is there any way to split them into multiple lines?

I tried the trailing backslash to no avail, as soon as I press enter , the (incomplete) command is executed ...

+6
apache-pig
source share
2 answers

I write in Pig 0.8 grunt shell, and I just press return, and that gives me a hint to continue with β€œβ†’β€. It seems that he has no problem splitting individual statements into several lines interactively, which sounded like you requested. You can also pass script multi-line statements to Pig via STDIN.

+2
source share

I can’t check it right now, but if memory helps me well, the underscore β€œ_” should help you split your command into several lines.

The beginning of my very very very very _ very very very very very very very very _ very very very long command 
-3
source share

All Articles