rs.
Here's my code:
*final String expression = conf.get(TableScanDesc.FILTER_EXPR_CONF_STR);*
here expression remains null for like and between operators but not null
for above operators.
Does hive not give predicates for 'like' and 'between' operators to custom
storage
get predicates from hive for 'like', 'between' operators.
>
> Here's my code:
>
> *final String expression = conf.get(TableScanDesc.FILTER_EXPR_CONF_STR);*
>
> here expression remains null for like and between operators but not null
> for above operators.
&
at 11:53, Amey Barve wrote:
>
>> Hi All,
>>
>> I have implemented custom storage-handler and able to get predicates from
>> hive for '=', '!=', '<', '<=', '>' and '>=' operators.
>> But I cannot get
in.com/profile/view?id=AAEWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw>*
>>
>>
>>
>> http://talebzadehmich.wordpress.com
>>
>>
>>
>> On 5 May 2016 at 11:53, Amey Barve wrote:
>>
>>> Hi All,
>>>
>>> I have implemented custom storage-han
>>> Dr Mich Talebzadeh
>>>
>>>
>>>
>>> LinkedIn *
>>> https://www.linkedin.com/profile/view?id=AAEWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw
>>> <https://www.linkedin.com/profile/view?id=AAEWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw>*
>>>
>>>
>>>
>>> http://talebzadehmich.wordpress.com
>>>
>>>
>>>
>>> On 5 May 2016 at 11:53, Amey Barve wrote:
>>>
>>>> Hi All,
>>>>
>>>> I have implemented custom storage-handler and able to get predicates
>>>> from hive for '=', '!=', '<', '<=', '>' and '>=' operators.
>>>> But I cannot get predicates from hive for 'like', 'between' operators.
>>>>
>>>> Here's my code:
>>>>
>>>> *final String expression =
>>>> conf.get(TableScanDesc.FILTER_EXPR_CONF_STR);*
>>>>
>>>> here expression remains null for like and between operators but not
>>>> null for above operators.
>>>>
>>>> Does hive not give predicates for 'like' and 'between' operators to
>>>> custom storage handler ?
>>>> *Is there some other mechanism to get predicates for 'like' operator*?
>>>>
>>>> I tested with hive version 1.2 and 0.14.
>>>>
>>>> Thanks and Regards,
>>>> Amey
>>>>
>>>
>>>
>>
>
ed executing
>>>> command(queryId=hduser_20160505125700_cbc415b6-91bb-4ed6-95e4-d177e12988f6);
>>>> Time taken: 153.544 seconds
>>>> INFO : OK
>>>> +-+--+
>>>> | c0 |
>>>> +-----+--+
>>>> | 1 |
>>>> +-+--+
&