[GitHub] zeppelin pull request #3071: [zeppelin-3625] Pandasql interpreter fails to q...

2018-07-19 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/zeppelin/pull/3071


---


[GitHub] zeppelin pull request #3071: [zeppelin-3625] Pandasql interpreter fails to q...

2018-07-15 Thread khalidhuseynov
GitHub user khalidhuseynov opened a pull request:

https://github.com/apache/zeppelin/pull/3071

[zeppelin-3625] Pandasql interpreter fails to query over python interpreter 
dataframe

### What is this PR for?
fix pandasql query over dataframe for `master`. the reason is that it can't 
load `bootstrap_sql.py` from resources because path of path


### What type of PR is it?
[Bug Fix]

### Todos
* [x] - fix path to use relative
* [x] - test with count()

### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-3625

### How should this be tested?
follow the steps in issue

### Screenshots (if appropriate)
before:
https://user-images.githubusercontent.com/1642088/42732816-822682f0-8862-11e8-9d55-dd7d00b09b48.png;>


after:
https://user-images.githubusercontent.com/1642088/42732771-e712f848-8861-11e8-9ab9-eeb479082d1d.png;>


### Questions:
* Does the licenses files need update?
* Is there breaking changes for older versions?
* Does this needs documentation?


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/khalidhuseynov/zeppelin 
fix-master/ZEPPELIN-3625

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/zeppelin/pull/3071.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #3071


commit 3a561d2471344571ce32f48f818a97f84e2ddaeb
Author: Khalid Huseynov 
Date:   2018-07-15T08:48:20Z

fix from absolute to relative path in resources

commit 8f9541411e9812ab1870843dd5278c2d691bcc03
Author: Khalid Huseynov 
Date:   2018-07-15T09:28:12Z

fix test setup not to interpret empty line

commit bde2316c71e8a7ffdb6cf2d41155a9eab3833feb
Author: Khalid Huseynov 
Date:   2018-07-15T09:51:23Z

add test




---