- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Queries in Zeppelin
- Labels:
-
Apache Hive
-
Apache Spark
-
Apache Zeppelin
Created ‎08-02-2016 05:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This query works in Ambari Hive View and Zeppelin SQL view
SELECT sentiment, CASE WHEN LENGTH(location) > 0 THEN substring(location,0,10) ELSE 'UNK' END AS location, COUNT(*) as num from tweetsbi where country is not null and ts is not null and tweet_id is not null and sentiment is not null and location is not null and location != '' and country != '' GROUP BY sentiment, location order by num desc, sentiment
It does not work in Hive view in Zeppelin.
This is on HDP 2.4.2 Sandbox.
Created ‎08-02-2016 06:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Timothy Spann: Can you try @nmaillard's suggestion from here?
Created ‎08-02-2016 06:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Timothy Spann: Can you try @nmaillard's suggestion from here?
Created ‎08-02-2016 06:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Another work around which worked for me is havimg hive interpretur as first one called out in youe bind. good friend binu matthew found that one
Created ‎06-09-2017 08:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@timothy span did substring function really worked with sql interpreter on Zeppelin? or did you some change to the interpreter? Thank you!
,
