Re: How to specify more than one fields as a dedup keyExpression

2017-10-23 Thread Chinmay Kolhatkar
{$.id} + {$.id1} should work. - Chinmay. On 24 Oct 2017 6:51 am, "Vlad Rozov" wrote: I don't think that Apex expression evaluator is that smart :). Try "{$}.getId() + {$}.getId1()" or provide a getter that returns pair object. Thank you, Vlad On 10/23/17 18:13, Munagala

Re: How to specify more than one fields as a dedup keyExpression

2017-10-23 Thread Vlad Rozov
I don't think that Apex expression evaluator is that smart :). Try "{$}.getId() + {$}.getId1()" or provide a getter that returns pair object. Thank you, Vlad On 10/23/17 18:13, Munagala Ramanath wrote: It needs to be an expression that combines both (or all) values: try "id + id1" Ram On

Re: How to specify more than one fields as a dedup keyExpression

2017-10-23 Thread Munagala Ramanath
It needs to be an expression that combines both (or all) values: try "id + id1" Ram On Monday, October 23, 2017, 6:04:14 PM PDT, Vivek Bhide wrote: Thanks Ram for your suggestions Field types that I am trying are the basic primitive types. In fact, I was just

Re: How to specify more than one fields as a dedup keyExpression

2017-10-23 Thread Munagala Ramanath
Could you provide some details on what types your multiple keys are and what expression variants you tried and what the result was ? The base class of BoundedDedupOperator is AbstractDeduper; within that class you'll see an method getKey(); you should be able to override that to retrieve the

How to specify more than one fields as a dedup keyExpression

2017-10-23 Thread Vivek Bhide
Hi, I want to specify more than 1 attributes of a tuple in keyExpression for BoundedDedupOperator. I tried putting it in multiple ways but it doesn't work Does BoundedDedup or TimeDedup supports multiple fields while deduping? if yes then how to specify them in properties.xml Regards Vivek

Re: Recommended way to query hive and capture output

2017-10-23 Thread Thomas Weise
Have you explored using the JDBC interface to read from Hive? Apex has JDBC connectors and it should be possible to use them with Hive. Thanks, Thomas On Mon, Oct 23, 2017 at 11:52 AM, Vivek Bhide wrote: > Hi > > I would like to know if there is any recommended way to

Recommended way to query hive and capture output

2017-10-23 Thread Vivek Bhide
Hi I would like to know if there is any recommended way to execute queries on hive tables (not inserts ), capture the query output and process it? Regards Vivek -- Sent from: http://apache-apex-users-list.78494.x6.nabble.com/