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.33 lib/mortar/templates/macro/macro.pig
mortar-0.15.32 lib/mortar/templates/macro/macro.pig
mortar-0.15.31 lib/mortar/templates/macro/macro.pig
mortar-0.15.30 lib/mortar/templates/macro/macro.pig
mortar-0.15.29 lib/mortar/templates/macro/macro.pig
mortar-0.15.28 lib/mortar/templates/macro/macro.pig
mortar-0.15.27 lib/mortar/templates/macro/macro.pig
mortar-0.15.26 lib/mortar/templates/macro/macro.pig
mortar-0.15.25 lib/mortar/templates/macro/macro.pig
mortar-0.15.24 lib/mortar/templates/macro/macro.pig
mortar-0.15.23 lib/mortar/templates/macro/macro.pig
mortar-0.15.22 lib/mortar/templates/macro/macro.pig
mortar-0.15.21 lib/mortar/templates/macro/macro.pig
mortar-0.15.20 lib/mortar/templates/macro/macro.pig
mortar-0.15.19 lib/mortar/templates/macro/macro.pig
mortar-0.15.18 lib/mortar/templates/macro/macro.pig
mortar-0.15.17 lib/mortar/templates/macro/macro.pig
mortar-0.15.16 lib/mortar/templates/macro/macro.pig
mortar-0.15.15 lib/mortar/templates/macro/macro.pig
mortar-0.15.14 lib/mortar/templates/macro/macro.pig