Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

How to pass the user input from angular UI as the dynamic input for the hive SQL query?

avatar

How to pass the user input from angular UI as the dynamic input for the hive SQL query?

In the below example, I would like to pass pass the startDate and endDate from angular input --> as the dynamic input to WHERE condition in the hive SQL query?

8529-capture1.png

1 ACCEPTED SOLUTION

avatar
Super Collaborator

@mb As far as i know its not possible in last released version 0.6. one reason is

"Zeppelin's interpreter abstraction allows any interpreter creates something like Z context. To expose Z context to user in %jdbc interpreter, we need proper syntax for it. i.e. %spark interpreter expose Z context as scala api. %pyspark interpreter expose Z context as python api. %jdbc interpreter expose Z context as ..?"

You can have a look at one related defect - https://issues.apache.org/jira/browse/ZEPPELIN-1363

View solution in original post

1 REPLY 1

avatar
Super Collaborator

@mb As far as i know its not possible in last released version 0.6. one reason is

"Zeppelin's interpreter abstraction allows any interpreter creates something like Z context. To expose Z context to user in %jdbc interpreter, we need proper syntax for it. i.e. %spark interpreter expose Z context as scala api. %pyspark interpreter expose Z context as python api. %jdbc interpreter expose Z context as ..?"

You can have a look at one related defect - https://issues.apache.org/jira/browse/ZEPPELIN-1363