Re: dynamically populating drop-downs

2016-05-28 Thread ashish rawat
Thanks Moon. Would try to implement it for elastic interpreter.

Regards,
Ashish

On Sat, May 28, 2016 at 11:32 AM, moon soo Lee  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  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  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 
>> 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 
>>> 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 
 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 
> 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

2016-05-27 Thread moon soo Lee
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  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  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 
> 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 
>> 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 
>>> 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  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

2016-05-25 Thread Mohit Jaggi
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  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  > 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  > 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  > 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 > > 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

2016-05-24 Thread ashish rawat
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  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 
> 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 
>> 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  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

2016-05-24 Thread ashish rawat
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  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 
> 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  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

2016-05-23 Thread Marc Warren
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  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  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

2016-05-23 Thread Mohit Jaggi
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  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



dynamically populating drop-downs

2016-05-23 Thread ashish rawat
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