I am trying to execute the following usage scenario on Apache Zeppelin: for example, when I write sql query
%sql SELECT * FROM table1 WHERE column1 = ${column1=1,1|2|3|4}
I get a combo box with these values (1,2,3,4) as parameters. What I want to do is populate this list with all the different values available for this column (or virtually any other set of values that I might want to take from another paragraph in the form of a variable). So I'm currently stuck on how to use some variables defined in one paragraph inside an sql statement in another paragraph?
Diving into the code, I saw that inside the Zeppelin interpreter, a file named Input.java checks the template ${someColumn=someValues} , fills in the parameters of the combo box, and then creates a simple request, and therefore I rejected the Idea to fill it by running the request in the same paragraph.
sql data-analysis paragraph apache-zeppelin
kunalc92
source share