Sha256: 6b3c96a199290344fe0569a4cedd2bada4c80763a7b86d35d1d0a213f6ed1180

Contents?: true

Size: 339 Bytes

Versions: 117

Compression:

Stored size: 339 Bytes

Contents

/**
 * <%= macro_name %>: Pig macros for use in pigscripts.
 *
 */

/**
 * A simple example macro function that returns the entity passed in.
 */
DEFINE <%= macro_name.capitalize %>_EXAMPLE(input_relation)
returns output_relation {
    -- just an example
    $output_relation = FOREACH $input_relation
                      GENERATE *;
};

Version data entries

117 entries across 117 versions & 1 rubygems

Version Path
mortar-0.15.53 lib/mortar/templates/macro/macro.pig
mortar-0.15.52 lib/mortar/templates/macro/macro.pig
mortar-0.15.51 lib/mortar/templates/macro/macro.pig
mortar-0.15.50 lib/mortar/templates/macro/macro.pig
mortar-0.15.49 lib/mortar/templates/macro/macro.pig
mortar-0.15.48 lib/mortar/templates/macro/macro.pig
mortar-0.15.47 lib/mortar/templates/macro/macro.pig
mortar-0.15.46 lib/mortar/templates/macro/macro.pig
mortar-0.15.45 lib/mortar/templates/macro/macro.pig
mortar-0.15.44 lib/mortar/templates/macro/macro.pig
mortar-0.15.43 lib/mortar/templates/macro/macro.pig
mortar-0.15.42 lib/mortar/templates/macro/macro.pig
mortar-0.15.41 lib/mortar/templates/macro/macro.pig
mortar-0.15.40 lib/mortar/templates/macro/macro.pig
mortar-0.15.39 lib/mortar/templates/macro/macro.pig
mortar-0.15.38 lib/mortar/templates/macro/macro.pig
mortar-0.15.37 lib/mortar/templates/macro/macro.pig
mortar-0.15.36 lib/mortar/templates/macro/macro.pig
mortar-0.15.35 lib/mortar/templates/macro/macro.pig
mortar-0.15.34 lib/mortar/templates/macro/macro.pig