Skip to content

[ZEPPELIN-2078] bug fix in get project name in Kylin interpreter#1986

Closed
yiming187 wants to merge 1 commit intoapache:masterfrom
yiming187:ZEPPELIN-2078
Closed

[ZEPPELIN-2078] bug fix in get project name in Kylin interpreter#1986
yiming187 wants to merge 1 commit intoapache:masterfrom
yiming187:ZEPPELIN-2078

Conversation

@yiming187
Copy link
Copy Markdown
Contributor

What is this PR for?

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. Otherwise no project name could be retrieved. And also the SQL should exclude the project part.

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

What type of PR is it?

[Bug Fix]

Todos

  • - Task

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-2078

How should this be tested?

Has unit test.

Screenshots (if appropriate)

Questions:

  • Does the licenses files need update? No
  • Is there breaking changes for older versions? No
  • Does this needs documentation? No

@Leemoonsoo
Copy link
Copy Markdown
Member

CI failure looks not related.
LGTM and merge to master if no further discussions

@yiming187
Copy link
Copy Markdown
Contributor Author

Thanks, Moon.

@asfgit asfgit closed this in 12459bf Feb 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants