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:20:50 GMT
Repository: kylin
Updated Branches:
  refs/heads/1.x-staging fe79ed9bd -> d641ed5a6


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/d641ed5a
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/d641ed5a
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/d641ed5a

Branch: refs/heads/1.x-staging
Commit: d641ed5a6a6cd6c0942737cd2d8a726cb83267ae
Parents: fe79ed9
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:20:43 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/d641ed5a/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 24f76a2..ce8feb5 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