You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@s2graph.apache.org by st...@apache.org on 2018/02/13 17:09:36 UTC

[1/2] incubator-s2graph git commit: fix compile error on LabelMeta.

Repository: incubator-s2graph
Updated Branches:
  refs/heads/master 6a7e58a46 -> f1e6be2ff


fix compile error on LabelMeta.


Project: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/commit/17599ed0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/tree/17599ed0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/diff/17599ed0

Branch: refs/heads/master
Commit: 17599ed0172852b39eeddad0f1ea761924c381a1
Parents: 6a7e58a
Author: DO YUNG YOON <st...@apache.org>
Authored: Tue Feb 13 19:03:46 2018 +0900
Committer: DO YUNG YOON <st...@apache.org>
Committed: Tue Feb 13 19:03:46 2018 +0900

----------------------------------------------------------------------
 .../main/scala/org/apache/s2graph/core/mysqls/LabelMeta.scala  | 6 ------
 1 file changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/17599ed0/s2core/src/main/scala/org/apache/s2graph/core/mysqls/LabelMeta.scala
----------------------------------------------------------------------
diff --git a/s2core/src/main/scala/org/apache/s2graph/core/mysqls/LabelMeta.scala b/s2core/src/main/scala/org/apache/s2graph/core/mysqls/LabelMeta.scala
index 5018285..c715c47 100644
--- a/s2core/src/main/scala/org/apache/s2graph/core/mysqls/LabelMeta.scala
+++ b/s2core/src/main/scala/org/apache/s2graph/core/mysqls/LabelMeta.scala
@@ -196,12 +196,6 @@ object LabelMeta extends Model[LabelMeta] {
           update label_metas set store_in_global_index = ${storeInGlobalIndex} where id = ${id}
        """.updateAndReturnGeneratedKey.apply()
   }
-
-  def updateStoreInGlobalIndex(id: Int, storeInGlobalIndex: Boolean)(implicit session: DBSession = AutoSession): Try[Long] = Try {
-    sql"""
-          update label_metas set store_in_global_index = ${storeInGlobalIndex} where id = ${id}
-       """.updateAndReturnGeneratedKey.apply()
-  }
 }
 
 case class LabelMeta(id: Option[Int],


[2/2] incubator-s2graph git commit: [S2GRAPH-176]: Fix compile error on LabelMeta

Posted by st...@apache.org.
[S2GRAPH-176]: Fix compile error on LabelMeta

JIRA:
    [S2GRAPH-176] https://issues.apache.org/jira/browse/S2GRAPH-176

Pull Request:
    Closes #132

Author
    DO YUNG YOON <st...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/commit/f1e6be2f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/tree/f1e6be2f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/diff/f1e6be2f

Branch: refs/heads/master
Commit: f1e6be2ffd738d61dc9b9b06363d5efc5b92487a
Parents: 17599ed
Author: DO YUNG YOON <st...@apache.org>
Authored: Wed Feb 14 02:08:06 2018 +0900
Committer: DO YUNG YOON <st...@apache.org>
Committed: Wed Feb 14 02:08:45 2018 +0900

----------------------------------------------------------------------
 CHANGES | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/f1e6be2f/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 0a46c3b..b6cb4ce 100644
--- a/CHANGES
+++ b/CHANGES
@@ -37,6 +37,7 @@ Release Notes - S2Graph - Version 0.2.0
 ** Bug
     * [S2GRAPH-159] - Wrong syntax at a bash script under Linux
     * [S2GRAPH-168] - Fix args order mismatch when use addServiceColumnProp
+    * [S2GRAPH-176] - Fix compile error on LabelMeta
 
 ** Improvement
     * [S2GRAPH-72] - Support Apache TinkerPop and Gremlin