[jira] [Created] (S2GRAPH-238) Replace common.sh file path in movielens example

2018-08-30 Thread Hwansung Yu (JIRA)
Hwansung Yu created S2GRAPH-238:
---

 Summary: Replace common.sh file path in movielens example  
 Key: S2GRAPH-238
 URL: https://issues.apache.org/jira/browse/S2GRAPH-238
 Project: S2Graph
  Issue Type: Wish
Reporter: Hwansung Yu


Most of the movie lens example include common.sh in the shell script.
However, common.sh is a very common name and path is ambiguous.
For example, if you have the common.sh file of other project in 
"/usr/local/bin", it will not be included in the shell script as you wish.
Therefore, you need to replace the path with an absolute path through a 
variable.




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


[jira] [Updated] (S2GRAPH-226) Provide example spark jobs to explain how to utilize WAL log.

2018-08-30 Thread Hwansung Yu (JIRA)


 [ 
https://issues.apache.org/jira/browse/S2GRAPH-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hwansung Yu updated S2GRAPH-226:

Priority: Minor  (was: Major)

> Provide example spark jobs to explain how to utilize WAL log.
> -
>
> Key: S2GRAPH-226
> URL: https://issues.apache.org/jira/browse/S2GRAPH-226
> Project: S2Graph
>  Issue Type: New Feature
>  Components: s2core, s2jobs
>Reporter: DOYUNG YOON
>Assignee: DOYUNG YOON
>Priority: Minor
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> Even though s2graph publish all incoming vertex/edge into Kafka, there is no 
> example showing how to use this WAL log.
> I suggest adding a simple example showing how to process WAL and let me 
> explain what use cases this example can benefit.
> At kakao, s2graph have been used as the fact storage, which store all user's 
> activities such as click content, buy a product, search query.
> {noformat}
> [{
>   "timestamp": 1,
>   "elem": "e",
>   "from": "steamshon",
>   "to": "s2graph",
>   "label": "search_query",
>   "props": {}
> }, {
>   "timestamp": 10,
>   "elem": "e",
>   "from": "steamshon",
>   "to": "github.com/apache/incubator-s2graph",
>   "label": "content_click",
>   "props": {}
> }, {
>   "timestamp": 12,
>   "elem": "v",
>   "id": "steamshon",
>   "serviceName": "s2graph",
>   "columnName": "user",
>   "props": {
>   "gender": "M"
>   }
> }]
> {noformat}
> Each activity, label in s2graph words, consisting of their own graph, but 
> when they are all connected together, then it gives much more information. 
> Above edges can be aggregated as Vertex.
> It is up to users how to connect each graph, but in our case, we used `user` 
> to merge multiple graphs. for example, we made each activity such as click 
> content, buy a product, search query all use the same `userId` for the same 
> `user`. 
> Below is simple example data.
> {noformat}
> {
>   "timestamp": 10,
>   "elem": "v",
>   "id": "steamshon",
>   "serviceName": "s2graph",
>   "columnName": "user",
>   "props": {
>   "gender": "M",
>   "edges": [{
>   "timestamp": 1,
>   "to": "s2graph",
>   "label": "search_query",
>   "props": {}
>   }, {
>   "timestamp": 10,
>   "to": "github.com/apache/incubator-s2graph",
>   "label": "content_click",
>   "props": {}
>   }]
>   }
> }
> {noformat}
> This connected graph can be used not only for OLTP but also OLAP.
> I believe s2graph WAL log is good way to integrate OLTP and OLAP, and adding 
> this example can help for user to understand how to leverage it.
> [desing doc(work in 
> progress)|https://docs.google.com/document/d/12vsJFWTKoDrYxD-NhOoCaJdvFg8it2wYqIABA0DXYeA/edit?usp=sharing]
>  



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


[jira] [Created] (S2GRAPH-239) Support various query and its examples in graphql

2018-08-30 Thread Hwansung Yu (JIRA)
Hwansung Yu created S2GRAPH-239:
---

 Summary: Support various query and its examples in graphql
 Key: S2GRAPH-239
 URL: https://issues.apache.org/jira/browse/S2GRAPH-239
 Project: S2Graph
  Issue Type: Improvement
Reporter: Hwansung Yu


Graphql is more familiar to people than s2graph.
Most of the existing s2graph queries need to be provided as graphql queries.
Providing a variety of s2graph queries to graphql will help the community and 
newbies.
For example, in the rest api of s2graph, it is possible to filter the result 
using the where clause, but I do not know how it is supported in graphql.
And, as queries are added, more examples need to be added.



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