Revision 37109
Added by Marek Horst about 9 years ago
transformer.pig | ||
---|---|---|
1 | 1 |
define avro_load_document |
2 | 2 |
org.apache.pig.piggybank.storage.avro.AvroStorage( |
3 |
'input_schema_class', '$schema_input_document');
|
|
3 |
'schema', '$schema_input_document');
|
|
4 | 4 |
|
5 | 5 |
define avro_load_citation |
6 | 6 |
org.apache.pig.piggybank.storage.avro.AvroStorage( |
7 |
'input_schema_class', '$schema_input_citation');
|
|
7 |
'schema', '$schema_input_citation');
|
|
8 | 8 |
|
9 | 9 |
define avro_load_person |
10 | 10 |
org.apache.pig.piggybank.storage.avro.AvroStorage( |
11 |
'input_schema_class', '$schema_input_person');
|
|
11 |
'schema', '$schema_input_person');
|
|
12 | 12 |
|
13 | 13 |
define avro_load_project |
14 | 14 |
org.apache.pig.piggybank.storage.avro.AvroStorage( |
15 |
'input_schema_class', '$schema_input_project');
|
|
15 |
'schema', '$schema_input_project');
|
|
16 | 16 |
|
17 | 17 |
define avro_load_document_to_project |
18 | 18 |
org.apache.pig.piggybank.storage.avro.AvroStorage( |
19 |
'input_schema_class', '$schema_input_document_to_project');
|
|
19 |
'schema', '$schema_input_document_to_project');
|
|
20 | 20 |
|
21 | 21 |
|
22 | 22 |
define avro_store_document_authors_citations |
23 | 23 |
org.apache.pig.piggybank.storage.avro.AvroStorage( |
24 | 24 |
'index', '0', |
25 |
'output_schema_class', '$schema_output_document_authors_citations');
|
|
25 |
'schema', '$schema_output_document_authors_citations');
|
|
26 | 26 |
|
27 | 27 |
define avro_store_person_id |
28 | 28 |
org.apache.pig.piggybank.storage.avro.AvroStorage( |
29 | 29 |
'index', '1', |
30 |
'output_schema_class', '$schema_output_person_id');
|
|
30 |
'schema', '$schema_output_person_id');
|
|
31 | 31 |
|
32 | 32 |
define avro_store_project_id |
33 | 33 |
org.apache.pig.piggybank.storage.avro.AvroStorage( |
34 | 34 |
'index', '2', |
35 |
'output_schema_class', '$schema_output_project_id');
|
|
35 |
'schema', '$schema_output_project_id');
|
|
36 | 36 |
|
37 | 37 |
|
38 | 38 |
define CREATE_ARRAY eu.dnetlib.iis.transformers.udfs.NullToEmptyBag; |
Also available in: Unified diff
merging trunk changes with IIS-CDH-5.3.0 branch