Re: Filter query results by current user

2016-07-28 Thread moon soo Lee
Per user interpreter is tracked by https://issues.apache.org/jira/browse/ZEPPELIN-1210 Thanks, moon On Mon, Jul 25, 2016 at 8:52 PM Panayotis Trapatsas < p.trapat...@pamediakopes.gr> wrote: > Is there a way to open a separate interpreter for each different user that > logs in the notebook? > > O

Re: Filter query results by current user

2016-07-25 Thread Panayotis Trapatsas
Is there a way to open a separate interpreter for each different user that logs in the notebook? On Mon, Jul 25, 2016 at 12:36 PM, Corneau Damien wrote: > There was a thread opened not that long ago in the mailing list with a > similar use case. > > In short, there is currently no way to have ch

Re: Filter query results by current user

2016-07-25 Thread Corneau Damien
There was a thread opened not that long ago in the mailing list with a similar use case. In short, there is currently no way to have changes made without those changes being saved. On Mon, Jul 25, 2016 at 6:25 PM, Panayotis Trapatsas < p.trapat...@pamediakopes.gr> wrote: > Thanks moon but this w

Re: Filter query results by current user

2016-07-25 Thread Panayotis Trapatsas
Thanks moon but this way all users need to have write permissions to run the report and every time a user runs the reports with his name all other instances are updated with this users data. I am trying to find a way for a user to filter his own data without affecting other users viewing the repor

Re: Filter query results by current user

2016-07-24 Thread moon soo Lee
How about something like %spark val userName = z.getInterpreterContext.getAuthenticationInfo.getUser z.show(sqlContext.sql(s"""select * from data where user="${userName}" """)) Thanks, moon On Sun, Jul 24, 2016 at 3:25 PM Panayotis Trapatsas < p.trapat...@pamediakopes.gr> wrote: > Does the angu

Re: Filter query results by current user

2016-07-23 Thread Panayotis Trapatsas
Does the angular way work even if the user has read-only permissions? Is there a way to do this without giving the user write permissions to notebook? On Sat, Jul 23, 2016 at 3:02 AM, Corneau Damien wrote: > Hi, > > Maybe Dynamic Forms ( > https://zeppelin.apache.org/docs/0.7.0-SNAPSHOT/manual/d

Re: Filter query results by current user

2016-07-22 Thread Corneau Damien
Hi, Maybe Dynamic Forms ( https://zeppelin.apache.org/docs/0.7.0-SNAPSHOT/manual/dynamicform.html) could help in this case? It allows you to add some conditioning in your queries. In this case, the user would be able to select themselves and rerun the query. If you want to do it on a whole Notebo

Filter query results by current user

2016-07-22 Thread Panayotis Trapatsas
Hi, I know I can get current user with 'z.getInterpreterContext.getAuthenticationInfo.getUser' but is there a way to filter query results by the username of the current user? E.g. there are different salesman and each one wants to log in to Zeppelin and see only his own sales. -- [image: e-Tra