[jira] [Created] (ZEPPELIN-2080) KylinInterpreter could not parse result row which is end with null value

2017-02-08 Thread Billy Liu (JIRA)
Billy Liu created ZEPPELIN-2080:
---

 Summary: KylinInterpreter could not parse result row which is end 
with null value 
 Key: ZEPPELIN-2080
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2080
 Project: Zeppelin
  Issue Type: Bug
  Components: Interpreters
Affects Versions: 0.7.0
Reporter: Billy Liu
Assignee: Billy Liu
Priority: Minor


KylinInterpreter use regex pattern "\"results\":\\[\\[\"(.*?)\"]]" to extract 
the result, but if the last column is null, then no quotes in that field. Then 
the regex pattern will fail to match.

The KylinInterpreter should consider to support the null field case.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (ZEPPELIN-2078) Kylin interpreter could not pass the project name from command

2017-02-07 Thread Billy Liu (JIRA)
Billy Liu created ZEPPELIN-2078:
---

 Summary: Kylin interpreter could not pass the project name from 
command
 Key: ZEPPELIN-2078
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2078
 Project: Zeppelin
  Issue Type: Bug
  Components: Interpreters
Affects Versions: 0.7.0
Reporter: Billy Liu
Assignee: Billy Liu


https://github.com/apache/zeppelin/blob/master/kylin/src/main/java/org/apache/zeppelin/kylin/KylinInterpreter.java
 line 103, the getProject's input should be sql, not const string 
KYLIN_QUERY_PROJECT.

  public HttpResponse prepareRequest(String sql) throws IOException {
String kylinProject = getProject(KYLIN_QUERY_PROJECT);



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)