You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by ashish rawat <dc...@gmail.com> on 2016/05/23 17:36:08 UTC

dynamically populating drop-downs

Hi,

I believe it has been discussed before but I could not find the relevant
thread.

Can someone please help me out with mechanism to dynamically populate
drop-down, i.e through a query on the underlying data source and not some
static values, added in the query.

Regards,
Ashish

Re: dynamically populating drop-downs

Posted by ashish rawat <dc...@gmail.com>.
Thanks Moon. Would try to implement it for elastic interpreter.

Regards,
Ashish

On Sat, May 28, 2016 at 11:32 AM, moon soo Lee <mo...@apache.org> wrote:

> Hi,
>
> ZeppelinContext is available in Spark interpreter only. But there is no
> reason to not having it in the other interpreters. [1] might give some idea
> about how ZeppelinContext can be implemented in each interpreter.
>
> Thanks,
> moon
>
>
> [1]
> https://github.com/apache/incubator-zeppelin/blob/master/spark/src/main/java/org/apache/zeppelin/spark/ZeppelinContext.java
>
>
> On Wed, May 25, 2016 at 9:26 AM Mohit Jaggi <mo...@gmail.com> wrote:
>
>> I thought that the interpreter to notebook communication using zContext
>> was for all interpreters. Does it not work for ElasticSearch?
>>
>> On May 24, 2016, at 9:41 PM, ashish rawat <dc...@gmail.com> wrote:
>>
>> If not currently possible, are there any good suggestions on how to
>> approach this for elastic search interpreter.
>>
>> Currently, we are changing Zeppelin Server and Web by creating a new
>> operations to achieve this, but that does not look like something which we
>> can contribute back. A generic (and quick) solution to this would be very
>> helpful.
>>
>> Regards,
>> Ashish
>>
>> On Wed, May 25, 2016 at 10:00 AM, ashish rawat <dc...@gmail.com>
>> wrote:
>>
>>> Thanks Mohit and Mark. I have seen this example, but it works only for
>>> Spark. How can one do this generically for all interpreters, specifically
>>> elastic search interpreter.
>>>
>>> Regards,
>>> Ashish
>>>
>>> On Mon, May 23, 2016 at 11:55 PM, Marc Warren <ma...@gmail.com>
>>> wrote:
>>>
>>>> here is a youtube video using the angular display system
>>>>
>>>> https://www.youtube.com/watch?v=QdjZyOkcG_w
>>>>
>>>> On Mon, May 23, 2016 at 12:56 PM, Mohit Jaggi <mo...@gmail.com>
>>>> wrote:
>>>>
>>>>> I believe you can do it using z.select().
>>>>> https://zeppelin.incubator.apache.org/docs/latest/manual/dynamicform.html
>>>>>
>>>>>
>>>>> On May 23, 2016, at 10:36 AM, ashish rawat <dc...@gmail.com>
>>>>> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I believe it has been discussed before but I could not find the
>>>>> relevant thread.
>>>>>
>>>>> Can someone please help me out with mechanism to dynamically populate
>>>>> drop-down, i.e through a query on the underlying data source and not some
>>>>> static values, added in the query.
>>>>>
>>>>> Regards,
>>>>> Ashish
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>

Re: dynamically populating drop-downs

Posted by moon soo Lee <mo...@apache.org>.
Hi,

ZeppelinContext is available in Spark interpreter only. But there is no
reason to not having it in the other interpreters. [1] might give some idea
about how ZeppelinContext can be implemented in each interpreter.

Thanks,
moon


[1]
https://github.com/apache/incubator-zeppelin/blob/master/spark/src/main/java/org/apache/zeppelin/spark/ZeppelinContext.java


On Wed, May 25, 2016 at 9:26 AM Mohit Jaggi <mo...@gmail.com> wrote:

> I thought that the interpreter to notebook communication using zContext
> was for all interpreters. Does it not work for ElasticSearch?
>
> On May 24, 2016, at 9:41 PM, ashish rawat <dc...@gmail.com> wrote:
>
> If not currently possible, are there any good suggestions on how to
> approach this for elastic search interpreter.
>
> Currently, we are changing Zeppelin Server and Web by creating a new
> operations to achieve this, but that does not look like something which we
> can contribute back. A generic (and quick) solution to this would be very
> helpful.
>
> Regards,
> Ashish
>
> On Wed, May 25, 2016 at 10:00 AM, ashish rawat <dc...@gmail.com>
> wrote:
>
>> Thanks Mohit and Mark. I have seen this example, but it works only for
>> Spark. How can one do this generically for all interpreters, specifically
>> elastic search interpreter.
>>
>> Regards,
>> Ashish
>>
>> On Mon, May 23, 2016 at 11:55 PM, Marc Warren <ma...@gmail.com>
>> wrote:
>>
>>> here is a youtube video using the angular display system
>>>
>>> https://www.youtube.com/watch?v=QdjZyOkcG_w
>>>
>>> On Mon, May 23, 2016 at 12:56 PM, Mohit Jaggi <mo...@gmail.com>
>>> wrote:
>>>
>>>> I believe you can do it using z.select().
>>>> https://zeppelin.incubator.apache.org/docs/latest/manual/dynamicform.html
>>>>
>>>>
>>>> On May 23, 2016, at 10:36 AM, ashish rawat <dc...@gmail.com> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I believe it has been discussed before but I could not find the
>>>> relevant thread.
>>>>
>>>> Can someone please help me out with mechanism to dynamically populate
>>>> drop-down, i.e through a query on the underlying data source and not some
>>>> static values, added in the query.
>>>>
>>>> Regards,
>>>> Ashish
>>>>
>>>>
>>>>
>>>
>>
>
>

Re: dynamically populating drop-downs

Posted by Mohit Jaggi <mo...@gmail.com>.
I thought that the interpreter to notebook communication using zContext was for all interpreters. Does it not work for ElasticSearch?

> On May 24, 2016, at 9:41 PM, ashish rawat <dc...@gmail.com> wrote:
> 
> If not currently possible, are there any good suggestions on how to approach this for elastic search interpreter. 
> 
> Currently, we are changing Zeppelin Server and Web by creating a new operations to achieve this, but that does not look like something which we can contribute back. A generic (and quick) solution to this would be very helpful.
> 
> Regards,
> Ashish
> 
> On Wed, May 25, 2016 at 10:00 AM, ashish rawat <dceashish@gmail.com <ma...@gmail.com>> wrote:
> Thanks Mohit and Mark. I have seen this example, but it works only for Spark. How can one do this generically for all interpreters, specifically elastic search interpreter.
> 
> Regards,
> Ashish
> 
> On Mon, May 23, 2016 at 11:55 PM, Marc Warren <marcswarren@gmail.com <ma...@gmail.com>> wrote:
> here is a youtube video using the angular display system
> 
> https://www.youtube.com/watch?v=QdjZyOkcG_w <https://www.youtube.com/watch?v=QdjZyOkcG_w>
> 
> On Mon, May 23, 2016 at 12:56 PM, Mohit Jaggi <mohitjaggi@gmail.com <ma...@gmail.com>> wrote:
> I believe you can do it using z.select(). https://zeppelin.incubator.apache.org/docs/latest/manual/dynamicform.html <https://zeppelin.incubator.apache.org/docs/latest/manual/dynamicform.html>
> 
> 
>> On May 23, 2016, at 10:36 AM, ashish rawat <dceashish@gmail.com <ma...@gmail.com>> wrote:
>> 
>> Hi,
>> 
>> I believe it has been discussed before but I could not find the relevant thread. 
>> 
>> Can someone please help me out with mechanism to dynamically populate drop-down, i.e through a query on the underlying data source and not some static values, added in the query.
>> 
>> Regards,
>> Ashish
> 
> 
> 
> 


Re: dynamically populating drop-downs

Posted by ashish rawat <dc...@gmail.com>.
If not currently possible, are there any good suggestions on how to
approach this for elastic search interpreter.

Currently, we are changing Zeppelin Server and Web by creating a new
operations to achieve this, but that does not look like something which we
can contribute back. A generic (and quick) solution to this would be very
helpful.

Regards,
Ashish

On Wed, May 25, 2016 at 10:00 AM, ashish rawat <dc...@gmail.com> wrote:

> Thanks Mohit and Mark. I have seen this example, but it works only for
> Spark. How can one do this generically for all interpreters, specifically
> elastic search interpreter.
>
> Regards,
> Ashish
>
> On Mon, May 23, 2016 at 11:55 PM, Marc Warren <ma...@gmail.com>
> wrote:
>
>> here is a youtube video using the angular display system
>>
>> https://www.youtube.com/watch?v=QdjZyOkcG_w
>>
>> On Mon, May 23, 2016 at 12:56 PM, Mohit Jaggi <mo...@gmail.com>
>> wrote:
>>
>>> I believe you can do it using z.select().
>>> https://zeppelin.incubator.apache.org/docs/latest/manual/dynamicform.html
>>>
>>>
>>> On May 23, 2016, at 10:36 AM, ashish rawat <dc...@gmail.com> wrote:
>>>
>>> Hi,
>>>
>>> I believe it has been discussed before but I could not find the relevant
>>> thread.
>>>
>>> Can someone please help me out with mechanism to dynamically populate
>>> drop-down, i.e through a query on the underlying data source and not some
>>> static values, added in the query.
>>>
>>> Regards,
>>> Ashish
>>>
>>>
>>>
>>
>

Re: dynamically populating drop-downs

Posted by ashish rawat <dc...@gmail.com>.
Thanks Mohit and Mark. I have seen this example, but it works only for
Spark. How can one do this generically for all interpreters, specifically
elastic search interpreter.

Regards,
Ashish

On Mon, May 23, 2016 at 11:55 PM, Marc Warren <ma...@gmail.com> wrote:

> here is a youtube video using the angular display system
>
> https://www.youtube.com/watch?v=QdjZyOkcG_w
>
> On Mon, May 23, 2016 at 12:56 PM, Mohit Jaggi <mo...@gmail.com>
> wrote:
>
>> I believe you can do it using z.select().
>> https://zeppelin.incubator.apache.org/docs/latest/manual/dynamicform.html
>>
>>
>> On May 23, 2016, at 10:36 AM, ashish rawat <dc...@gmail.com> wrote:
>>
>> Hi,
>>
>> I believe it has been discussed before but I could not find the relevant
>> thread.
>>
>> Can someone please help me out with mechanism to dynamically populate
>> drop-down, i.e through a query on the underlying data source and not some
>> static values, added in the query.
>>
>> Regards,
>> Ashish
>>
>>
>>
>

Re: dynamically populating drop-downs

Posted by Marc Warren <ma...@gmail.com>.
here is a youtube video using the angular display system

https://www.youtube.com/watch?v=QdjZyOkcG_w

On Mon, May 23, 2016 at 12:56 PM, Mohit Jaggi <mo...@gmail.com> wrote:

> I believe you can do it using z.select().
> https://zeppelin.incubator.apache.org/docs/latest/manual/dynamicform.html
>
>
> On May 23, 2016, at 10:36 AM, ashish rawat <dc...@gmail.com> wrote:
>
> Hi,
>
> I believe it has been discussed before but I could not find the relevant
> thread.
>
> Can someone please help me out with mechanism to dynamically populate
> drop-down, i.e through a query on the underlying data source and not some
> static values, added in the query.
>
> Regards,
> Ashish
>
>
>

Re: dynamically populating drop-downs

Posted by Mohit Jaggi <mo...@gmail.com>.
I believe you can do it using z.select(). https://zeppelin.incubator.apache.org/docs/latest/manual/dynamicform.html <https://zeppelin.incubator.apache.org/docs/latest/manual/dynamicform.html>


> On May 23, 2016, at 10:36 AM, ashish rawat <dc...@gmail.com> wrote:
> 
> Hi,
> 
> I believe it has been discussed before but I could not find the relevant thread. 
> 
> Can someone please help me out with mechanism to dynamically populate drop-down, i.e through a query on the underlying data source and not some static values, added in the query.
> 
> Regards,
> Ashish