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.8.8 lib/mortar/templates/macro/macro.pig
mortar-0.8.7 lib/mortar/templates/macro/macro.pig
mortar-0.8.6 lib/mortar/templates/macro/macro.pig
mortar-0.8.5 lib/mortar/templates/macro/macro.pig
mortar-0.8.4 lib/mortar/templates/macro/macro.pig
mortar-0.8.3 lib/mortar/templates/macro/macro.pig
mortar-0.8.2 lib/mortar/templates/macro/macro.pig
mortar-0.8.1 lib/mortar/templates/macro/macro.pig
mortar-0.8.0 lib/mortar/templates/macro/macro.pig
mortar-0.7.9 lib/mortar/templates/macro/macro.pig
mortar-0.7.8 lib/mortar/templates/macro/macro.pig
mortar-0.7.7 lib/mortar/templates/macro/macro.pig
mortar-0.7.6 lib/mortar/templates/macro/macro.pig
mortar-0.7.5 lib/mortar/templates/macro/macro.pig
mortar-0.7.4 lib/mortar/templates/macro/macro.pig
mortar-0.7.3 lib/mortar/templates/macro/macro.pig
mortar-0.7.2 lib/mortar/templates/macro/macro.pig
mortar-0.7.1 lib/mortar/templates/macro/macro.pig
mortar-0.7.0 lib/mortar/templates/macro/macro.pig
mortar-0.6.2 lib/mortar/templates/macro/macro.pig