You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eagle.apache.org by "Libin, Sun (JIRA)" <ji...@apache.org> on 2016/01/23 04:30:41 UTC

[jira] [Comment Edited] (EAGLE-91) Hive Policy, Command Value Should be in Capital Letter.

    [ https://issues.apache.org/jira/browse/EAGLE-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15113527#comment-15113527 ] 

Libin, Sun edited comment on EAGLE-91 at 1/23/16 3:29 AM:
----------------------------------------------------------

@hemanth dendukuri, I would suggest using str:equalsIgnoreCase() function here, for as a user 'SELECT' and 'select' are equivalent , seems using exactly match '==' does not make much sense


was (Author: libsun):
@hemanth dendukuri, here I would suggest using str:equalsIgnoreCase() function here, for as a user 'SELECT' and 'select' are equivalent , seems using exactly match '==' does not make much sense

> Hive Policy, Command Value Should be in Capital Letter.
> -------------------------------------------------------
>
>                 Key: EAGLE-91
>                 URL: https://issues.apache.org/jira/browse/EAGLE-91
>             Project: Eagle
>          Issue Type: Bug
>         Environment: Hortonworks Sandbox
>            Reporter: hemanth dendukuri
>
> The value of command in hive policy had to always be in capital letters. For Example “select” would not work but “SELECE” works.
> Policy : from hiveAccessLogStream[(command == ’select')] select * insert into outputStream;
> Hive command : select distinct phone_number from customer_details;
> Actual : Alert not triggered.
> Expected: Alert should be triggered.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)