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

ASF subversion and git services commented on ASTERIXDB-2227:
------------------------------------------------------------

Commit f674168dfde9c05700ea3b68e0b95594797d682b in asterixdb's branch 
refs/heads/master from [~idleft]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=f674168 ]

[ASTERIXDB-2227][ING] Enabling filitering incoming data in feed

- user model changes: yes
  Add syntax support for specifying predicate in connect feed
- storage format changes: no
- interface changes: no

Details:
In some use cases, a user may want to filter the incombing data with
certain attributes. One example can be only store the incoming tweets
with geo locations. This patch enables the <WHERE> clause in connect
feed statement. User can subset the incoming data using following
syntax:

 connect feed feeds.TweetFeed to  dataset Tweets3 using policy `Basic`
 WHERE id NOT LIKE 'nc1:10%' OR username = 'BronsonMike';

Change-Id: I0b3cc6fe9d7fb5f5645dd9c759da448bfe1e88f1
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2255
Sonar-Qube: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Reviewed-by: abdullah alamoudi <bamou...@gmail.com>


> Data feed should be able to subset the incoming data with predicates
> --------------------------------------------------------------------
>
>                 Key: ASTERIXDB-2227
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2227
>             Project: Apache AsterixDB
>          Issue Type: Bug
>            Reporter: Xikui Wang
>            Assignee: Xikui Wang
>            Priority: Major
>
> In some uses cases, a user may prefer only a  part of the feed data. By 
> supporting query predicate in the feed connection, we can subset that data 
> stream.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to