kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liy...@apache.org
Subject kylin git commit: KYLIN-1274 Query from JDBC is partial results by default
Date Thu, 31 Dec 2015 09:19:34 GMT
Repository: kylin
Updated Branches:
  refs/heads/2.x-staging 6f7ca59f4 -> 153e75dc8


KYLIN-1274 Query from JDBC is partial results by default

Signed-off-by: Li, Yang <yangli9@ebay.com>


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/153e75dc
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/153e75dc
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/153e75dc

Branch: refs/heads/2.x-staging
Commit: 153e75dc8f7abd96e9f201db7eaf41ca72d5a561
Parents: 6f7ca59
Author: sunyerui <sunyerui@gmail.com>
Authored: Wed Dec 30 19:11:41 2015 +0800
Committer: Li, Yang <yangli9@ebay.com>
Committed: Thu Dec 31 17:19:27 2015 +0800

----------------------------------------------------------------------
 .../main/java/org/apache/kylin/jdbc/json/QueryRequest.java  | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/153e75dc/jdbc/src/main/java/org/apache/kylin/jdbc/json/QueryRequest.java
----------------------------------------------------------------------
diff --git a/jdbc/src/main/java/org/apache/kylin/jdbc/json/QueryRequest.java b/jdbc/src/main/java/org/apache/kylin/jdbc/json/QueryRequest.java
index 4878aba..0e21e1f 100644
--- a/jdbc/src/main/java/org/apache/kylin/jdbc/json/QueryRequest.java
+++ b/jdbc/src/main/java/org/apache/kylin/jdbc/json/QueryRequest.java
@@ -21,6 +21,7 @@ package org.apache.kylin.jdbc.json;
 public class QueryRequest {
     private String sql;
     private String project;
+    private boolean acceptPartial = false;
 
     public String getSql() {
         return sql;
@@ -37,4 +38,12 @@ public class QueryRequest {
     public void setProject(String project) {
         this.project = project;
     }
+
+    public boolean isAcceptPartial() {
+        return acceptPartial;
+    }
+
+    public void setAcceptPartial(boolean acceptPartial) {
+        this.acceptPartial = acceptPartial;
+    }
 }


Mime
View raw message