Uh oh!
There was an error while loading. Please reload this page.
ZEPPELIN-374: Adding result API - #413
Conversation
| * Unlike a regular interpreter result, a JdbcInterpreter Result caches its | ||
| * output so that it can be used later and persisted independently of the regular result. | ||
| * It also has a standard return for all tabular SQL data. | ||
| * @author Rusty Phillips {@literal: <rusty@cloudspace.com>} |
There was a problem hiding this comment.
Would you be willing to remove @author tag from JavaDoc here and below please?
Although not clearly documented we, as many other ASF projects, do not use them to keep track of contributions, but use git logs and JIRA issues instead.
bzz
commented
Feb 24, 2016
@fireboy1919 thank you for contribution! The approach you take looks interesting, please help me to understand how much would that affect other existing notebook storages\interpreters implementations? As review takes some time and effort, there are few things you can do to seed things us, by simplifying life of the reviewer a lot (in order of simplicity)
|
Leemoonsoo
commented
Feb 25, 2016
Thank you @bzz for organizing the check list very well. Overall concept and approach of this PR make sense a lot. Implementation side, I'd like to generalize little bit more and align more with other components that already exists or planned in the future. I think it make sense to introduce some common data type (like RDD in Spark) for the Zeppelin, the common data type abstracts underlaying physical data. In addition to current InterpreterResult. And this common data type can be exported to ResourcePool from any interpreter. And then we can create proxy object of this common data type in Zeppelin server side, so Zeppelin server can bring data from interpreter process. This data can be provided by REST API or any other API. |
fireboy1919
commented
Feb 29, 2016
In order to minimize changes, the code that I wrote applies when the data is serialized rather than being written into the interpreters. So it's probably enough different to warrant scrapping the request, even if I would take some of the ideas from it. In lieu of making another pull request, and in light of Leemoonsoo's comments, might I suggest splitting this into the issues that he mentioned:
I can't find any tickets for any of the first three things, but I'm happy to adapt the code that I've written to cover things one at a time. The second item could potentially have more thought. Does that cover what you're thinking, @Leemoonsoo? And if so, are there any tickets or existing work being done that I am unaware of that relates to these issues, or should I write some? |
Leemoonsoo
commented
Mar 1, 2016
@fireboy1919 It sounds like a good plan. 1) and 2) are also required for ZEPPELIN-533. To do 2), current data pool needs some upgrade. it'll need capability of removing data automatically on paragraph/notebook deletion. |
Leemoonsoo
commented
Mar 1, 2016
Regarding 3), how i tried to handle it in https://cwiki.apache.org/confluence/display/ZEPPELIN/Helium+proposal, is that, depends on the result data available in ResourcePool, Zeppelin suggest different type of pluggable visualization. That's maybe too long way to get 'TabularResult' visualized, but i believe it's more extensible and generalized way. So it'll be a framework for not only 'TabularResult' data, but any other type of resource can be exposed to ResourcePool and get displayed in front-end. |
close#83close#86close#125close#133close#139close#146close#193close#203close#246close#262close#264close#273close#291close#299close#320close#347close#389close#413close#423close#543close#560close#658close#670close#728close#765close#777close#782close#783close#812close#822close#841close#843close#878close#884close#918close#989close#1076close#1135close#1187close#1231close#1304close#1316close#1361close#1385close#1390close#1414close#1422close#1425close#1447close#1458close#1466close#1485close#1492close#1495close#1497close#1536close#1545close#1561close#1577close#1600close#1603close#1678close#1695close#1739close#1748close#1765close#1767close#1776close#1783close#1799
Nondestructive addition of a unified API for handling separate result sets and an implementation of it for Hive and the Virtual File system notebook repo.