hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shivram Mani <shivram.m...@gmail.com>
Subject Re: Using SearchArgumentFacgtory
Date Wed, 20 Jul 2016 23:27:25 GMT
Thanks for confirming.

On Wed, Jul 20, 2016 at 3:27 PM, Prasanth Jayachandran <
pjayachandran@hortonworks.com> wrote:

> No. Currently there is no way to create SARG directly from string. With
> plain strings its hard differentiate column references vs constants vs
> expressions.
>
> You should write a conversion layer that converts the predicates from your
> custom engine to SARG using the direct APIs.
>
> Thanks
> Prasanth
>
> > On Jul 20, 2016, at 3:06 PM, Shivram Mani <shivram.mani@gmail.com>
> wrote:
> >
> > I'm using the Search Argument factory to configure my query predicates
> to the underlying ORC file. I'm receiving the predicates through another a
> custom engine and not through the Hive.
> > Is there any way i can build the sarg object using some form of a string
> expression ?
> >
> > Thanks
> >
> > --
> > shivram mani
>
>


-- 
shivram mani

Mime
View raw message