- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to pass the user input from angular UI as the dynamic input for the hive SQL query?
- Labels:
-
Apache Hive
-
Apache Zeppelin
Created on ‎10-13-2016 03:20 PM - edited ‎08-19-2019 02:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Created ‎10-13-2016 03:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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
Created ‎10-13-2016 03:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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
