Skip to content

Instantly share code, notes, and snippets.

@virtix
Created June 14, 2010 20:13
Show Gist options
  • Save virtix/438233 to your computer and use it in GitHub Desktop.
Save virtix/438233 to your computer and use it in GitHub Desktop.
; TextPad syntax definitions for Hadoop Pig
C=1
[Syntax]
Namespace1 = 6
IgnoreCase = No
KeyWordLength =
BracketChars = {[()]}
OperatorChars = -+*/<>!~%^&|=?:
PreprocStart =
SyntaxStart =
SyntaxEnd =
HexPrefix = 0x
CommentStart = /*
CommentEnd = */
CommentStartAlt =
CommentEndAlt =
SingleComment = #
SingleCommentCol =
SingleCommentAlt = --
SingleCommentColAlt =
SingleCommentEsc =
StringsSpanLines = Yes
StringStart = '
StringEnd = '
StringAlt =
StringEsc = \
CharStart = `
CharEnd = `
CharEsc = \
[Keywords 1]
LOAD
STORE
DUMP
PARALLEL
FILTER
FOREACH
FLATTEN
GENERATE
ILLUSTRATE
DESCRIBE
COGROUP
JOIN
LIMIT
SAMPLE
STREAM
DEFINE
BinStorage
PigStorage
PigDump
TextLoader
REGISTER
[Keywords 2]
bag
tuple
map
int
long
float
double
chararray
bytearray
[Keywords 3]
matches
group
is
not
null
AND
OR
NOT
COUNT
BY
AS
SUM
ALL
BY
USING
INNER
LEFT
RIGHT
FULL
OUTER
ASC
DESC
INTO
IF
THROUGH
ORDER
INPUT
OUTPUT
CACHE
AVG
CONCAT
COUNT_STAR
DIFF
IsEmpty
MAX
MIN
SIZE
TOKENIZE
[Keywords 4]
ls
cd
cat
pwd
help
copyFromLocal
copyToLocal
cp
mkdir
mv
rm
rmf
exec
run
kill
quit
set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment