blob: 835c2a033e3021af5b91c16ada13b2629d204ebf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
-- Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-- REGISTER vespa-hadoop.jar -- Not needed in tests
-- Define short name for VespaStorage
DEFINE VespaStorage com.yahoo.vespa.hadoop.pig.VespaStorage();
-- Load data - one column for xml data
data = LOAD 'src/test/resources/operations_data.xml' AS (data:chararray);
-- Store into Vespa
STORE data INTO '$ENDPOINT' USING VespaStorage();
|