Skip to content

Commit 7cd3ffc

Browse files
authored
[blog] Adding Phoenix tech talk on querying HBase via SQL (#1974)
1 parent 364ba38 commit 7cd3ffc

File tree

1 file changed

+78
-0
lines changed

1 file changed

+78
-0
lines changed
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
---
2+
title: Interactively Querying HBase via SQL - Tech Talk
3+
author: Hue Team
4+
type: post
5+
date: 2021-04-05T00:00:00+00:00
6+
url: /blog/2021-04-05-interactively-querying-hbase-via-sql-tech-talk
7+
sf_thumbnail_type:
8+
- none
9+
sf_thumbnail_link_type:
10+
- link_to_post
11+
sf_detail_type:
12+
- none
13+
sf_page_title:
14+
- 1
15+
sf_page_title_style:
16+
- standard
17+
sf_no_breadcrumbs:
18+
- 1
19+
sf_page_title_bg:
20+
- none
21+
sf_page_title_text_style:
22+
- light
23+
sf_background_image_size:
24+
- cover
25+
sf_social_sharing:
26+
- 1
27+
sf_related_articles:
28+
- 1
29+
sf_sidebar_config:
30+
- left-sidebar
31+
sf_left_sidebar:
32+
- Sidebar-2
33+
sf_right_sidebar:
34+
- Sidebar-1
35+
sf_caption_position:
36+
- caption-right
37+
sf_remove_promo_bar:
38+
- 1
39+
ampforwp-amp-on-off:
40+
- default
41+
categories:
42+
- Version 4.10
43+
- Phoenix
44+
45+
---
46+
Grow your user base able to leverage data stored in HBase via SQL queries with Apache Phoenix and the Hue Web SQL Editor.
47+
48+
April 1st 2021 (not a joke ;) we did a [tech talk](https://phoenix.apache.org/tech_talks.html) (nicely organized by the [Apache Phoenix](https://phoenix.apache.org/) project) on the underlying technology enabling SQL queries on [Apache HBase](https://hbase.apache.org/) tables.
49+
50+
See the slides:
51+
52+
[**Executing Phoenix queries in Hue SQL Editor**](https://drive.google.com/file/d/1-3OwisGp1D5za2ukFW7DukrQkF3AJg9O/view)
53+
54+
For people not familiar with HBase, imagine a giant big table specialized in storing and updating in real time any type of records. But how to operate it?
55+
56+
SQL queries are much shorter and easier for implementing/maintaining the logic than using lower level API (e.g. think HBase shell commands or programming in Java with the HBase objects). Embedding SQL queries into your HBase applications is very efficient: it takes only a few lines in a universal declarative language close to English for creating tables, inserting data etc…
57+
58+
The SQL Editor let’s you quickly edit and test these queries in an interactive fashion from the comfort of your browser (i.e. no need to VPN, open a shell and remember which host to point to or how to authenticate...) or memorize the instructions/”where is what” thanks to all the autocompletes, schema browsers, collab features.
59+
60+
![](https://cdn-images-1.medium.com/max/2000/1*2ADf80ARS-sZEl9PZIh1hQ.png)
61+
62+
Long story short, by adopting a [Web SQL interface](https://gethue.com/sql-querying-apache-hbase-with-apache-phoenix/) supporting the Phoenix SQL dialect you potentially grew your user base able to query data and leverage it in your domain knowledge from a handful to hundreds.
63+
64+
Towards the end of the talk, we did a live log analysis demo, which you can also run locally in 1 minute, as [published previously](https://medium.com/data-querying/phoenix-brings-sql-to-hbase-and-let-you-query-kafka-data-streams-8fd2edda1401)!
65+
66+
Note: there is also a parallel effort to make the SQL Editor available as a [Scratchpad component](https://docs.gethue.com/developer/components/scratchpad/), so that it becomes even simpler to edit embedded SQL!
67+
68+
Now go grab it and give it a spin!
69+
70+
</br>
71+
</br>
72+
73+
Any feedback or question? Feel free to comment here or on the <a href="https://discourse.gethue.com/">Forum</a> and <a href="https://docs.gethue.com/quickstart/">quick start</a> SQL querying!
74+
75+
76+
Onwards!
77+
78+
Romain from the Hue Team

0 commit comments

Comments
 (0)