Skip to content

Commit

Permalink
Doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
simonambridge committed Dec 1, 2017
1 parent b8c7a59 commit 51ca926
Show file tree
Hide file tree
Showing 8 changed files with 413 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

378 changes: 378 additions & 0 deletions .idea/workspace.xml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions RollUpReports/RTFAP2 - RUP by Card.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions RollUpReports/RTFAP2 - RUP by Merchant.json

Large diffs are not rendered by default.

Binary file added RollUpReports/zeppelin_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 13 additions & 1 deletion creates_and_inserts.cql
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,20 @@ user_id text,
) WITH CLUSTERING ORDER BY ( txn_time DESC )
AND default_time_to_live = 86400;

// banana keyspace and table

// Sample inserts
CREATE KEYSPACE if not exists banana
WITH durable_writes = true
AND replication = {
'class' : 'SimpleStrategy',
'replication_factor' : 1
};

CREATE TABLE banana.dashboards (id text PRIMARY KEY,
"_version_" bigint, dashboard text, group text, solr_query text, title text, user text);


// Sample rtfap.transaction inserts

insert into rtfap.transactions (year, month, day, hour, min, txn_time, cc_no, amount, cc_provider, items, location, merchant, notes, status, txn_id, user_id, tags) VALUES ( 2016, 03, 09, 11, 04, '2016-03-09 11:04:19', '1234123412341234', 200.0, 'VISA', {'tshirt':25, 'dressshirt':50, 'trousers':125}, 'San Francisco', 'Nordstrom', 'pretty good clothing', 'Approved', '098765', 'kunalak', {'Suspicious'});
insert into rtfap.transactions (year, month, day, hour, min, txn_time, cc_no, amount, cc_provider, items, location, merchant, notes, status, txn_id, user_id, tags) VALUES ( 2016, 03, 09, 11, 04, '2016-03-09 11:04:24', '1234123412341235', 400.0, 'VISA', {'cap':25, 'lamps':275, 'trousers':100}, 'San Diego', 'Macy', 'cool stuff-good customer', 'Rejected', '876354', 'simonanbridge', {'Fraudulent'});
Expand Down

0 comments on commit 51ca926

Please sign in to comment.