asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Maxon (Code Review)" <do-not-re...@asterixdb.incubator.apache.org>
Subject Change in asterixdb[master]: Feed tutorial revise.
Date Mon, 10 Oct 2016 17:11:57 GMT
Ian Maxon has submitted this change and it was merged.

Change subject: Feed tutorial revise.
......................................................................


Feed tutorial revise.

1. Fix 1352.
2. Revise the twitter feed part to work with the new tweet parser.

Change-Id: I110e2225a3036109bf58a9ef529407de955335ab
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1152
Reviewed-by: Ian Maxon <imaxon@apache.org>
Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
---
M asterixdb/asterix-doc/src/site/markdown/feeds/tutorial.md
1 file changed, 12 insertions(+), 15 deletions(-)

Approvals:
  Ian Maxon: Looks good to me, approved
  Jenkins: Verified; No violations found; Verified



diff --git a/asterixdb/asterix-doc/src/site/markdown/feeds/tutorial.md b/asterixdb/asterix-doc/src/site/markdown/feeds/tutorial.md
index 39e04b1..fb06a92 100644
--- a/asterixdb/asterix-doc/src/site/markdown/feeds/tutorial.md
+++ b/asterixdb/asterix-doc/src/site/markdown/feeds/tutorial.md
@@ -61,22 +61,17 @@
         create dataverse feeds;
         use dataverse feeds;
 
-        create type TwitterUser if not exists as open{
-            screen_name: string,
-            language: string,
-            friends_count: int32,
-            status_count: int32,
-            name: string,
-            followers_count: int32
+        create type TwitterUser as closed {
+                screen_name: string,
+                lang: string,
+                friends_count: int32,
+                statuses_count: int32
         };
-        create type Tweet if not exists as open{
-            id: string,
-            user: TwitterUser,
-            latitude:double,
-            longitude:double,
-            created_at:string,
-            message_text:string
-        };
+
+        create type Tweet as open {
+          id: int64,
+          user: TwitterUser
+        }
 
         create dataset Tweets (Tweet)
         primary key id;
@@ -103,6 +98,7 @@
 
         create feed TwitterFeed if not exists using "push_twitter"
         (("type-name"="Tweet"),
+         ("format"="twitter-status"),
          ("consumer.key"="************"),
          ("consumer.secret"="**************"),
          ("access.token"="**********"),
@@ -185,6 +181,7 @@
         create feed my_feed using
         rss_feed (
            ("type-name"="Rss"),
+           ("format"="rss"),
            ("url"="http://rss.cnn.com/rss/edition.rss")
         );
 

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/1152
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I110e2225a3036109bf58a9ef529407de955335ab
Gerrit-PatchSet: 4
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Xikui Wang <xkkwww@gmail.com>
Gerrit-Reviewer: Ian Maxon <imaxon@apache.org>
Gerrit-Reviewer: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Mime
View raw message