You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing an issue, probably missing very basic stuff.
DEFINE EsStorage org.elasticsearch.hadoop.pig.EsStorage('es.nodes=10.99.12.162',
'es.port=9200',
'es.mapping.date.rich=false',
'es.index.auto.create = false',
'es.mapping.id = connote');
a = foreach b generate TOMAP('addrLine1',Shpadd, 'addrLine2',Shpadd, 'state',Shp_st, 'suburb',Shpcity, 'country',Shpzip, 'postCode', Shpzip) as senderLocation;
store a into resource using ESStorage()
Take a look at the documentation in particular the code examples, like this one.
You don't need to create a Map - in fact, Pig and Hive tend to not have great support for these.
Simply remove it, double check your variable/tuple A has the fields you need and store that into the Storage.
Cheers,
P.S. For questions, the forum is recommended instead of the issue tracker.
You don't need to create a Map - in fact, Pig and Hive tend to not have
great support for these.
Simply remove it, double check your variable/tuple A has the fields you
need and store that into the Storage.
Cheers,
P.S. For questions, the forum http://discuss.elastic.co is recommended
instead of the issue tracker.
—
Reply to this email directly or view it on GitHub #534 (comment)
.
Hi
I am facing an issue, probably missing very basic stuff.
My target mapping is
However, when I am running the program, it does not load.
senderLocation:{}
Any idea will help!!!
The text was updated successfully, but these errors were encountered: