File: file.pig

package info (click to toggle)
gtksourceview4 4.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 15,840 kB
  • sloc: ansic: 49,715; sh: 4,917; xml: 1,302; makefile: 1,010; python: 230; perl: 52; yacc: 45; cobol: 20; objc: 19; sed: 16; fortran: 14; cpp: 8; ml: 3
file content (11 lines) | stat: -rw-r--r-- 299 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
/*
 * This file tests Apache Pig 0.12 Syntax Highlighting
 */

fake = LOAD 'fakeData' USING PigStorage() AS (name:chararray, age:int);

fake = limit fake 5; -- operations can be case insensitive

fake = FOREACH fake GENERATE TRIM(name) AS name, null as nullField, false AS booleanConst;

DUMP fake;