You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@griffin.apache.org by gu...@apache.org on 2018/09/21 02:31:30 UTC

incubator-griffin git commit: Make Rule table MySQL-compatible

Repository: incubator-griffin
Updated Branches:
  refs/heads/master b6c6c9644 -> 8154346f6


Make Rule table MySQL-compatible

OUT is reserved word in MySQL, so it should be quoted in queries.

Author: Nikolay Sokolov <ch...@gmail.com>

Closes #418 from chemikadze/fix-mysql.


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

Branch: refs/heads/master
Commit: 8154346f6999952d4866b0cc4d54c60da8631a4b
Parents: b6c6c96
Author: Nikolay Sokolov <ch...@gmail.com>
Authored: Fri Sep 21 10:31:23 2018 +0800
Committer: William Guo <gu...@apache.org>
Committed: Fri Sep 21 10:31:23 2018 +0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/griffin/core/measure/entity/Rule.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-griffin/blob/8154346f/service/src/main/java/org/apache/griffin/core/measure/entity/Rule.java
----------------------------------------------------------------------
diff --git a/service/src/main/java/org/apache/griffin/core/measure/entity/Rule.java b/service/src/main/java/org/apache/griffin/core/measure/entity/Rule.java
index 5310c32..071243a 100644
--- a/service/src/main/java/org/apache/griffin/core/measure/entity/Rule.java
+++ b/service/src/main/java/org/apache/griffin/core/measure/entity/Rule.java
@@ -78,6 +78,7 @@ public class Rule extends AbstractAuditableEntity {
     private List<Map<String, Object>> outList;
 
     @JsonIgnore
+    @Column(name = "\"out\"")
     private String out;
 
     @JsonProperty("dsl.type")