From 5274ef01cce0df5b9533a500d45404825bb19f79 Mon Sep 17 00:00:00 2001 From: Yuce Tekol Date: Tue, 6 Feb 2018 20:35:41 +0300 Subject: [PATCH 1/3] Takes back frame options in getting started docs --- docs/getting-started.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index a50dccaa5..d6d208f1f 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -59,9 +59,16 @@ curl localhost:10101/index/repository -X POST Let's create the `stargazer` frame which has user IDs of stargazers as its rows: ``` -curl localhost:10101/index/repository/frame/stargazer -X POST +curl localhost:10101/index/repository/frame/stargazer \ + -X POST \ + -d '{"options": {"timeQuantum": "YMD", + "inverseEnabled": true}}' ``` +Since our data contains time stamps for the time users starred repos, we set the *time quantum* for the `stargazer` frame in the options as well. Time quantum is the resolution of the time we want to use, and we set it to `YMD` (year, month, day) for `stargazer`. + +We set `inverseEnabled` to `true` in order to allow queries over columns as well as rows. + Next up is the `language` frame, which will contain IDs for programming languages: ``` curl localhost:10101/index/repository/frame/language -X POST From 793faa0d0ee7f661a868a27e2a2ecb754bc43ff0 Mon Sep 17 00:00:00 2001 From: Yuce Tekol Date: Tue, 6 Feb 2018 20:38:51 +0300 Subject: [PATCH 2/3] Remove inverse-enabled --- docs/getting-started.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index d6d208f1f..a9ddad0e0 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -61,8 +61,7 @@ Let's create the `stargazer` frame which has user IDs of stargazers as its rows: ``` curl localhost:10101/index/repository/frame/stargazer \ -X POST \ - -d '{"options": {"timeQuantum": "YMD", - "inverseEnabled": true}}' + -d '{"options": {"timeQuantum": "YMD"}}' ``` Since our data contains time stamps for the time users starred repos, we set the *time quantum* for the `stargazer` frame in the options as well. Time quantum is the resolution of the time we want to use, and we set it to `YMD` (year, month, day) for `stargazer`. From 90b69fd413fc727583bed46debfcb58948775449 Mon Sep 17 00:00:00 2001 From: Yuce Tekol Date: Tue, 6 Feb 2018 20:39:52 +0300 Subject: [PATCH 3/3] remove inverseEnabled --- docs/getting-started.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index a9ddad0e0..35042d59d 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -66,8 +66,6 @@ curl localhost:10101/index/repository/frame/stargazer \ Since our data contains time stamps for the time users starred repos, we set the *time quantum* for the `stargazer` frame in the options as well. Time quantum is the resolution of the time we want to use, and we set it to `YMD` (year, month, day) for `stargazer`. -We set `inverseEnabled` to `true` in order to allow queries over columns as well as rows. - Next up is the `language` frame, which will contain IDs for programming languages: ``` curl localhost:10101/index/repository/frame/language -X POST