Grow your user base able to leverage data stored in HBase via SQL queries with Apache Phoenix and the Hue Web SQL Editor.
April 1st 2021 (not a joke ;) we did a tech talk (nicely organized by the Apache Phoenix project) on the underlying technology enabling SQL queries on Apache HBase tables.
See the slides:
Executing Phoenix queries in Hue SQL Editor
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?
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…
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.
Long story short, by adopting a Web SQL interface 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.
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!
Note: there is also a parallel effort to make the SQL Editor available as a Scratchpad component, so that it becomes even simpler to edit embedded SQL!
Now go grab it and give it a spin!
Any feedback or question? Feel free to comment here or on the Forum and quick start SQL querying!
Romain from the Hue Team